06.09.2021 Views

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sampling Distribution <strong>for</strong> X if θ=.55<br />

lower critical region<br />

(2.5% of the distribution)<br />

upper critical region<br />

(2.5% of the distribution)<br />

0 20 40 60 80 100<br />

Number of Correct Responses (X)<br />

Figure 11.4: Sampling distribution under the alternative hypothesis, <strong>for</strong> a population parameter value of<br />

θ “ 0.55. A reasonable proportion of the distribution lies in the rejection region.<br />

.......................................................................................................<br />

11.8<br />

Effect size, sample size <strong>and</strong> power<br />

In previous sections I’ve emphasised the fact that the major design principle behind statistical hypothesis<br />

testing is that we try to control our Type I error rate. When we fix α “ .05 we are attempting to ensure<br />

that only 5% of true null hypotheses are incorrectly rejected. However, this doesn’t mean that we don’t<br />

care about Type II errors. In fact, from the researcher’s perspective, the error of failing to reject the<br />

null when it is actually false is an extremely annoying one. With that in mind, a secondary goal of<br />

hypothesis testing is to try to minimise β, the Type II error rate, although we don’t usually talk in terms<br />

of minimising Type II errors. Instead, we talk about maximising the power of the test. Since power is<br />

defined as 1 ´ β, this is the same thing.<br />

11.8.1 The power function<br />

Let’s take a moment to think about what a Type II error actually is. A Type II error occurs when the<br />

alternative hypothesis is true, but we are nevertheless unable to reject the null hypothesis. Ideally, we’d<br />

be able to calculate a single number β that tells us the Type II error rate, in the same way that we can<br />

set α “ .05 <strong>for</strong> the Type I error rate. Un<strong>for</strong>tunately, this is a lot trickier to do. To see this, notice that in<br />

my ESP study the alternative hypothesis actually corresponds to lots of possible values of θ. In fact, the<br />

alternative hypothesis corresponds to every value of θ except 0.5. Let’s suppose that the true probability<br />

of someone choosing the correct response is 55% (i.e., θ “ .55). If so, then the true sampling distribution<br />

<strong>for</strong> X is not the same one that the null hypothesis predicts: the most likely value <strong>for</strong> X is now 55 out<br />

of 100. Not only that, the whole sampling distribution has now shifted, as shown in Figure 11.4. The<br />

critical regions, of course, do not change: by definition, the critical regions are based on what the null<br />

- 341 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!