SLIDE 1
Chapter 9: Testing Hypotheses In this chapter we will cover:
- 1. Hypothesis tests (§9.1, 9.2 Rice)
- 2. Inference in regression models (§14.4 Rice)
- 3. Comparing two samples (§11.1, 11.2, 11.3)
Testing Hypotheses
- Statistical hypothesis testing is a method of distinguishing between different possible distributions, based on ob-
served data
- We will set up the problem as a choice between a null hypothesis H0 and an alternative hypothesis, HA
- To make the choice we use the observed data and some statistical test procedure
Example B: page 300
- Suppose we are studying a subject to see if they have ESP powers
- We would like to know if they can predict the suit of a random selected card better than would be expected by
chance
- 52 cards are randomly selected with replacement, and the subject is asked what the suit is. Let T be the number
guessed correctly
- The null hypothesis is that he is randomly guessing, so under H0 (i.e.
assuming H0 is true) then T has a Binomial(0.25, 52) distribution. So H0 : p = 0.25
- The alternative hypothesis is that he can guess better than chance so the alternative hypothesis is HA : p > 0.25
Hypotheses
- Suppose the subject claimed to get 50% correct, then the alternative might be HA : p = 0.5. This is called a simple
alternative
- The alternative HA : p > 0.25 is called a composite hypothesis since it contains many possibilities. It is also called
- ne sided
- The alternative HA : p = 0.25 is called a two sided composite hypothesis