with exercises in GPower
April 22, 2024
Feedback
Help us improve this document
wilfried.cools@vub.be
at SQUARE
Ask us for help
we offer consultancy
on methodology, statistics and its communication
square.research.vub.be
If not possible in a meaningful way
use alternative justification
Avoid retrospective power analyses
→ OK for future study only
Hoenig, J., & Heisey, D. (2001). The Abuse of Power:
The Pervasive Fallacy of Power Calculations for Data Analysis. The American Statistician, 55, 19–24.
Difference detected approximately 80% of the times.
Note
?)2)4).05, so \(Z_{ \alpha /2}\) → -1.96).2, so \(Z_ \beta\) → -0.84)
\(n = \frac{(Z_{\alpha/2}+Z_\beta)^2 * 2 * \sigma^2}{ \Delta^2} = \frac{(-1.96-0.84)^2 * 2 * 4^2}{2^2} = 62.79\)
GPower
reference
reference
~ reference example input
Determine =>
0-2| / 4 = .5.05; two-tailed .81 (equally sized groups)
~ reference example output
128)qt(.975,126)Ha (true) away from Ho (null) 2/(4*sqrt(2))*sqrt(64)
Ha from Ho
effect size ((standardized) signal)sample size (information)Ho and Ha: bigger ncp less overlap
Ho → shift (location/shape)Ho evaluated on Hapush with sample sizeHa acts as \(\color{blue}{truth}\) assumed difference of e.g. .5 SD
Ha ~ t(ncp=2.828,df)Ho acts as \(\color{red}{benchmark}\): typically no difference, no relation
Ho ~ t(ncp=0,df) using \(\alpha\)
\(n = \frac{(Z_{\alpha/2}+Z_\beta)^2 * 2 * \sigma^2}{d^2}\)
Inference (test) based on cut-off’s (density → AUC=1)
Type I error: incorrectly reject Ho (false positive):
Ho, error prob. \(\alpha\) controlledType II error: incorrectly fail to reject Ho (false negative):
Ho, error prob. \(\beta\) obtained from HaHa assumed known in a power analysespower = 1 - \(\beta\) = probability correct rejection (true positive)
| infer=Ha | infer=Ho | sum | |
| truth=Ho | \(\alpha\) | 1- \(\alpha\) | 1 |
| truth=Ha | 1- \(\beta\) | \(\beta\) | 1 |
X-Y plot for range of values~ reference example