lecture11 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 11 Testing on Population Means Moo K. Chung mchung@stat.wisc.edu February 25, 2003 Concepts 1. P (Type I error) = P (reject H 0 | H 0 true) = α. The resulting α is called the signifcance level of the test and the corresponding test is called a level α test . We will use test procedures that give α less than a speciFed level (0.05 or 0.01 usually). 2. Testing mean μ with known variance σ 2 . H 0 : μ = μ 0 vs. H 1 : μ < μ 0 Test statistic: z = ¯ x - μ 0 σ/ n . Rejection region for level α test: z ≤ - z α . 3. Testing mean μ with unknown variance σ 2 . H 0 : μ = μ 0 vs. H 1 : μ < μ 0 Test statistic: t = ¯ x - μ 0 s/ n . Rejection region for level α test: z ≤ - t α,n - 1 . 4. Testing mean μ when the sample size is large. H 0 : μ = μ 0 vs. H 1 : μ < μ 0 Test statistic: z = ¯ x - μ 0 s/ n . Rejection region for level α test: z ≤ - z α . In-class problems Assume the IQ of a dog follows X i N ( μ, 10 2 ). The IQ of 10 dogs are measured: 30, 25, 70, 110, 40, 80, 50, 60, 100, 60. We want to test if dogs are as smart as people by testing H 0 : μ = 100 vs. H 1 : μ < 100
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: at level = 0 . 05. &gt; x&lt;-c(30, 25, 70, 110, 40, 80, 50, 60, 100, 60) &gt; mean(x) [1] 62.5 &gt; z&lt;-(mean(x)-100)/(10/sqrt(10)) &gt; z [1] -11.85854 &gt; qnorm(0.05) [1] -1.644854 Assume the IQ of a dog follows X i N ( , 2 ) , where is unknown. Test H : = 100 vs. H 1 : &lt; 100 at level = 0 . 05. &gt; t=(mean(x)-100)/(sd(x)/sqrt(10)) &gt; t [1] -4.205156 &gt; qt(0.05,9) [1] -1.833113 &gt; t.test(x,mu=100,alternative=&quot;less&quot;, 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 Self-study problems Example 8.6., 8.8., 8.9. Assignment III. Due March 13. 11:00am. 8.24., 8.26, 8.28., 8.36. (a) and (b) only, 8.38....
View Full Document

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

Ask a homework question - tutors are online