Version 5¶
Changes Since 5.5¶
Removed dependence on property-cached
Bumped minimum NumPy, SciPy, pandas, statsmodels and Cython
Added compatability with Cython 3
Release 5.5¶
NumPy 1.25 fixes
Initial pandas copy-on-write support
Switched doc theme to sphinx-immaterial
Small fixes for typing issues
Release 5.4¶
Compatability release with pandas 2.0
Add testing and wheel support for Python 3.11
Release 5.3¶
Fixed a bug in
arch_model()wherepowerwas not passed to theFIGARCHconstructor (GH572).Fixed a bug that affected downstream projects due to an overly specific assert (GH569).
Release 5.2¶
Fixed a bug in in
std_resid()that would raise an exception when the data used to construct the model with a NumPy array (GH565).Fixed a bug in
forecast()and relatedforecastmethods when producing multi-step forecasts usign simulation with exogenous variables (GH551).
Release 5.1¶
Unit Root¶
Improved automatic lag length selection in
DFGLSby using OLS rather than GLS detrended data when selecting the lag length. This problem was studied by Perron, P., & Qu, Z. (2007).
Release 5.0¶
Unit Root¶
All unit root tests are now immutable, and so properties such as
trendcannot be set after the test is created.
Bootstrap¶
Added
seedkeyword argument to all bootstraps (e.g.,IIDBootstrapandStationaryBootstrap) that allows a NumPynumpy.random.Generatorto be used. Theseedkeyword argument also accepts legacynumpy.random.RandomStateinstances and integers. If an integer is passed, the random number generator is constructed by callingnumpy.random.default_rng()Theseedkeyword argument replaces therandom_statekeyword argument.The
random_state()property has also been deprecated in favor ofgenerator().The
get_state()andset_state()methods have been replaced by thestate()property.
Volatility Modeling¶
Added
seedkeyword argument to all distributions (e.g.,NormalandStudentsT) that allows a NumPynumpy.random.Generatorto be used. Theseedkeyword argument also accepts legacynumpy.random.RandomStateinstances and integers. If an integer is passed, the random number generator is constructed by callingnumpy.random.default_rng()Theseedkeyword argument replaces therandom_statekeyword argument.The
Normal.random_stateproperty has also been deprecated in favor ofgenerator().Added
ARCHInMeanmean process supporting (G)ARCH-in-mean models.Extended
VolatilityProcesswithvolatility_updater()that contains aVolatilityUpdaterto allowARCHInMeanto be created from different volatility processes.
Setup¶
Added support for using an environmental variable to disable C-extension compilation.
Linux and OSX:
export ARCH_NO_BINARY=1PowerShell:
$env:ARCH_NO_BINARY=1cmd:
set ARCH_NO_BINARY=1