Course 02402 Introduction to Statistics Lecture 6: Chapter 7: Hypothesis Test for means (one-sample setup), 7.4-7.6 Per Bruun Brockhoff
DTU Informatics Building 305 - room 110 Danish Technical University 2800 Lyngby – Denmark e-mail: pbb@imm.dtu.dk
Per Bruun Brockhoff (pbb@imm.dtu.dk) Introduction to Statistics, Lecture 6 Fall 2012 1 / 34
Overview, Hypotheses Concerning Means
1
Motivating Example
2
Hypotheses and tests of these One- or Two-Sided Alternative Errors in hypothesis testing
3
Practical Hypothesis Test I P-value Example 1
4
Practical Hypothesis Test II Critical Value Example 1- fortsat
5
One-sample hypothesis test without "known” variance Large samples Small samples - normal distributed data Example 2
6
R (R note 7)
Per Bruun Brockhoff (pbb@imm.dtu.dk) Introduction to Statistics, Lecture 6 Fall 2012 2 / 34 Motivating Example
Motivating Example A manufacturer of computer screens inform that a screen in average uses 83 W. Furthermore it can be assumed, that the usage is normally distributed with a known variance σ2 = 42 (W)2. A group of consumers wants to test the manufacturers claim and plan to make some measurements of power usage for the given type of computer screens. Formulate a null and alternative hypothesis.
Per Bruun Brockhoff (pbb@imm.dtu.dk) Introduction to Statistics, Lecture 6 Fall 2012 4 / 34 Hypotheses and tests of these
Tests of Hypotheses We consider a parameter µ. Often there will be a prior interest linked to a certain value
- f µ. Therefore we want to test, that is accept or reject,
the hypothesis µ = µ0. Since the estimate of µ is subject to random variation it is not reasonable to expect that µ = µ0 even though they are the same. The question is then how to compare µ and µ0.
Per Bruun Brockhoff (pbb@imm.dtu.dk) Introduction to Statistics, Lecture 6 Fall 2012 6 / 34