Dr. Hackney STA Solutions pg 122

# Dr. Hackney STA Solutions pg 122 - 8.3 The LRT statistic is...

This preview shows page 1. Sign up to view the full content.

Chapter 8 Hypothesis Testing 8.1 Let X = # of heads out of 1000. If the coin is fair, then X binomial(1000 , 1 / 2). So P ( X 560) = 1000 X x =560 ± 1000 x ²± 1 2 ² x ± 1 2 ² n - x . 0000825 , where a computer was used to do the calculation. For this binomial, E X = 1000 p = 500 and Var X = 1000 p (1 - p ) = 250. A normal approximation is also very good for this calculation. P { X 560 } = P ³ X - 500 250 559 . 5 - 500 250 ´ P { Z 3 . 763 } ≈ . 0000839 . Thus, if the coin is fair, the probability of observing 560 or more heads out of 1000 is very small. We might tend to believe that the coin is not fair, and p > 1 / 2. 8.2 Let X Poisson( λ ), and we observed X = 10. To assess if the accident rate has dropped, we could calculate P ( X 10 | λ = 15) = 10 X i =0 e - 15 15 i i ! = e - 15 µ 1+15+ 15 2 2! + ··· + 15 10 10! . 11846 . This is a fairly large value, not overwhelming evidence that the accident rate has dropped. (A normal approximation with continuity correction gives a value of .12264.)
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 8.3 The LRT statistic is Î» ( y ) = sup Î¸ â‰¤ Î¸ L ( Î¸ | y 1 ,...,y m ) sup Î˜ L ( Î¸ | y 1 ,...,y m ) . Let y = âˆ‘ m i =1 y i , and note that the MLE in the numerator is min { y/m,Î¸ } (see Exercise 7.12) while the denominator has y/m as the MLE (see Example 7.2.7). Thus Î» ( y ) = Â· 1 if y/m â‰¤ Î¸ ( Î¸ ) y (1-Î¸ ) m-y ( y/m ) y (1-y/m ) m-y if y/m > Î¸ , and we reject H if ( Î¸ ) y (1-Î¸ ) m-y ( y/m ) y (1-y/m ) m-y < c. To show that this is equivalent to rejecting if y > b , we could show Î» ( y ) is decreasing in y so that Î» ( y ) < c occurs for y > b > mÎ¸ . It is easier to work with log Î» ( y ), and we have log Î» ( y ) = y log Î¸ + ( m-y ) log (1-Î¸ )-y log Â¸ y m Â¹-( m-y ) log Â± m-y m Â² ,...
View Full Document

## This note was uploaded on 02/03/2012 for the course STA 1014 taught by Professor Dr.hackney during the Spring '12 term at UNF.

Ask a homework question - tutors are online