forked from statsmodels/statsmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
SMEP: Power for Statistical Tests
josef-pkt edited this page Mar 20, 2013
·
2 revisions
Status: partially implemented (part of PR #711)
auxiliary code: Effect Sizes
- power and sample size calculation :
- having the power equation, we can solve for any of the variables.
- "non-central tests": equivalence tests, not clear, ?
- example: chisquare gof test, to test that the distance between distribution is larger than a threshold
For more complex models it is difficult to specify the parameters, effect sizes and assumptions.
- explicit:
- Under normal assumption we have explicit formulas for some tests, like t-tests
- Monte Carlo:
- The range of alternatives can be huge. What supporting code can we provide to make it easier?
requirements :
- easy to expand: I don't expect we will add a lot in one big push
- usage for standalone: e.g. for sample size calculations
- attached to test classes/functions: to get the power of a test case
(stubs)
- t-test:
- easy
- f-test:
- easy
- TOST:
- requires a "special" integral, see SAS documentation
- chisquare (gof)
- ???
- SAS Manual
- R
pwr
: used as benchmark for tests- GPower