Mathematical statistics

Similar documents
Tests about a population mean

Mathematical statistics

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

8.1-4 Test of Hypotheses Based on a Single Sample

MTMS Mathematical Statistics

Review. December 4 th, Review

Hypotheses Test Procedures. Is the claim wrong?

Statistics 251: Statistical Methods

example: An observation X comes from a normal distribution with

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Introductory Econometrics. Review of statistics (Part II: Inference)

Chapter 7: Hypothesis Testing - Solutions

Statistics 301: Probability and Statistics 1-sample Hypothesis Tests Module

Hypothesis for Means and Proportions

Lecture Testing Hypotheses: The Neyman-Pearson Paradigm

Section 5.4: Hypothesis testing for μ

INTERVAL ESTIMATION AND HYPOTHESES TESTING

Statistical Process Control (contd... )

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

The due date for this assignment is past. Your work can be viewed below, but no changes can be made.

In any hypothesis testing problem, there are two contradictory hypotheses under consideration.

The Purpose of Hypothesis Testing

Class 19. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Hypothesis Testing and Confidence Intervals (Part 2): Cohen s d, Logic of Testing, and Confidence Intervals

CH.9 Tests of Hypotheses for a Single Sample

280 CHAPTER 9 TESTS OF HYPOTHESES FOR A SINGLE SAMPLE Tests of Statistical Hypotheses

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

Section 10.1 (Part 2 of 2) Significance Tests: Power of a Test

Two Sample Hypothesis Tests

Section 9.1 (Part 2) (pp ) Type I and Type II Errors

Statistical Inference. Hypothesis Testing

Chapter 5: HYPOTHESIS TESTING

Introduction to Statistics

SMAM 314 Exam 3 Name. F A. A null hypothesis that is rejected at α =.05 will always be rejected at α =.01.

The problem of base rates

Introductory Econometrics

Statistical Inference

Visual interpretation with normal approximation

Chapter 9. Hypothesis testing. 9.1 Introduction

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12,

For use only in [the name of your school] 2014 S4 Note. S4 Notes (Edexcel)

STAT Chapter 8: Hypothesis Tests

Math 101: Elementary Statistics Tests of Hypothesis

hypothesis a claim about the value of some parameter (like p)

Week 12 Hypothesis Testing, Part II Comparing Two Populations

Sampling, Confidence Interval and Hypothesis Testing

Solution: First note that the power function of the test is given as follows,


Introduction to Statistical Data Analysis III

Mathematical Statistics

9-7: THE POWER OF A TEST

CHAPTER 9: HYPOTHESIS TESTING

MATH 728 Homework 3. Oleksandr Pavlenko

Political Science 236 Hypothesis Testing: Review and Bootstrapping

14.30 Introduction to Statistical Methods in Economics Spring 2009

Hypothesis Testing. ) the hypothesis that suggests no change from previous experience

Finansiell Statistik, GN, 15 hp, VT2008 Lecture 10-11: Statistical Inference: Hypothesis Testing

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Analysis of Variance: Part 1

Design of Engineering Experiments

Further Remarks about Hypothesis Tests

Introduction to Probability and Statistics

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Hypothesis Testing. ECE 3530 Spring Antonio Paiva

Topic 15: Simple Hypotheses

Introduction to Statistics

Unit 19 Formulating Hypotheses and Making Decisions

TUTORIAL 8 SOLUTIONS #

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

Hypothesis Testing: One Sample

Basic Statistics. 1. Gross error analyst makes a gross mistake (misread balance or entered wrong value into calculation).

Single Sample Means. SOCY601 Alan Neustadtl

PhysicsAndMathsTutor.com

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

(8 One- and Two-Sample Test Of Hypothesis)

First we look at some terms to be used in this section.

LECTURE 5 HYPOTHESIS TESTING

Chapter 7: Hypothesis Testing

Math 494: Mathematical Statistics

EXAM 3 Math 1342 Elementary Statistics 6-7

Hypothesis Tests Solutions COR1-GB.1305 Statistics and Data Analysis

Announcements. Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, and power.

4 Hypothesis testing. 4.1 Types of hypothesis and types of error 4 HYPOTHESIS TESTING 49

Section 6.2 Hypothesis Testing

hypothesis testing 1

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

Chapter 12: Inference about One Population

Hypothesis Testing. Testing Hypotheses MIT Dr. Kempthorne. Spring MIT Testing Hypotheses

SMAM 314 Exam 3d Name

