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

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

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

Preliminary Statistics. Lecture 5: Hypothesis Testing

STAT Chapter 8: Hypothesis Tests

Section 5.4: Hypothesis testing for μ

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

Mathematical statistics

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

Statistical Process Control (contd... )

Preliminary Statistics Lecture 5: Hypothesis Testing (Outline)

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

Tests about a population mean

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

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

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

14.30 Introduction to Statistical Methods in Economics Spring 2009

PSY 305. Module 3. Page Title. Introduction to Hypothesis Testing Z-tests. Five steps in hypothesis testing

Econ 325: Introduction to Empirical Economics

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

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

LECTURE 5. Introduction to Econometrics. Hypothesis testing

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:

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

Hypothesis tests

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

8.1-4 Test of Hypotheses Based on a Single Sample

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

Chapter 7 Comparison of two independent samples

Topic 17 Simple Hypotheses

Quantitative Methods for Economics, Finance and Management (A86050 F86050)

Chapter 5: HYPOTHESIS TESTING

Inferences About Two Proportions

Probability and Statistics Notes

Mathematical statistics

Hypothesis Testing The basic ingredients of a hypothesis test are

Visual interpretation with normal approximation

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

Dr. Allen Back. Nov. 21, 2016

Hypotheses and Errors

Ch18 links / ch18 pdf links Ch18 image t-dist table

Hypothesis Testing. ECE 3530 Spring Antonio Paiva

Introduction to Statistical Hypothesis Testing

INTERVAL ESTIMATION AND HYPOTHESES TESTING

Hypothesis for Means and Proportions

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

Soc 3811 Basic Social Statistics Second Midterm Exam Spring Your Name [50 points]: ID #: ANSWERS

Statistics 251: Statistical Methods

Unit 19 Formulating Hypotheses and Making Decisions

Topic 17: Simple Hypotheses

9-7: THE POWER OF A TEST

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15

Soc3811 Second Midterm Exam

Inferences About Two Population Proportions

Chapter Three. Hypothesis Testing

Lecture 30. DATA 8 Summer Regression Inference

Homework Exercises. 1. You want to conduct a test of significance for p the population proportion.

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

LECTURE 5 HYPOTHESIS TESTING

Inference for Proportions, Variance and Standard Deviation

Power of a hypothesis test

Two sample Test. Paired Data : Δ = 0. Lecture 3: Comparison of Means. d s d where is the sample average of the differences and is the

Chapter 7. Inference for Distributions. Introduction to the Practice of STATISTICS SEVENTH. Moore / McCabe / Craig. Lecture Presentation Slides

Formulas and Tables for Elementary Statistics, Eighth Edition, by Mario F. Triola 2001 by Addison Wesley Longman Publishing Company, Inc.

MTMS Mathematical Statistics

Math 101: Elementary Statistics Tests of Hypothesis

Econometrics. 4) Statistical inference

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

1 Statistical inference for a population mean

Mathematical Statistics

The problem of base rates

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

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Single Sample Means. SOCY601 Alan Neustadtl

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

Lectures 5 & 6: Hypothesis Testing

Statistical Inference. Hypothesis Testing

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Performance Evaluation and Comparison

Statistics for IT Managers

Chapter 7: Hypothesis Testing

Confidence intervals and Hypothesis testing

Chapter 5 Confidence Intervals

Outline. PubH 5450 Biostatistics I Prof. Carlin. Confidence Interval for the Mean. Part I. Reviews

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

Math 124: Modules Overall Goal. Point Estimations. Interval Estimation. Math 124: Modules Overall Goal.

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions

The Chi-Square Distributions

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

Two-Sample Inference for Proportions and Inference for Linear Regression

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

Quantitative Analysis and Empirical Methods

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

The Chi-Square Distributions

Formulas and Tables by Mario F. Triola

Sociology 6Z03 Review II

Statistical inference provides methods for drawing conclusions about a population from sample data.

Psychology 282 Lecture #4 Outline Inferences in SLR

F79SM STATISTICAL METHODS

Math 494: Mathematical Statistics

Simple Linear Regression: One Qualitative IV

Transcription:

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12, 12.7-12.9 Winter 2012 Lecture 15 (Winter 2011) Estimation Lecture 15 1 / 25

Linking Two Approaches to Hypothesis Testing A magazine is considering the launch of an online edition. The magazine plans to go ahead only if it s convinced that more than 25% of current readers would subscribe. The magazine contacts a random sample of 500 currents subscribers and 137 of those surveyed expressed interest. Should the magazine go ahead? H 0 : p =? H A : p? ˆp = 137 500 n = 500 (Winter 2011) Estimation Lecture 15 2 / 25

P-value approach Set significance level: α = 0.05 Calculate test-statistic: t-statistic = ˆp p 0 p0 (1 p 0 )/n = Find P(z > and < test-statistic)? Compare p-value and significance level Conclusion? (Winter 2011) Estimation Lecture 15 3 / 25

(Winter 2011) Estimation Lecture 15 4 / 25

