Skip to content

BUG: Correct VAR summary when model contains exog variables - #6286

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:var-summary
Nov 27, 2019
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:var-summary

Conversation

@bashtage

Copy link
Copy Markdown
Member

Ensure that dimension is correct when model contains exogenous variables

closes #6203

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.

@coveralls

coveralls commented Nov 27, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.003%) to 86.986% when pulling 7473eee on bashtage:var-summary into e94afc8 on statsmodels:master.

@codecov

codecov Bot commented Nov 27, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #6286 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6286      +/-   ##
==========================================
+ Coverage   84.57%   84.57%   +<.01%     
==========================================
  Files         643      643              
  Lines      101198   101218      +20     
  Branches    11105    11106       +1     
==========================================
+ Hits        85585    85605      +20     
  Misses      13162    13162              
  Partials     2451     2451
Impacted Files Coverage Δ
statsmodels/tsa/vector_ar/var_model.py 88.7% <ø> (ø) ⬆️
statsmodels/tsa/vector_ar/output.py 84.31% <100%> (ø) ⬆️
statsmodels/tsa/vector_ar/tests/test_var.py 94.88% <100%> (+0.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e94afc8...7473eee. Read the comment docs.

Ensure that dimension is correct when model contains exogenous variables

closes statsmodels#6203
@bashtage
bashtage merged commit 0d7c434 into statsmodels:master Nov 27, 2019
@bashtage
bashtage deleted the var-summary branch November 27, 2019 21:35
@bashtage bashtage added this to the 0.11 milestone Dec 18, 2019
@bashtage bashtage changed the title BUG: Correct VAR sumary when model contains exog variables BUG: Correct VAR summary when model contains exog variables Dec 18, 2019
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.

VARResults.summary doesn't show all Variables

2 participants