Skip to content

Commit

Permalink
DOC: Clean notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage committed Nov 4, 2024
1 parent b2088e8 commit 75d0cc5
Show file tree
Hide file tree
Showing 11 changed files with 338 additions and 3,518 deletions.
4 changes: 2 additions & 2 deletions arch/tests/univariate/test_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ def test_forecast_start():
x = pd.DataFrame(rg.standard_normal((10, 1)), columns=["x"])
mod = ARX(y, x=x, lags=3)
res = mod.fit(first_obs=0, last_obs=98)
fcast = res.forecast(start=2, x=x)
fcast2 = res.forecast(start=2, method="simulation", simulations=1, x=x)
fcast = res.forecast(start=2, x=x.shift(-1))
fcast2 = res.forecast(start=2, method="simulation", simulations=1, x=x.shift(-1))
assert_allclose(fcast.mean, fcast2.mean)

c, p1, p2, p3, b, _ = res.params
Expand Down
302 changes: 53 additions & 249 deletions examples/bootstrap_examples.ipynb

Large diffs are not rendered by default.

183 changes: 23 additions & 160 deletions examples/multiple-comparison_examples.ipynb

Large diffs are not rendered by default.

505 changes: 33 additions & 472 deletions examples/unitroot_cointegration_examples.ipynb

Large diffs are not rendered by default.

479 changes: 61 additions & 418 deletions examples/unitroot_examples.ipynb

Large diffs are not rendered by default.

764 changes: 42 additions & 722 deletions examples/univariate_forecasting_with_exogenous_variables.ipynb

Large diffs are not rendered by default.

230 changes: 16 additions & 214 deletions examples/univariate_using_fixed_variance.ipynb

Large diffs are not rendered by default.

312 changes: 47 additions & 265 deletions examples/univariate_volatility_forecasting.ipynb

Large diffs are not rendered by default.

861 changes: 39 additions & 822 deletions examples/univariate_volatility_modeling.ipynb

Large diffs are not rendered by default.

214 changes: 21 additions & 193 deletions examples/univariate_volatility_scenarios.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jupyter
notebook
nbconvert
sphinx-autodoc-typehints

pickleshare

0 comments on commit 75d0cc5

Please sign in to comment.