Rejection/Critical Region Approach Standardized test statistic vs Unstandardized test statistic Critical values from table for α = 0.05 and two-sided test Draw a graph with rejection/acceptance regions Conclusion? Unstandardized critical value: p0 (1 p 0 ) z α/2 + p 0 n (Winter 2011) Estimation Lecture 15 5 / 25

(Winter 2011) Estimation Lecture 15 6 / 25

(Winter 2011) Estimation Lecture 15 7 / 25

(Winter 2011) Estimation Lecture 15 8 / 25

Link CI Estimators and Two-Tailed Tests Using a confidence interval estimator, can approximate a two-tailed hypothesis test with same α. If parameter specified under H0 is in CI, then fail to reject H 0 If parameter specified under H0 is not in CI, then reject H 0 and infer H A is true Recall that confidence interval is always in original units; corresponds to unstandardized version of rejection region approach (Winter 2011) Estimation Lecture 15 9 / 25

95% CI: Online Edition Assume two-tailed test, i.e. H A : p 0.25 Critical values from table: ˆp(1 ˆp) CI: ˆp ± z α/2 n LCL: UCL: Important: sampling distribution when we compute CI is centered at?, while sampling distribution in hypothesis testing is centered at? (Winter 2011) Estimation Lecture 15 10 / 25

(Winter 2011) Estimation Lecture 15 11 / 25

Two-Tailed vs One-Tailed Test Economists often use two-tailed tests even if one-tailed seems to be more reasonable This is because two-tailed test is more conservative - less chance of getting statistically significant results (Winter 2011) Estimation Lecture 15 12 / 25

Type I and Type II Errors H 0 is true H A is true state of the world state of the world (Innocent) (Guilty) Fail to reject H 0 No error Type II Error (Acquit) Reject H 0 Type I Error No error (Convict) Type I error: reject a true null hypothesis Type II error: fail to reject a false null hypothesis (Winter 2011) Estimation Lecture 15 13 / 25

Significance level and Type I error Significance level is the maximum probability of Type I error a researcher is willing to tolerate P-value is the actual probability of Type I error What can be done to reduce Type I error? (Winter 2011) Estimation Lecture 15 14 / 25

Type II error and Power P(Type II Error)=β=P(Fail to reject null Null is false) Trade off α and β Decreasing α increases β Power of a test: the probability of rejecting the null hypothesis when it is false Power=1-β A statistical test with more power is always preferred P(Type II error) depends on: Parameter value under H0 and direction of H A Significance level α Sample size n True parameter value (p) (Winter 2011) Estimation Lecture 15 15 / 25

Finding Type II error P(Type II error)=p(fail to reject H 0 H 0 is false, H A is true) β = P(ˆp < critical value p A, n, α) β = P opposite direction of H A ( ˆp p A pa (1 p A ) n > p critical p A pa (1 p A ) n ) (Winter 2011) Estimation Lecture 15 16 / 25

Example Online edition example: H 0 : p = 0.25 vs H A : p > 0.25 Significance level α=0.05 Sample size, n=500 True parameter value, p=0.28 p0 (1 p 0 ) ˆp critical = 1.645 + p 0 = 0.28 n 0.28 0.28 β = P z < = P(z < 0) = 0.5 0.28 0.72 500 1 β = 1 0.5 = 0.5 (Winter 2011) Estimation Lecture 15 17 / 25

(Winter 2011) Estimation Lecture 15 18 / 25

Effect of significance level, α, on P(Type II error) Online edition example: H 0 : p = 0.25 vs H A : p > 0.25 Significance level α=0.01 Sample size, n=500 True parameter value, p=0.28 p0 (1 p 0 ) ˆp critical = 2.33 + p 0 = 0.30 n 0.30 0.28 β = P z < = P(z < 1) = 0.8413 0.28 0.72 500 1 β = 1 0.8413 = 0.1587 (Winter 2011) Estimation Lecture 15 19 / 25

(Winter 2011) Estimation Lecture 15 20 / 25

(Winter 2011) Estimation Lecture 15 21 / 25

Effect of sample size on P(Type II error) Online edition example: H 0 : p = 0.25 vs H A : p 0.25 Significance level α=0.05 Sample size,n=200 True parameter value, p=0.28 0.25(1 0.25) ˆp critical = 1.96 + 0.25 = 0.31 200 0.31 0.28 β = P z < = P(z < 0.95) = 0.8289 0.28 0.72 200 1 β = 1 0.8289 = 0.1711 (Winter 2011) Estimation Lecture 15 22 / 25

(Winter 2011) Estimation Lecture 15 23 / 25

Effect of parameter value under H A on P(Type II error) Online edition example: H 0 : p = 0.25 vs H A : p 0.25 Significance level α=0.05 Sample size, n=500 True parameter value, p=0.30 0.25(1 0.25) ˆp critical = 1.96 + 0.25 = 0.288 500 0.288 0.30 β = P z < = P(z < 0.59) = 0.2776 0.30 0.70 500 1 β = 1 0.2776 = 0.7224 (Winter 2011) Estimation Lecture 15 24 / 25

(Winter 2011) Estimation Lecture 15 25 / 25