CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities:

Similar documents
ECO220Y Review and Introduction to Hypothesis Testing Readings: Chapter 12

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

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Preliminary Statistics. Lecture 5: Hypothesis Testing

MATH 240. Chapter 8 Outlines of Hypothesis Tests

Population 1 Population 2

Problem Set 4 - Solutions

Hypothesis Testing. ECE 3530 Spring Antonio Paiva

Econ 325: Introduction to Empirical Economics

1 Statistical inference for a population mean

Topic 17 Simple Hypotheses

Smoking Habits. Moderate Smokers Heavy Smokers Total. Hypertension No Hypertension Total

Chapter Six: Two Independent Samples Methods 1/51

8.1-4 Test of Hypotheses Based on a Single Sample

Preliminary Statistics Lecture 5: Hypothesis Testing (Outline)

Chapter 8. Inferences Based on a Two Samples Confidence Intervals and Tests of Hypothesis

LECTURE 5. Introduction to Econometrics. Hypothesis testing

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

The Components of a Statistical Hypothesis Testing Problem

T test for two Independent Samples. Raja, BSc.N, DCHN, RN Nursing Instructor Acknowledgement: Ms. Saima Hirani June 07, 2016

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

Single Sample Means. SOCY601 Alan Neustadtl

23. MORE HYPOTHESIS TESTING

Chapter 9 Inferences from Two Samples

Estimating the accuracy of a hypothesis Setting. Assume a binary classification setting

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

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

Statistical Process Control (contd... )

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

Chapter 7 Comparison of two independent samples

2011 Pearson Education, Inc

M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

HYPOTHESIS TESTING. Hypothesis Testing

STAT Chapter 8: Hypothesis Tests

Mathematical Statistics

TUTORIAL 8 SOLUTIONS #

INTERVAL ESTIMATION AND HYPOTHESES TESTING

1 Binomial Probability [15 points]

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

CBA4 is live in practice mode this week exam mode from Saturday!

1 Hypothesis testing for a single mean

Unit 19 Formulating Hypotheses and Making Decisions

Summary of Chapters 7-9

Math 101: Elementary Statistics Tests of Hypothesis

Chapter 8 of Devore , H 1 :

Chapter 9. Hypothesis testing. 9.1 Introduction

Chapter Three. Hypothesis Testing

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

1; (f) H 0 : = 55 db, H 1 : < 55.

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

Mathematical statistics

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

Sampling Distributions: Central Limit Theorem

16.400/453J Human Factors Engineering. Design of Experiments II

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

Exam 2 (KEY) July 20, 2009

BINF702 SPRING 2015 Chapter 7 Hypothesis Testing: One-Sample Inference

Power and the computation of sample size

A proportion is the fraction of individuals having a particular attribute. Can range from 0 to 1!

Visual interpretation with normal approximation

MBA 605, Business Analytics Donald D. Conant, Ph.D. Master of Business Administration

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

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

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

OHSU OGI Class ECE-580-DOE :Statistical Process Control and Design of Experiments Steve Brainerd Basic Statistics Sample size?

CH.9 Tests of Hypotheses for a Single Sample

Performance Evaluation and Comparison

MAT 212 Introduction to Business Statistics II Lecture Notes

Topic 17: Simple Hypotheses

20 Hypothesis Testing, Part I

POLI 443 Applied Political Research

8: Hypothesis Testing

Hypothesis for Means and Proportions

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

How do we compare the relative performance among competing models?

Two Sample Problems. Two sample problems

PHP2510: Principles of Biostatistics & Data Analysis. Lecture X: Hypothesis testing. PHP 2510 Lec 10: Hypothesis testing 1

Formulas and Tables. for Elementary Statistics, Tenth Edition, by Mario F. Triola Copyright 2006 Pearson Education, Inc. ˆp E p ˆp E Proportion

Hypothesis Testing The basic ingredients of a hypothesis test are

Hypothesis tests

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

Psychology 282 Lecture #4 Outline Inferences in SLR

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t =

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

Introduction to Statistics

Soc3811 Second Midterm Exam

LECTURE NOTES. INTSTA2 Introductory Statistics 2. Francis Joseph H. Campeña, De La Salle University Manila

Formulas and Tables by Mario F. Triola

Statistics Handbook. All statistical tables were computed by the author.

Formulas and Tables. for Essentials of Statistics, by Mario F. Triola 2002 by Addison-Wesley. ˆp E p ˆp E Proportion.

The Purpose of Hypothesis Testing

Content by Week Week of October 14 27

MATH 728 Homework 3. Oleksandr Pavlenko

Inferences for Correlation

We need to define some concepts that are used in experiments.

EC2001 Econometrics 1 Dr. Jose Olmo Room D309

Lecture 14. Analysis of Variance * Correlation and Regression. The McGraw-Hill Companies, Inc., 2000

