Skip to content

BUG: Correct ETS simulation and forecast error variance - #7383

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:fix-ets-pred
Mar 17, 2021
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:fix-ets-pred

Conversation

@bashtage

Copy link
Copy Markdown
Member

Fix bugs in ETS simulation and forecast error variance calculation

closes #7309

Details

Notes:

  • It is essential that you add a test when making code changes. Tests are not
    needed for doc changes.
  • When adding a new function, test values should usually be verified in another package (e.g., R/SAS/Stata).
  • When fixing a bug, you must add a test that would produce the bug in master and
    then show that it is fixed with the new code.
  • New code additions must be well formatted. Changes should pass flake8. If on Linux or OSX, you can
    verify you changes are well formatted by running
    git diff upstream/master -u -- "*.py" | flake8 --diff --isolated
    
    assuming flake8 is installed. This command is also available on Windows
    using the Windows System for Linux once flake8 is installed in the
    local Linux environment. While passing this test is not required, it is good practice and it help
    improve code quality in statsmodels.
  • Docstring additions must render correctly, including escapes and LaTeX.

Fix bugs in ETS simulation and forecast error variance calculation

closes statsmodels#7309
@bashtage
bashtage merged commit 0a3b30e into statsmodels:master Mar 17, 2021
@bashtage
bashtage deleted the fix-ets-pred branch July 15, 2021 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STLForecastResults.get_prediction() with ETSModel as model fails when "trend"="mul" in the model kwargs

1 participant