Skip to content

BUG: LikelihoodModelResults.pvalues use df_resid_inference - #1914

Merged
josef-pkt merged 1 commit into
statsmodels:masterfrom
josef-pkt:bug_pvalues_use_t_1903
Aug 20, 2014
Merged

josef-pkt merged 1 commit into
statsmodels:masterfrom
josef-pkt:bug_pvalues_use_t_1903

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

closes #1903

pvalues didn't use df_resid_inference which is used to separate it from df_resid in cluster robust standard errors.

adds one unit test for pvalues and conf_int

comment to unit tests
all sandwich unit tests should test the full results, which they don't do for the new fit options
tests needs streamlining. I'm not even sure how much each of the versions of choosing covariances and use_t are tested.
some asserts might be duplicated, see CheckOLSRobustNewMixin

@josef-pkt

Copy link
Copy Markdown
Member Author

can be merged when TravisCI is green

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.0%) when pulling ea8777b on josef-pkt:bug_pvalues_use_t_1903 into 93efca1 on statsmodels:master.

@josef-pkt josef-pkt changed the title BUG: LikelihoodModelResults.conf_int use df_resid_inference BUG: LikelihoodModelResults.pvalues use df_resid_inference Aug 20, 2014
josef-pkt added a commit that referenced this pull request Aug 20, 2014
BUG: LikelihoodModelResults.pvalues use df_resid_inference
@josef-pkt
josef-pkt merged commit 2a39a33 into statsmodels:master Aug 20, 2014
@josef-pkt

Copy link
Copy Markdown
Member Author

I forgot to rewrite the commit message.

This fixes pvalues and not conf_int

@josef-pkt
josef-pkt deleted the bug_pvalues_use_t_1903 branch August 20, 2014 11:52
@josef-pkt josef-pkt added this to the 0.6 milestone Aug 24, 2014
@josef-pkt josef-pkt added comp-base and removed PR labels Aug 24, 2014
PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this pull request Sep 2, 2014
…1903

BUG: LikelihoodModelResults.pvalues use df_resid_inference
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: pvalues for cluster robust, with use_t don't use df_resid_inference

2 participants