Lecture 14. Outline. Outline. Analysis of Variance * Correlation and Regression Analysis of Variance (ANOVA)

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2

Transcription:

CHAPTER 9, 10 Hypothesis Testing Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities: The person is guilty. The person is innocent. To begin with, the person is assumed innocent. The prosecutor presents evidence, trying to convince the jury to reject the original assumption of innocence, and conclude that the person is guilty. Parts of a Statistical Test The null hypothesis, H 0 The alternative hypothesis, H a The test statistic and its p-value The rejection region The conclusion The two competing hypotheses are the alternative hypothesis H a, generally the hypothesis that the researcher wishes to support, and the null hypothesis H 0, a contradiction of the alternative hypothesis. The researcher uses the sample data to Reject H 0 and conclude that H a is true. Accept (do not reject) H 0 as true. Test statistic: A single number calculated from the sample data. p-value: A probability calculated using the test statistic. Rejection region: One set, consisting of values that support the alternative hypothesis and lead to rejecting H 0. 1

Accepting region: One set, consisting of values that support the null hypothesis. Critical values: The value that separate the acceptance and rejection regions. A Type I error for a statistical test is the error of rejecting the null hypothesis when it is true. A level of significance (significance level α: for a statistical test of hypothesis is α = P (Type I error)=p (falsely rejecting H 0 )=P (rejecting H 0 when it is true) A Type II error for a statistical test is the error of accepting the null hypothesis when it is false. β = P (Type II error)=p (falsely accepting H 0 )=P (accepting H 0 when it is false) the power of a statistical test, given as 1 β = P (reject H 0 when H a is true) measures the ability of the test to perform as required. Large-Sample Statistical Test for µ 1. Null hypothesis: H 0 : µ = µ 0 One-Tailed Test H a : µ > µ 0 (or, H a : µ < µ 0 ) Two-Tailed Test H a : µ µ 0 3. Test statistic: z = x µ 0 σ/ n estimated as z = x µ 0 s/ n One-Tailed Test z > z α (or z < z α when the alternative hypothesis is H a : µ < µ 0 ) 2

Two-Tailed Test z > z α/2 or z < z α/2 Assumptions: The n observations in the sample are randomly selected from the population and n is large (n 30) p-value: The p-value or observed significant level of a statistical test is the smallest value of α for which H 0 can be rejected. It is the actual risk of committing a Type I error, if H 0 is rejected based on the observed value of the test statistic. The p-value measures the strength of the evidence against H 0. If the p-value is less than or equal to a preassigned significance level α, then the null hypothesis can be rejected, and you can report that the results are statistically significant at level α. Small-Sample Hypothesis Test for µ 1. Null hypothesis: H 0 : µ = µ 0 One-Tailed Test H a : µ > µ 0 (or, H a : µ < µ 0 ) Two-Tailed Test H a : µ µ 0 3. Test statistic: t = x µ 0 s/ n One-Tailed Test t > t α (or t < t α when the alternative hypothesis is H a : µ < µ 0 ) Two-Tailed Test t > t α/2 or t < t α/2 or when p-value< α 3

The critical values of t are based on (n 1) degrees of freedom. Large-Sample Statistical Test for p 1. Null hypothesis: H 0 : p = p 0 One-Tailed Test H a : p > p 0 (or, H a : p < p 0 ) Two-Tailed Test H a : p p 0 3. Test statistic: z = ˆp p 0 p0 q 0 n with ˆp = x n One-Tailed Test z > z α (or z < z α when the alternative hypothesis is H a : µ < µ 0 ) Two-Tailed Test z > z α/2 or z < z α/2 or when p-value< α Assumptions: The sampling satisfies the assumptions of a binomial experiment and n is large enough so that the sampling distribution of ˆp can be approximated by a normal distribution (np 0 > 5 and nq 0 > 5). Assumptions: The sample is randomly selected from a normally distributed population. - Examples: 1. Suppose a scheduled flight must average at least 60% occupancy in order to be profitable, and an examination of the occupancy rate for 120 flights from Atlanta to Dallas showed a mean occupancy per flight of 58% and a standard deviation of 11%. a. If µ is the mean occupancy per flight and if the company wishes to determine whether or 4

not this scheduled flight is unprofitable, give the alternative and the null hypotheses for the test. b. Does the alternative hypothesis in part a imply a one or two-tailed test? c. Do the occupancy data for the 120 flights suggest that this scheduled flight is unprofitable? 2. A random sample of 120 observations was selected from a binomial population, and 72 successes were observed. Do the data provide sufficient evidence to indicate that p is greater than 0.5? 3. The following n = 10 observations are a sample from a normal population: 7.4, 7.1, 6.5, 7.5, 7.6, 6.3, 6.9, 7.7, 6.5, 7.0 a. Find a 99% upper one-sided confidence bound for the population mean µ. b. Test H 0 : µ = 7.5 versus H a : µ < 7.5. Use α = 0.01. c. Do the results of part a support your conclusion in part b? Large-Sample Statistical Test for (µ 1 µ 2 ) 1. Null hypothesis: H 0 : (µ 1 µ 2 ) = D 0, where D 0 is some specific difference that you wish to tests. One-Tailed Test H a : (µ 1 µ 2 ) > D 0 or (µ 1 µ 2 ) < D 0 Two-Tailed Test (µ 1 µ 2 ) D 0 3. Test statistic: z = ( x 1 x 2 ) D 0 SE = ( x 1 x 2 ) D 0 s 2 1 + s2 2 n 2 One-Tailed Test z > z α or z < z α when (µ 1 µ 2 ) < D 0 Two-Tailed Test z > z α/2 or z < z α/2 or when p-value< α 5

Assumptions: The samples are randomly and independently selected from the two populations and 30 and n 2 30. Test of Hypothesis Concerning the Difference Between Two Means: Independent Random Small Samples 1. Null hypothesis: H 0 : (µ 1 µ 2 ) = D 0, where D 0 is some specific difference that you wish to tests. One-Tailed Test H a : (µ 1 µ 2 ) > D 0 or (µ 1 µ 2 ) < D 0 Two-Tailed Test H a : (µ 1 µ 2 ) D 0 3. Test statistic: t = ( x 1 x 2 ) D 0 ( ) s 2 1 + 1 n 2 where s 2 = ( 1)s 2 1 +(n 2 1)s 2 2 +n 2 2 One-Tailed Test t > t α or t < t α when (µ 1 µ 2 ) < D 0 Two-Tailed Test t > t α/2 or t < t α/2 or when p-value< α The critical values of t are based on ( + n 2 2) df. Assumptions: The samples are randomly and independently selected from normally distributed populations. The variances of the populations σ 2 1 and σ 2 2 are equal. Examples: 1. Random samples of 50 recent college graduates in each major were selected and the following information was obtained: 6

Major Education Social science Mean 40554 38348 SD 2225 2375 a. Do the data provide sufficient evidence to indicate a difference in average starting salaries for college graduates who majored in education and the social sciences? Test using α = 0.05. b. Find a 95% confidence interval for difference between means for the two groups in the general population. Compare your result with part a. 2. A geologist collected the titanium contents of the samples, found using two different methods: Method 1: 0.011, 0.013, 0.013, 0.015, 0.014, 0.013, 0.010, 0.013, 0.011, 0.012 Method 2: 0.011, 0.016, 0.013, 0.012, 0.015, 0.012, 0.017, 0.013, 0.014, 0.015 a. Use an appropriate method to test for a significant difference in the average titanium contents using the two different methods. b. Determine a 95% confidence interval estimate for (µ 1 µ 2 ). Does your interval estimate support your conclusion in part a? Large-Sample Statistical Test for (p 1 p 2 ) 1. Null hypothesis: H 0 : (p 1 p 2 ) = 0, or alternatively H 0 : p 1 = p 2. One-Tailed Test H a : (p 1 p 2 ) > 0 or (p 1 p 2 ) < 0 Two-Tailed Test (p 1 p 2 ) 0 3. Test statistic: z = (ˆp 1 ˆp 2 ) 0 SE = (ˆp 1 ˆp 2 ) p1 q 1 + p 2q 2 n 2 = (ˆp 1 ˆp 2 ) pq + pq n 2 where ˆp 1 = x 1 / and ˆp 2 = x 2 /n 2. Since the common value of p 1 = p 2 = p (used in the standard error) is unknown,it is estimated by and the test statistic is z = (ˆp 1 ˆp 2 ) 0 ˆpˆq + ˆpˆq ˆp = x 1 + x 2 + n 2 n 2 or z = 7 (ˆp 1 ˆp 2 ) ( ) 1 ˆpˆq + 1 n 2

One-Tailed Test z > z α or z < z α when (p 1 p 2 ) < 0 Two-Tailed Test z > z α/2 or z < z α/2 or when p-value< α Assumptions: Samples are selected in a random and independent manner from two binomial populations and and n 2 are large enough, that is ˆp 1, ˆq 1, n 2ˆp 2 and n 2ˆq 2 should all be greater than 5. - Example: Independent random samples of 280 and 350 observations were selected from binomial populations 1 and 2 respectively. Sample 1 had 132 successes, and sample 2 had 178 successes. Do the data present sufficient evidence to indicate that the proportion of successes in populatio is smaller than the proportion in population 2? Suggested Exercises: 9.7, 9.11, 9.15, 9.17, 9.21, 9.23, 9.27, 9.31, 9.33, 9.35, 9.37, 9.41, 9.45, 9.51, 9.57, 9.61, 9.69, 9.75, 10.7, 10.11, 10.15, 10.21, 10.23, 10.27, 10.31, 10.33 8