Professional Documents
Culture Documents
Manual calculations
1
Sunday 9 July 2023 05:43 AM
When Do You Need Statistical Power
Calculations, And Why?
2
When Do You Need Statistical Power
Calculations, And Why?
3
When Do You Need Statistical Power
Calculations, And Why?
5
What Is Statistical Power?
Essential concepts
Recall that a null hypothesis (Ho) states that the
findings of the experiment are no different to
those that would have been expected to occur
by chance. Statistical hypothesis testing
involves calculating the probability of achieving
the observed results if the null hypothesis were
true. If this probability is low (conventionally p <
0.05), the null hypothesis is rejected and the
findings are said to be “statistically significant”
(unlikely) at that accepted level.
6
Statistical Hypothesis Testing
7
Statistical Hypothesis Testing
8
Statistical Hypothesis Testing
Ho is really Ho is really false
Decision true i.e., there i.e., there really
is really no is an effect to
effect to find be found
correct
Retain Ho decision: Type II error:
prob = β
prob = 1 - α
10
When Ho is False And You Fail To
Reject It, You Make A Type II Error
• When, in the population, there really is an
effect, but your statistical test comes out
non-significant, due to inadequate power
and/or bad luck with sampling error, you
make a Type II error.
13
How Do We Measure Effect Size?
• Cohen's d
• Defined as the difference between
the means for the two groups, divided
by an estimate of the standard
deviation in the population.
• Often we use the average of the
standard deviations of the samples as
a rough guide for the latter.
14
Cohen's Rules Of Thumb For Effect Size
Correlation Difference
Effect size coefficient between means
d = 0.2 standard
“Small effect” r = 0.1 deviations
d = 0.5 standard
“Medium
r = 0.3 deviations
effect”
d = 0.8 standard
“Large
r = 0.5 deviations
effect” 15
Calculating Cohen’s d
N
otatio
n
d C
ohen’sdeffectsize
x x
d 1 2 x M
ean
sPooled
s S
tand
ardd
eviatio
n
S
ubscrip
treferstothetw
oco
nditio
nsb
eingco
m p
ared
17
Calculating Cohen’s d from a t test
18
Conventions And Decisions About
Statistical Power
• Acceptable risk of a Type II error is often set at 1
in 5, i.e., a probability of 0.2 (β).
• The conventionally uncontroversial value for
“adequate” statistical power is therefore set at 1 -
0.2 = 0.8.
• People often regard the minimum acceptable
statistical power for a proposed study as being an
80% chance of an effect that really exists showing
up as a significant finding.
Understanding Statistical Power and Significance Testing — an Interactive Visualization
19
6 Steps to determine to determine an
appropriate sample size for my study?
1. Formulate the study. Here you detail your
study design, choose the outcome summary,
and you specify the analysis method.
22
6 Steps to determine to determine an
appropriate sample size for my study?
6. Choose an appropriate power or sample size, and
document this in your study design protocol.
23
A Couple Of Useful Links
25
Statistical Power Analysis In Minitab
Minitab is available via RAS
Stat > Power and Sample Size >
26
Statistical Power Analysis In Minitab
The alternative
normally involves
solving some very
complex equations.
28
Factors That Influence Power
• Sample Size
• alpha
• the standard deviation
29
Using Minitab To Calculate Power
And Minimum Sample Size
• Suppose we have two samples, each
with n = 13, and we propose to use the
0.05 significance level
• Difference between means is 0.8
standard deviations (i.e., Cohen's
d = 0.8), so a t test
• All key strokes in printed notes
30
Using Minitab To Calculate Power
And Minimum Sample Size
Note that all
parameters, bar
one are required.
This will be
estimated.
31
Using Minitab To Calculate Power
And Minimum Sample Size
• Power and Sample Size
• 2-Sample t Test
Power will be
• Sample 0.4992
• Difference Size Power
• 0.8 13 0.499157
32
Using Minitab To Calculate Power
And Minimum Sample Size
If, in the population, there really is a
difference of 0.8 between the
members of the two categories that
would be sampled in the two groups,
then using sample sizes of 13 each will
have a 49.92% chance of getting a
result that will be significant at the
0.05 level.
33
Using Minitab To Calculate Power
And Minimum Sample Size
• Suppose the difference between the
means is 0.8 standard deviations (i.e.,
Cohen's d = 0.8)
• Suppose that we require a power of
0.8 (the conventional value)
• Suppose we intend doing a one-tailed
t test, with significance level 0.05.
• All key strokes in printed notes
34
Using Minitab To Calculate Power
And Minimum Sample Size
36
Using Minitab To Calculate Power
And Minimum Sample Size
• Power and Sample Size
• Sample Target
• Difference Size Power Actual Power
• 0.8 21 0.8 0.816788
37
Using Minitab To Calculate Power
And Minimum Sample Size
• Power and Sample Size
• Sample Target
• Difference Size Power Actual Power
• 0.8 21 0.8 0.816788
38
Using Minitab To Calculate Power
And Minimum Sample Size
• Power and Sample Size
• Sample Target
• Difference Size Power Actual Power
• 0.8 21 0.8 0.816788
39
Using Minitab To Calculate Power
And Minimum Sample Size
41
Using Minitab To Calculate Power
And Minimum Sample Size