Skip to content

Wald anova - #2132

Merged
josef-pkt merged 10 commits into
statsmodels:masterfrom
josef-pkt:wald_anova
Feb 8, 2015
Merged

josef-pkt merged 10 commits into
statsmodels:masterfrom
josef-pkt:wald_anova

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

wald test for terms that go over several columns

basic version tested for OLS, GLM and Poisson, use_t=False only
It's not an ANOVA table, we ignore sum of squares or equivalent.

not clear: name of method, currently is wald_anova, alternative wald_test_terms ??? DONE
I settled on wald_test_terms as the more explicit term.

missing

  • unit tests for use_t=True, i.e. F instead of chi2
  • handling of extra parameters, as in NegativeBinomial (not checked yet)
  • improvements to test results class
  • unit tests for cases when no formula is available
  • ignored for now: Multinomial where several things don't work

extension

  • multi-equation models as in BetaRegression, and others to come

open

should we add wald_null ?
hypothesis: all slope coefficients are zero, only constant is non-zero


Design for results class

still a bit messy, creates table DataFrame similar to lm_anova from where the design was initially taken.
partially adjusted the results class to have standard attributes: statistic, pvalues, df_xxx, distribution (name)
needs a follow-up when we have settled on the design for these methods

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 6a1f82c on josef-pkt:wald_anova into * on statsmodels:master*.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling e5d5d6c on josef-pkt:wald_anova into * on statsmodels:master*.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling d52e179 on josef-pkt:wald_anova into * on statsmodels:master*.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 1584f3a on josef-pkt:wald_anova into * on statsmodels:master*.

@josef-pkt josef-pkt mentioned this pull request Jan 8, 2015
29 tasks
@josef-pkt

Copy link
Copy Markdown
Member Author

looks ready except for test results class.
Since it defines the public access to the results, it should be cleaned up.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 185c534 on josef-pkt:wald_anova into * on statsmodels:master*.

@josef-pkt

Copy link
Copy Markdown
Member Author

I'm stopping here, results class is roughly ok, needs a SimpleTable summary

rebased
merging when green

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.03%) to 83.24% when pulling d739fdf on josef-pkt:wald_anova into d75f34a on statsmodels:master.

josef-pkt added a commit that referenced this pull request Feb 8, 2015
@josef-pkt
josef-pkt merged commit 9ff019f into statsmodels:master Feb 8, 2015
@josef-pkt
josef-pkt deleted the wald_anova branch April 10, 2015 15:27
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.

2 participants