Release 5.0
Release 5.0 contains new features and backward-incompatible changes.
Unit Root
- All unit root tests are now immutable, and so properties such as
trend
cannot be set after the test is created.
Bootstrap
- Added
seed
keyword argument to all bootstraps (e.g.,IIDBootstrap
andStationaryBootstrap
) that allows a NumPynumpy.random.Generator
to be used. Theseed
keyword argument also accepts legacynumpy.random.RandomState
instances and integers. If an integer is passed, the random number generator is constructed by callingnumpy.random.default_rng
Theseed
keyword argument replaces therandom_state
keyword argument. - The
IIDBootstrap.random_state
property has also been deprecated in favor ofIIDBootstrap.generator
. - The
IIDBootstrap.get_state
andIIDBootstrap.set_state
methods have been replaced by theIIDBootstrap.state
property.
Volatility Modeling
- Added
seed
keyword argument to all distributions (e.g.,Normal
andStudentsT
) that allows a NumPynumpy.random.Generator
to be used. Theseed
keyword argument also accepts legacynumpy.random.RandomState
instances and integers. If an integer is passed, the random number generator is constructed by callingnumpy.random.default_rng
Theseed
keyword argument replaces therandom_state
keyword argument. - The
Normal.random_state
property has also been deprecated in favor ofNormal.generator
. - Added
ARCHInMean
mean process supporting (G)ARCH-in-mean models. - Extended
VolatilityProcess
withVolatilityProcess.volatility_updater
that contains aVolatilityUpdater
to allowARCHInMean
to be created from different
volatility processes.