https://github.com/bashtage/arch
Raw File
Tip revision: 72acfb6548dddb31af10584dff3028d803bb2e68 authored by Kevin Sheppard on 05 February 2021, 12:27:18 UTC
Merge pull request #446 from bashtage/final-fix
Tip revision: 72acfb6
__init__.py
"""
Tools for implementing statistical bootstraps
"""
from arch.bootstrap import _samplers_python
from arch.bootstrap.base import (
    CircularBlockBootstrap,
    IIDBootstrap,
    IndependentSamplesBootstrap,
    MovingBlockBootstrap,
    StationaryBootstrap,
    optimal_block_length,
)
from arch.bootstrap.multiple_comparison import MCS, SPA, RealityCheck, StepM

COMPILED_SAMPLERS = True
try:
    from arch.bootstrap import _samplers
except ImportError:
    COMPILED_SAMPLERS = False


__all__ = [
    "IIDBootstrap",
    "CircularBlockBootstrap",
    "MovingBlockBootstrap",
    "StationaryBootstrap",
    "IndependentSamplesBootstrap",
    "SPA",
    "RealityCheck",
    "StepM",
    "MCS",
    "_samplers_python",
    "optimal_block_length",
]

if COMPILED_SAMPLERS:
    __all__ += ["_samplers"]
back to top