Professional Documents
Culture Documents
Introduction to hypothesis
testing
The most important definition you
will learn in hypothesis testing
A P value is the probability of observing data that is at
least as extreme as what we got if the null hypothesis is
true.
The most important definition you
will learn in hypothesis testing
A P value is the probability of observing data that is at
least as extreme as what we got if the null hypothesis is
true.
Ho: = 10 oz.
Ha: 10 oz.
5.1 An overview
Imagine you work at a grocery store and you are in charge of
buying cornflakes. The salesman claims that the cornflakes he
is selling are packaged at 10 oz/box. You are not too sure
about this claim and you decide to conduct a hypothesis test
Ho: = 10 oz.
Ha: 10 oz.
Ho: 10 oz.
Ho: 10 oz.
Thats because depends on three things, only one of which you can
really know in advance: depends on the size of the difference between
means that you want to be able to detect (1 2), the variability of the
populations involved (1, 2), and the sample size (n).
5.3 Type I versus Type II errors
The power is also the probability of making one type of correct decision:
There is also a tradeoff between and power. If you want a low value of to
avoid type I errors, then your power will be low. On the other hand, if you can
accept a higher probability of type I errors, and set higher, that will increase
your power.