A null distribution with red critical tails, followed by a shifted alternative distribution with power shaded violet beyond the same critical values.
In this chapter we’ll develop our understanding of hypothesis testing by exploring some related concepts: effect size, inferential errors, and statistical power. These are nuanced ideas, and statistical power in particular can be difficult to get your head around both conceptually and computationally. But they are key to fully understanding the strengths and limitations of hypothesis testing, so we’ll take our time with them here before moving on to other ideas and tests.
NHST logic recap
First, let’s recap the ideas we covered in the previous chapter as a way of refining our thinking and preparing for the new aspects we’ll examine. We’ll do so in a different way than before, not by looking at a single dataset or one boring old curve. Instead we’ll use something more dynamic, more delightful, more fuzzy and yellow.
ActivityNHST in action: a swarm of bees
Animated swarm of 15 bees illustrating sampling error, a hidden population mean, the null model, and false alarms. The true hive then shifts while the null and its critical regions stay fixed, illustrating correct detections and misses.
The last step gives us an outline for the rest of this chapter. The distance between the null and the actual hive—the difference between the null and true population means—is an effect size. We’ll first look at how to describe that difference relative to population variability, then examine the decisions and mistakes we can make, and finally arrive at the idea of statistical power, the probability that we’ll detect a real effect of a given size.
Effect Size
A “statistically significant” result, like the one we found for the sample of three Spider-People in the previous chapter, tells us that the observed test statistic is sufficiently improbable under the null model to meet our chosen criterion. It’s a binary decision, reject or fail to reject the null; \(p < \alpha\) or \(p \ge \alpha\). It doesn’t tell us how big the difference is. In everyday language, “significant” often means important, big, meaningful, but not in hypothesis testing. In this context, it only means we’ve met a statistical decision rule, nothing more or less.
The size of the difference is part of the \(z\) equation from Chapter 8:
\[ z = \frac{M - \mu_0}{\sigma_M} \]
Here, \(M\) is the sample mean, and \(\mu_0\) is the mean specified by the null hypothesis, so the difference between them is right there in the numerator. But that gets divided by the standard error, \(\sigma_M\). You’ll remember from the previous chapter that standard error is calculated by dividing the population standard deviation by a function of sample size, \(\sigma_M = \frac{\sigma}{\sqrt{n}}\). For a given difference and population variability, increasing \(n\) reduces the standard error and makes its \(z\) more extreme. Even a tiny difference can therefore be statistically significant with a large enough sample. Conversely, a substantial difference can be nonsignificant with a small sample.
So the significance of the test is only part of the story. Measures of effect size describe the magnitude of a difference or relationship. For our one-sample test, we could report the raw difference, \(M - \mu_0\), in the original units. The bigger the difference, the larger the effect. But it’s often nice to have a standardized measure that allows us to compare effects across different studies and contexts.
Cohen’s \(d\)
One such standardized measure is Cohen’s \(d\). (Cohen didn’t say so himself, but let’s all agree that the \(d\) stands for “difference.”) For our \(z\)-test, where the population standard deviation is known, we calculate Cohen’s \(d\) as:
\[ d = \frac{M - \mu_0}{\sigma} \tag{9.1}\]
Notice how close that is to the sample \(z\)-score equation, \(z = \frac{M - \mu_0}{\sigma_M}\). The numerator is exactly the same, but the denominator is the plain population standard deviation, \(\sigma\), rather than the standard error. A value of \(d = 0.5\) means the sample mean is half a population standard deviation above the null mean; \(d = -0.5\) means it is half a standard deviation below. The sign tells us the direction, while the absolute value tells us the magnitude.
Unlike \(z\), this calculation does not increase automatically with sample size: the same \(M\), \(\mu_0\), and \(\sigma\) give the same \(d\) regardless of \(n\). So in this sense, the effect size is independent of sample size. (But \(d\) calculated from a sample is still an estimate, and larger samples generally give more precise estimates of the population effect.)
Effect size and statistical significance
Let’s demonstrate the difference with a hypothetical study. Suppose we’re educational psychologists trying to develop an intervention to boost students’ SAT performance. And suppose we think we’ve hit upon an effective treatment: giving the test taker a banana just before taking the test. Maybe the potassium helps with cognitive function or something like that, who knows. Let’s say the relevant population without the treatment has a mean of \(\mu = 500\) and a known standard deviation of \(\sigma = 100\), making a \(z\)-test appropriate. (And that we’re sampling independently and the sampling distribution is normal.)
We choose a two-tailed test with \(\alpha = .05\) before collecting data, giving critical values of \(z \approx \pm 1.96\). After the banana treatment, we observe a sample mean of \(M = 501\), one point above the null mean, \(\mu_0 = 500\).
First, suppose the sample contains 50,000 students.
In this case, the result is nonsignificant. The smaller sample produces a larger standard error and therefore a less extreme \(z\). But both samples gave the same estimated effect: a difference of one point, or one hundredth of a standard deviation.
Assuming there really is a benefit to eating a banana before this test, one study was able to detect it and reject the null while the other failed to detect it (a kind of inferential error we’ll describe more precisely a little later in the chapter). The sample size helped with statistical significance. But would supplying every student with a banana be a good use of resources? Significance alone can’t answer that. A cheap intervention with a small benefit might be worthwhile; a costly one with the same benefit might not be. Effect size can help to inform that judgment.
Calculate and interpret Cohen’s \(d\)
0 of 2
1
A sample of 25 participants has a mean score of 44. The null mean is
50, and the known population standard deviation is 10. Calculate Cohen’s
\(d\).
Hint
Divide the difference between the sample mean and the null mean by
the population standard deviation, rather than the standard error.
Answer
-0.6
Explanation
\(d = (44 - 50)/10 = -.6\). The
sample size doesn’t enter this calculation. If we divided by the
standard error, \(10/\sqrt{25} = 2\),
we would get the test statistic, \(z =
-3\), rather than Cohen’s \(d\).
2
What do the sign and magnitude of your Cohen’s \(d\) tell us about the sample mean compared
with the null mean?
Example answer
The sample mean is .6 population standard deviations below the null
mean. The negative sign tells us the direction; the magnitude tells us
how far apart the means are in SD units. Whether the difference matters
in practice depends on what these scores measure and the consequences of
a six-point difference.
Quiz 9.1
Interpreting Effect Size
This raises the question, what should we consider a meaningful effect size? Cohen outlined some rough rules of thumb: \(d = 0.2\) could be considered a small effect, \(d = 0.5\) medium, and \(d = 0.8\) large. However, he strongly cautioned against over-reliance on these guidelines. “The terms ‘small,’ ‘medium,’ and ‘large’ are relative, not only to each other, but to the area of behavioral science or even more particularly to the specific content and research method being employed in any given investigation,” Cohen wrote. “In the face of this relativity, there is a certain risk inherent in offering conventional operational definitions for these terms for use in power analysis in as diverse a field of inquiry as behavioral science” (Cohen, 1988). Cohen apparently regretted having taken that risk, because the rough guidelines came to be applied without much thought (Funder & Ozer, 2019).
Interpreting effect size requires consideration of context. Psychologists Funder & Ozer (2019) stress that even very small effects can matter when they accumulate over time or affect many people. They also caution that unusually large estimates in psychological research should be scrutinized; not that very large effects cannot be real, but they are uncommon within psychological research.
Effect sizes in context
What do differences of these sizes look like in practice? Simmons (2014) reported the following effect-size estimates from an MTurk survey.2 (These compare two groups rather than a sample with a fixed null mean, but \(d\) still expresses the difference between means in standard deviation units.) Activity 9.1 visualizes these differences using smoothed curves based on the raw data.
Table 9.1: Effect-size estimates for five group comparisons in an MTurk survey, reported by Simmons (2014).
Groups compared
Outcome
Magnitude of \(d\)
Men / women
Height
1.83
Liberal / conservative
Importance of social equality
0.69
Like eggs / dislike eggs
Frequency of eating egg salad
0.58
Smoker / nonsmoker
Estimated risk of smoking-related death
0.33
Prefer science / prefer art
Number of planets named correctly
0.05
Activity 9.1: Visualizing Cohen’s \(d\)
Smoothed distributions of each pair of groups' survey responses, with each group's mean marked. A bracket labels the difference between means in standard deviation units, and a z scale runs beneath the original scale. The final step shows two idealized normal curves with a slider.
Errors in Hypothesis Testing
Null hypothesis significance testing is an inferential process, by which I mean we’re using limited information from a sample to make a general conclusion about a population. At the end of it, there are only two decisions we can make: either we reject or fail to reject the null hypothesis. But there are two potential states of reality: either the null hypothesis is true or it is false. So there are four possible situations in total, shown in Table 9.2. Two are correct decisions; the other two are errors.
Table 9.2: Decisions and their probabilities when the null is true or a specified alternative is true.
Actual situation
\(H_0\) true
\(H_0\) false
Researcher’s Decision
Reject \(H_0\)
Type I error \(\alpha\)
Correct \(1-\beta\)
Fail to reject \(H_0\)
Correct \(1-\alpha\)
Type II error \(\beta\)
Attaching some terms to these possibilities will help us think more precisely about them, and eventually quantify the likelihood of different outcomes.
Type I Error (False Positive)
Starting with the top-left cell: the null hypothesis, \(H_0\), is true in reality, but our test leads us to reject it. This is a Type I error, or false positive: thinking that there is an effect when actually there isn’t.
The probability of making a Type I error is \(\alpha\), provided the null hypothesis and the assumptions of our test are correct. With \(\alpha = .05\), about five percent of repeated samples would land in the critical regions, producing false positives.
Maybe this sounds bad. Why tolerate a 5% chance of a false positive? Well, given the inferential nature of hypothesis testing, we have to tolerate some risk. Too little tolerance and we would never be able to produce satisfying evidence of real effects; too much tolerance and we would be prone to false positives. There’s no law of nature that dictates the appropriate level of risk. As we mentioned in the previous chapter, \(\alpha = .05\) became a common convention among social scientists. But the appropriate balance between false alarms and missed effects depends on their consequences.
In the bottom-left cell, the null is still true, but this time we fail to reject it. We have made the correct decision: our data did not give us enough evidence to reject a true null. That doesn’t mean a nonsignificant result establishes that there is no effect; the same decision could occur when the null is false.
The probability of making the correct decision when the null is true is \(1 - \alpha\). Given a true null, either we reject it or we don’t. Those two options cover all the bases, so their probabilities must sum to 1.
Type II Error (False Negative)
Moving over to the right-hand column of Table 9.2, \(H_0\) is false in reality. So now the possibilities are correctly rejecting or mistakenly failing to reject that false null. The latter is a Type II error, or false negative: failing to detect an effect that really exists.
The probability of making a Type II error is referred to as \(\beta\). Given the names, you might be tempted to think that \(\beta\) is just the flip side of \(\alpha\), but it’s not. Each column describes a different assumed state of reality. The left-hand probabilities apply when the null is true; the right-hand probabilities apply when a particular alternative is true. Within either column, the two outcomes exhaust the possibilities, so their probabilities sum to 1. But \(\alpha\) and \(\beta\) are not complements of each other. (Though, as we’ll see, making \(\alpha\) smaller makes \(\beta\) larger, other things being equal.)
So if the probability of making a Type II error is \(\beta\), then the probability of correctly rejecting the null for that alternative is \(1 - \beta\). That quantity has a name of its own: it is called the statistical power of the test.
Statistical Power
The power of a test is the probability that it will reject the null hypothesis if a specified effect really exists. We’re not saying that we know for sure that the null is false; we’re just choosing a particular effect to consider, and asking how likely it is that we will correctly reject the null under those circumstances. Unlike \(\alpha\), power isn’t something we choose directly. It depends on sample size, variability, effect size, \(\alpha\), and whether the test is one- or two-tailed. If we know (or can make assumptions about) those quantities, we can calculate power under that model.
When we say a test has something like .80 power, we mean it would detect the specified effect about 80 percent of the time if we could repeat the study many times with new, independent samples. We don’t mean there’s an 80 percent probability that the hypothesis, or a particular significant finding, is correct. The probability refers to the test’s ability to detect a real effect, the frequentist idea of long-run proportions of outcomes over repeated samples.
To illustrate, let’s check in with our bees again.
Activity 9.2: Watch power in action: the swarm returns
Animated bee swarm illustrating statistical power: when the hive moves away from the null position, the proportion of sample means that land in the critical regions is the power of the test, and it rises with sample size and effect size and falls with variability.
Calculating Power
To calculate statistical power from scratch, we’ll need some step-by-step instructions. I’ll also show you how it looks visualized with some boring old curves, because unfortunately we can’t always do statistics using bees.
The key idea is that we need to think about two distributions: the null hypothesis distribution and the alternative hypothesis distribution. Our bees built their own alternative sampling distribution as they buzzed around their hive, but in practice, we just use the same principles to create the alternative distribution that we use for the null sampling distribution. The alternative distribution then represents the distribution of sample means we would expect to see if some specific alternative hypothesis were true. This requires having some idea of the effect size, usually based on prior research or theory, and, for our \(z\)-test, knowing the population standard deviation.
For a two-tailed test, here are the steps we need to follow to calculate statistical power:
Find the null distribution’s critical values, given \(\alpha\)
Find the null distribution raw sample means corresponding to those critical values
Find the \(z\)-scores for those sample means under the alternative hypothesis distribution
Find the area of the alternative distribution that falls between those \(z\)-scores. This gives \(\beta\), the probability of a Type II error
Subtract \(\beta\) from 1 to get the statistical power of the test
Let’s work through the steps with some real numbers, illustrating what happens at each step along the way. The parameters driving the bee swarm simulation:
\(\mu_0 = 50\); \(\sigma = 38.73\); \(n = 15\); \(\sigma_M \approx 10\); and the alternative population mean, \(\mu_1 = 78\).
(What are the units of measurement? Bee-scores, of course.)3
Step 1. For a two-tailed test with \(\alpha = .05\), the unit normal table gives critical \(z\)-scores of \(\pm 1.96\). So far this is just the regular decision-criterion step of the NHST procedure.
Table 9.3: An excerpt of the unit normal table highlighting the .0250 upper-tail area at \(z = 1.96\), used to set the critical values for a two-tailed test with \(\alpha = .05\).
Excerpt of the unit normal table for z from 1.92 to 2.00, with the area to the right of z = 1.96, .0250, highlighted.
Step 2. Convert those critical \(z\)-scores into raw sample means, using the rearranged \(z\) equation with the null distribution’s characteristics:
\[ M = \mu_0 + z \cdot \sigma_M \]
We obtained two \(z\)-scores in step one, corresponding to the two-tailed critical regions. (Statistical power can work with a one-tailed test as well; we would only have a single critical \(z\)-score in that case.) So we can plug those into the equation:
Step 3. Now we turn to the alternative distribution, centered at \(\mu_1 = 78\). The standard error is the same, because the sample size and population standard deviation are the same. We need \(z\)-scores for the same sample means, but measured from this distribution’s center. So we use \(\mu_1\) in the numerator of the \(z\) equation:
Step 4. Find the proportion of the alternative distribution between those \(z\)-scores. Using the unit normal table, we subtract the area to the left of the lower boundary from the area to the left of the upper boundary. By symmetry, the area to the left of \(z = -0.84\) equals the area to the right of \(z = 0.84\), which the table gives as .2005. The area to the left of \(z = -4.76\) rounds to .0000: \(.2005 - .0000 = .2005\). This is \(\beta\): the proportion that will cause us to fail to reject the false null.
Table 9.4: An excerpt of the unit normal table highlighting the .2005 upper-tail area at \(z = 0.84\). By symmetry, this is also the area below \(z = -0.84\), used to calculate \(\beta\).
Excerpt of the unit normal table for z from 0.80 to 0.88, with the area to the right of z = 0.84, .2005, highlighted.
Step 5. Statistical power is \(1 - \beta = 1 - .2005 = .7995\), or about .80. Given our stated sample size, population standard deviation, and means, we would correctly reject the null about 80% of the time over repeated studies.
Activity 9.3 repeats this step-by-step process visually.
Activity 9.3: Explore statistical power
Explore statistical power. Use the accompanying steps for an explanation.
Calculate power for a new study
For a two-tailed \(z\) test with
\(\alpha = .05\), suppose \(\mu_0 = 100\), \(\sigma = 20\), and \(n = 25\). What is the power to detect a
true population mean of \(\mu_1 =
108\)? Assume normal sampling distributions with the same
population SD under both hypotheses. Enter power as a proportion from 0
to 1. You can use the unit
normal table.
Hint 1
First calculate the standard error, \(\sigma_M = \sigma/\sqrt{n}\).
Hint 2
With a two-tailed \(\alpha = .05\),
the critical \(z\) scores are about
\(\pm 1.96\). Convert them to raw
sample means using \(M = \mu_0 +
z\sigma_M\).
Hint 3
Locate those same critical means relative to the alternative mean of
108. Find the area between their alternative-distribution \(z\) scores to get \(\beta\), then subtract it from 1.
Hint 4
The lower boundary is nearly four standard errors below the
alternative mean. Its left-tail area rounds to .0000, so it contributes
very little to the calculation.
Answer
0.516
Explanation
The standard error is \(20/\sqrt{25} =
4\). The null critical means are \(100
- 1.96(4) = 92.16\) and \(100 + 1.96(4)
= 107.84\).
Relative to the alternative distribution, their \(z\) scores are \((92.16 - 108)/4 = -3.96\) and \((107.84 - 108)/4 = -.04\). The area to the
left of \(-.04\) is about .4840; the
area to the left of \(-3.96\) rounds to
.0000. So \(\beta \approx .4840\), and
power \(\approx 1 - .4840 =
.5160\).
The design would detect this specified effect about 52 percent of the
time over repeated studies. Power includes both rejection tails,
although the far-left tail contributes very little here.
Quiz 9.2
Factors Affecting Power
Now let’s explore how changing each of the parameters affects power. See if you can predict and explain each change before moving on to the next step.
Activity 9.4: Factors affecting statistical power
Null and alternative sampling distributions with power shaded, and sliders for alpha, sample size, population standard deviation and the difference between means.
Practical Applications of Power
Do you feel like sometimes all this frequentist talk about long-run proportions of outcomes is a bit abstract? None of it would be very useful if we actually had to repeat our study over and over again to see how often we reject the null or whatever. But the value of thinking about things this way is that it helps us understand the implications of the one study we do conduct, even before we collect the data.
When planning research, we can ask how much power a proposed study would have to detect a particular effect. But we can also turn the question around: how many participants would we need to have a good chance of detecting an effect of that size? This is a useful question to ask before we collect our data.
Of course, we don’t usually know the true effect size in advance. (If we did, we’d hardly need to do the study.) Rather, we can speculate about a plausible effect on the basis of earlier research or theory. Or we could ask what is the smallest difference we would care about, and design the study to have a good chance of detecting that difference.
A common convention is to aim for a power of .80. It still means missing an effect of the specified size about one time in five. If the consequences of a miss are serious, we might want a higher target. Like \(\alpha = .05\), this isn’t a law of nature. It’s an attempt to balance the risk of a Type II error (failing to reject a false null hypothesis) with the practical constraints of conducting research.
For our two-tailed, one-sample \(z\) test, a useful approximation for the required sample size is:
\[ n \approx \frac{\left(z_{1-\alpha/2} + z_{1-\beta}\right)^2}{d^2} \tag{9.2}\]
Here, \(d\) is the hypothesized population effect, \((\mu_1 - \mu_0)/\sigma\), rather than an effect estimated from data we have yet to collect. The notation \(z_q\) means the standard-normal score with proportion \(q\) below it. So \(z_{1-\alpha/2}\) is our positive critical score, and \(z_{1-\beta}\) is the score with our target power below it. For 80% power, that second score is about \(0.84\).
For example, suppose we want to detect an effect of \(d = 0.5\). For a two-tailed test with \(\alpha = .05\) and a target power of .80:
\[ n \approx \frac{(1.96 + 0.84)^2}{0.5^2} = 31.36 \]
We round up, because we cannot have 0.36 of a person take our study, giving us 32 participants. For a one-tailed test in the predicted direction, use \(z_{1-\alpha}\) instead of \(z_{1-\alpha/2}\). The two-tailed formula is an approximation because it neglects rejection in the opposite tail, whose contribution is tiny in this example. Activity 9.5 calculates power using both tails and finds the smallest whole-number sample size that reaches the target.
To give a sense of this in context, recall the differences we pictured in Activity 9.1. Simmons (2014) also reported the following sample-size requirements for 80 percent power, based on the effect estimates from their data:
Table 9.5: Sample sizes per group required for 80% power to detect the effect sizes reported by Simmons (2014).
Outcome
Magnitude of \(d\)
\(n\) per group for 80% power
Height
1.83
6
Importance of social equality
0.69
33
Frequency of eating egg salad
0.58
47
Estimated risk of smoking-related death
0.33
149
Number of planets named correctly
0.05
6,176
If the true effects matched these estimates, detecting the height difference would need only around twelve people, six men and six women. But detecting the tiny difference in planet naming would need more than 12,000 people. (These are the author’s reported sample sizes for comparisons of two groups; \(n\) is per group, rather than for the one-sample \(z\) test we used above. Different populations, measures, and designs can produce different requirements.) Think about the sample sizes in the research you read, the subtlety of the effects, and whether the studies had sufficient power to detect them.
Notice that having a fairly small sample size does not necessarily mean a study will have low power. A large effect can be reliably detected with few participants. But trying to detect more subtle effects with small samples can lead to underpowered studies and misleading results. When a study is underpowered, the samples that do reach the significance threshold tend to be the ones whose means happened to land unusually far from the null. So significant results from underpowered studies tend to overestimate the true effect. That is one reason to be wary of surprisingly large effects from small samples.
Activity 9.5: Planning a study with power
Compare a proposed study's power with the sample size needed for 80 percent power. First vary the design to calculate power, then vary the hypothesized population difference while the required sample size is calculated.
We now have several different questions to keep straight. Effect size describes how big a difference is. \(\alpha\) describes the chance of rejecting a true null. \(\beta\) describes the chance of missing a specified real effect, and power, \(1-\beta\), describes the chance of detecting it. Those probabilities concern repeated use of a test under stated assumptions.
We can evaluate a design’s power for independently justified hypothetical effects either before or after data collection. But plugging the effect observed in our own sample back into a power calculation doesn’t tell us whether that result is trustworthy. This is sometimes called observed power, and it adds no new information to the test’s \(p\)-value (Hoenig & Heisey, 2001). After collecting data, the estimated effect and its uncertainty are more useful for interpretation. Our own study still gives us just one imperfect estimate of the population difference. How precise is that estimate? That’s the question we’ll turn to in the next chapter.
Learning Checks
0 of 6
1
One sample has 30 participants and another has 100. Both have a mean
score of 55, and both are compared with a null mean of 50 using a known
population SD of 10. How do their estimates of Cohen’s \(d\) compare?
Answer
Both samples give the same \(d\).
Explanation
Both give \(d = (55 - 50)/10 = .5\).
The sample size doesn’t enter the calculation. The sample of 100 has a
smaller standard error and therefore a more extreme \(z\) than the sample of 30. In actual
studies, different samples can give different estimated effects;
recruiting more participants doesn’t enlarge the underlying population
effect.
2
A researcher uses \(\alpha = .05\)
to test whether a population mean differs from a specified null mean. If
the null is true and the test’s assumptions hold, what does that five
percent describe?
Answer
The long-run proportion of samples leading to rejection of the true
null.
Explanation
Rejecting a true null is a Type I error, a false positive. \(\alpha = .05\) means this would happen
about five percent of the time over repeated samples when the null is
true. It doesn’t tell us the probability that the null is true or that a
particular rejection was an error. For a test of the mean, the critical
boundaries concern sample means, not individual scores.
3
A study design has .80 power to detect a true population difference
of five points. If we repeated this design with new, independent samples
from a population with that difference, what would we expect?
Answer
About 80% of studies would correctly reject the null.
Explanation
Power is the probability of detecting the specified effect with this
design. About 20% of studies would fail to reject the false null: \(\beta = .20\), the chance of a Type II
error. These are long-run proportions, not guaranteed counts in any
particular set of studies. Nor does .80 power mean there’s an 80%
probability that the effect is real.
4
Researchers planned a study with .80 power to detect \(d = .5\). Their result is nonsignificant.
What does this establish about the population effect?
Answer
The study did not provide sufficient evidence to reject the null.
Explanation
Even if the true effect were \(d =
.5\), this design would miss it about one time in five. A
nonsignificant result therefore doesn’t establish that the null is true,
or give a firm upper limit on the effect size. Power for \(d = .5\) also doesn’t tell us the power for
every other possible effect.
5
For the same nonzero population difference, sample size, and
population SD, a researcher lowers \(\alpha\) from .05 to .01. The test remains
two-tailed. How does power change?
Answer
Power decreases.
Explanation
The critical boundaries move farther from the null mean. Less of the
alternative sampling distribution falls beyond them, so power decreases.
The stricter criterion reduces false positives when the null is true,
but increases the risk of missing this effect when the null is
false.
6
Researchers plan a two-tailed, one-sample \(z\) test. Keeping \(\alpha\) and target power fixed, they
decide to plan for \(d = .25\) rather
than \(d = .5\). Using the chapter’s
approximate sample-size equation, how does the required sample size
change before rounding?
Answer
It quadruples.
Explanation
The approximation divides by \(d^2\). Halving \(d\) makes \(d^2\) one quarter as large, so the required
\(n\) becomes four times as large.
Detecting a smaller effect with the same power requires a larger sample;
the effect worth detecting is therefore an important planning
decision.
Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Lawrence Erlbaum Associates.
Funder, D. C., & Ozer, D. J. (2019). Evaluating effect size in psychological research: Sense and nonsense. Advances in Methods and Practices in Psychological Science, 2(2), 156–168. https://doi.org/10.1177/2515245919847202
Hoenig, J. M., & Heisey, D. M. (2001). The abuse of power: The pervasive fallacy of power calculations for data analysis. The American Statistician, 55(1), 19–24. https://doi.org/10.1198/000313001300339897
Simmons, J. P. (2014, April 4). [18] MTurk vs. The lab: Either way we need big samples. Data Colada. https://datacolada.org/18
Okay, listen, this is calibrated to offer an illustration of the sampling distribution, but it is not a demonstration of independent random sampling. The bees interact, and each bee’s position is correlated from one frame to the next; a bee exploring to the left of the hive won’t suddenly teleport off to the right. But the approximation is good enough for our purposes here. And come on, they’re delightful little bees!↩︎
The open-ended responses used here were trimmed below the 5th and above the 95th percentiles, following the author’s analysis. The estimates describe this sample data; they should not be taken as fixed population characteristics.↩︎
That was a joke. The units are arbitrary, but the calculations do reproduce the characteristics of the little bee-simulation engine.↩︎