Lecture 13: p-values and union intersection tests

POLI 443 Applied Political Research

ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12

Definition 3.1 A statistical hypothesis is a statement about the unknown values of the parameters of the population distribution.

Topic 17 Simple Hypotheses

Summary: the confidence interval for the mean (σ 2 known) with gaussian assumption

MTH U481 : SPRING 2009: PRACTICE PROBLEMS FOR FINAL

Statistics: CI, Tolerance Intervals, Exceedance, and Hypothesis Testing. Confidence intervals on mean. CL = x ± t * CL1- = exp

Lecture on Null Hypothesis Testing & Temporal Correlation

Basic Concepts of Inference

Hypothesis Testing The basic ingredients of a hypothesis test are

Transcription:

November 1 st, 2018 Lecture 18: Tests about a population mean

Overview 9.1 Hypotheses and test procedures test procedures errors in hypothesis testing significance level 9.2 Tests about a population mean normal population with known σ large-sample tests a normal population with unknown σ 9.4 P-values 9.3 Tests concerning a population proportion 9.5 Selecting a test procedure

Hypothesis testing

Hypothesis testing In any hypothesis-testing problem, there are two contradictory hypotheses under consideration The null hypothesis, denoted by H 0, is the claim that is initially assumed to be true The alternative hypothesis, denoted by H a, is the assertion that is contradictory to H 0.

Implicit rules (of this chapter) H 0 will always be stated as an equality claim. If θ denotes the parameter of interest, the null hypothesis will have the form H 0 : θ = θ 0 θ 0 is a specified number called the null value The alternative hypothesis will be either: H a : θ > θ 0 H a : θ < θ 0 H a : θ θ 0

Test procedures A test procedure is specified by the following: A test statistic T : a function of the sample data on which the decision (reject H 0 or do not reject H 0 ) is to be based A rejection region R: the set of all test statistic values for which H 0 will be rejected The null hypothesis will then be rejected if and only if the observed or computed test statistic value falls in the rejection region, i.e., T R

Example Test of hypotheses: H 0 : µ = 75 H a : µ < 75 Test procedure: Compute X If X 72, reject H 0.

Question: How about H a : µ > 75 Test of hypotheses: Test procedure: Compute X If, reject H 0. H 0 : µ = 75 H a : µ > 75

Type I and Type II errors A type I error consists of rejecting the null hypothesis H 0 when it is true A type II error involves not rejecting H 0 when H 0 is false.

Hypothesis testing: example The drying time of a certain type of paint under specified test conditions is known to be normally distributed with mean value 75 min and standard deviation 9 min. Chemists have proposed a new additive designed to decrease average drying time. It is believed that drying times with this additive will remain normally distributed with σ = 9. Because of the expense associated with the additive, evidence should strongly suggest an improvement in average drying time before such a conclusion is adopted.

Type I error Test of hypotheses: H 0 : µ = 75 H a : µ < 75 n = 25, σ = 9. Rule: If x 72, reject H 0. Question: What is the probability of type I error? α = P[Type I error] = P[H 0 is rejected while it is true] = P[ X 72 while µ = 75] = P[ X 72 while X N (75, 1.8 2 )] = 0.0475

Type II error Test of hypotheses: H 0 : µ = 75 H a : µ < 75 n = 25. New rule: If x 72, reject H 0. β(70) = P[Type II error when µ = 70] = P[H 0 is not rejected while it is false because µ = 70] = P[ X > 72 while µ = 70] = P[ X > 72 while X N (70, 1.8 2 )] = 0.1335

α β compromise Proposition Suppose an experiment and a sample size are fixed and a test statistic is chosen. Then decreasing the size of the rejection region to obtain a smaller value of α results in a larger value of β for any particular parameter value consistent with H a.

Significance level The approach adhered to by most statistical practitioners is specify the largest value of α that can be tolerated find a rejection region having that value of α rather than anything smaller α: the significance level of the test the corresponding test procedure is called a level α test

Significance level: example Test of hypotheses: H 0 : µ = 75 H a : µ < 75 n = 25, σ = 9. Rule: If x c, reject H 0. Find the value of c to make this a level α test α = P[Type I error] = P[H 0 is rejected while it is true] = P[ X c while X N (75, 1.8 2 )] [ X 75 = P c 75 ] 1.8 1.8

Hypothesis testing for one parameter 1 Identify the parameter of interest 2 Determine the null value and state the null hypothesis 3 State the appropriate alternative hypothesis 4 Give the formula for the test statistic 5 State the rejection region for the selected significance level α 6 Compute statistic value from data 7 Decide whether H 0 should be rejected and state this conclusion in the problem context

