Skip to content

BUG: fix df in summary for single constraint in wald_test_terms - #5684

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
josef-pkt:bug_wald_test_terms_df_5475
May 16, 2019
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
josef-pkt:bug_wald_test_terms_df_5475

Conversation

@josef-pkt

@josef-pkt josef-pkt commented May 10, 2019 •

Copy link
Copy Markdown
Member

adds atleast_2d for single hypothesis, see #5475
adjust one unit test to also verify the single hypothesis

@josef-pkt josef-pkt added this to the 0.10 milestone May 10, 2019
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.04%) to 84.746% when pulling 02b9eaa on josef-pkt:bug_wald_test_terms_df_5475 into 8ec8124 on statsmodels:master.

@coveralls

coveralls commented May 10, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.0005%) to 84.699% when pulling b9c27d9 on josef-pkt:bug_wald_test_terms_df_5475 into 7c685bf on statsmodels:master.

@bashtage

Copy link
Copy Markdown
Member

Test?

@codecov

codecov Bot commented May 10, 2019 •

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5684      +/-   ##
==========================================
+ Coverage   82.17%   82.18%   +<.01%     
==========================================
  Files         593      593              
  Lines       93671    93674       +3     
  Branches    10354    10355       +1     
==========================================
+ Hits        76978    76983       +5     
+ Misses      14296    14295       -1     
+ Partials     2397     2396       -1
Impacted Files Coverage Δ
statsmodels/base/model.py 86.24% <100%> (+0.29%) ⬆️
statsmodels/base/tests/test_generic_methods.py 98.62% <100%> (ø) ⬆️

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 7c685bf...b9c27d9. Read the comment docs.

@bashtage

Copy link
Copy Markdown
Member

Nevermind. But maybe a GH XXXX tag near the test to let anyone know that this tests for that issue?

@josef-pkt

Copy link
Copy Markdown
Member Author

I thought about adding issue number but now the test is just testing all constraints and is not specific to the bug.
However, I will amend the commit and add an explicit assert for the df_constraint with issue number

@josef-pkt
josef-pkt force-pushed the bug_wald_test_terms_df_5475 branch from 02b9eaa to b9c27d9 Compare May 10, 2019 19:39
@josef-pkt

Copy link
Copy Markdown
Member Author

amended and force pushed
should be ready to merge when green

@jbrockmendel

Copy link
Copy Markdown
Contributor

Green (though I’m +1 on the idea of adding a GH#XXXX comment adjacent to the test)

@bashtage
bashtage merged commit 7dff8c3 into statsmodels:master May 16, 2019
@josef-pkt
josef-pkt deleted the bug_wald_test_terms_df_5475 branch February 21, 2021 14:00
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.

BUG: df in wald_test_terms for single column items

4 participants