lecture15 notes

Probability and Statistics for Engineering and the Sciences (with CD-ROM and InfoTrac )

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

View Full Document Right Arrow Icon
Stat 312: Lecture 15 P -values Moo K. Chung mchung@stat.wisc.edu November 2, 2004 1. The P -value is the smallest level of significance at which H 0 would be rejected. Example 8.5, 8.15. Nicotine contents X 1 , ··· X 32 of cigarettes follow N ( μ, 0 . 2 2 ). We are interested in testing if H 0 : μ = 1 . 5 vs. H 1 : μ > 1 . 5 . Assume ¯ x = 1 . 57. Given α level, the corre- sponding rejection regions are given by > -qnorm(0.05) [1] 1.644854 > -qnorm(0.025) [1] 1.959964 > -qnorm(0.01) [1] 2.326348 > -qnorm(0.005) [1] 2.575829 > (1.57-1.5)/(0.2/sqrt(32)) [1] 1.979899 > 1-pnorm(1.979899) [1] 0.02385744 2. P -value α reject H 0 at level α . P -value > α do not reject H 0 at level α . The smaller the P -value, the easier to reject
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: H . Example. Dog IQ example. > t.test(x,mu=100,alternative="less", conf.level=0.95) One Sample t-test data: x t = -4.2036, df = 9, p-value = 0.001147 alternative hypothesis: true mean is less than 100 95 percent confidence interval:-Inf 78.8531 sample estimates: mean of x 62.5 3. P-value computation for two sided tests. Let us continue the nicotine content example and nd the P-value for testing H : = 1 . 5 vs. H 1 : 6 = 1 . 5 . > 2*(1-pnorm(1.979899)) [1] 0.04771488 Review Problems. Example 8.17., 8.18....
View Full Document

This note was uploaded on 01/31/2008 for the course STAT 312 taught by Professor Chung during the Fall '04 term at Wisconsin.

Ask a homework question - tutors are online