Normal population with known σ

Test about a population mean Null hypothesis H 0 : µ = µ 0 The alternative hypothesis will be either: H a : µ > µ 0 H a : µ < µ 0 H a : µ µ 0

Rejection region α = P[Type I error] = P[H 0 is rejected while it is true] = P[ X c while X N (75, 1.8 2 )] [ X 75 = P c 75 ] 1.8 1.8 Rejection rule: x 75 1.8z α To make it simpler, define z = ( x 75)/(1.8), then the rule is z z α

Normal population with known σ Null hypothesis: µ = µ 0 Test statistic: Z = X µ 0 σ/ n

General rule

Example Problem A manufacturer of sprinkler systems used for fire protection in office buildings claims that the true average system-activation temperature is 130 F. A sample of n = 9 systems, when tested, yields a sample average activation temperature of 131.08 F. If the distribution of activation times is normal with standard deviation 1.5 F, does the data contradict the manufacturers claim at significance level α = 0.01?

Φ(z)

Solution Parameter of interest: µ = true average activation temperature Hypotheses Test statistic: H 0 : µ = 130 H a : µ 130 z = x 130 1.5/ n Rejection region: either z z 0.005 or z z 0.005 = 2.58 Substituting x = 131.08, n = 25 z = 2.16. Note that 2.58 < 2.16 < 2.58. We fail to reject H 0 at significance level 0.01. The data does not give strong support to the claim that the true average differs from the design value.

Large-sample tests

Large-sample tests Null hypothesis: µ = µ 0 Test statistic: Z = X µ 0 S/ n [Does not need the normal assumption]

Test about a normal population with unknown σ

t-test [Require normal assumption]

Example Problem The amount of shaft wear (.0001 in.) after a fixed mileage was determined for each of n = 8 internal combustion engines having copper lead as a bearing material, resulting in x = 3.72 and s = 1.25. Assuming that the distribution of shaft wear is normal with mean µ, use the t-test at level 0.05 to test H 0 : µ = 3.5 versus H a : µ > 3.5.

t-table

Practice Problem The standard thickness for silicon wafers used in a certain type of integrated circuit is 245 µm. A sample of 50 wafers is obtained and the thickness of each one is determined, resulting in a sample mean thickness of 246.18 µm and a sample standard deviation of 3.60 µm. Does this data suggest that true average wafer thickness is larger than the target value? Carry out a test of significance at level.05.

Type II error and sample size determination

Hypothesis testing for one parameter 1 Identify the parameter of interest 2 Determine the null value and state the null hypothesis 3 State the appropriate alternative hypothesis 4 Give the formula for the test statistic 5 State the rejection region for the selected significance level α 6 Compute statistic value from data 7 Decide whether H 0 should be rejected and state this conclusion in the problem context

Type II error and sample size determination A level α test is a test with P[type I error] = α Question: given α and n, can we compute β (the probabilities of type II error)? This is a very difficult question. We have a solution for the cases when: the distribution is normal and σ is known

Practice problem Problem The drying time of a certain type of paint under specified test conditions is known to be normally distributed with standard deviation 9 min. Assuming that we are testing from a dataset with n = 25. H 0 : µ = 75 H a : µ < 75 What is the rejection region of the test with significance level α = 0.05. What is β(70) in this case?

General cases Test of hypotheses: H 0 : µ = µ 0 H a : µ < µ 0 Rejection region: z z α This is equivalent to x µ 0 z α σ/ n Let µ < µ 0 β(µ ) = P[Type II error when µ = µ ] = P[H 0 is not rejected while it is false because µ = µ ] = P[ X > µ 0 z α σ/ n while µ = µ ] [ X µ = P σ/ n > µ 0 µ ] σ/ n z α while µ = µ ( µ0 µ ) = 1 Φ σ/ n z α

Remark For µ < µ 0 : ( β(µ µ0 µ ) ) = 1 Φ σ/ n z α If n, µ, µ 0, σ is fixed, then β(µ ) is small ( µ0 µ ) Φ σ/ n z α is large µ 0 µ σ/ n z α is large α is large

α β compromise Proposition Suppose an experiment and a sample size are fixed and a test statistic is chosen. Then decreasing the size of the rejection region to obtain a smaller value of α results in a larger value of β for any particular parameter value consistent with H a.

General formulas