Skip to content

POWER

Power and sample-size analysis for t tests, one-way ANOVA, correlation, proportions and multiple regression. Needs no data.

POWER TTEST1|TTESTPAIRED|TTESTIND|ANOVA|CORRELATION|PROPORTION1|PROPORTIONS2|REGRESSION
[/ES=effect] [/N=n [n …]] [/POWER=.8] [/ALPHA=.05] [/TAILS=2] [/GROUPS=k] [/PREDICTORS=u] [/P=p1 [p2]] [/TESTVAL=p0] [/RATIO=r] [/PLOT].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /ALPHA, /ES, /GROUPS, /N, /P, /PLOT, /POWER, /PREDICTORS, /RATIO, /TAILS, /TESTVAL
  • ES: Cohen’s d (t tests), f (ANOVA), ρ (correlation), h (proportions) or f² (regression)
  • N: per group for TTESTIND and PROPORTIONS2, pairs for TTESTPAIRED, otherwise the total; several values give a power table
POWER TTESTIND /ES=0.5 /POWER=0.8.
POWER ANOVA /ES=0.25 /GROUPS=3 /POWER=0.8.
POWER PROPORTIONS2 /P=0.30 0.45 /N=100 150 200.
POWER REGRESSION /ES=0.15 /PREDICTORS=5 /N=50 /PLOT.
  • Give two of /ES, /N and /POWER; the third is solved for.

T-TEST, ONEWAY, CORRELATIONS


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.