Chapter 8 Introduction to Hypothesis Testing



Similar documents
HYPOTHESIS TESTING: POWER OF THE TEST

Hypothesis Testing --- One Mean

3.4 Statistical inference for 2 populations based on two samples

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

22. HYPOTHESIS TESTING

Hypothesis testing - Steps

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Testing a claim about a population mean

Chapter 2. Hypothesis testing in one population

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction

Introduction to Hypothesis Testing OPRE 6301

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

How To Test For Significance On A Data Set

Unit 26 Estimation with Confidence Intervals

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Estimation of σ 2, the variance of ɛ

6: Introduction to Hypothesis Testing

Two Related Samples t Test

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Hypothesis Testing. Hypothesis Testing

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

NCSS Statistical Software

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

6.2 Permutations continued

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Mind on Statistics. Chapter 12

Pearson's Correlation Tests

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

Module 2 Probability and Statistics

Introduction to Hypothesis Testing

Practice problems for Homework 12 - confidence intervals and hypothesis testing. Open the Homework Assignment 12 and solve the problems.

Lecture Notes Module 1

Point Biserial Correlation Tests

Testing Hypotheses About Proportions

Name: Date: Use the following to answer questions 3-4:

Correlational Research

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test)

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Hypothesis Testing for Beginners

1 Hypothesis Testing. H 0 : population parameter = hypothesized value:

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Chapter 4: Statistical Hypothesis Testing

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Non-Parametric Tests (I)

Principles of Hypothesis Testing for Public Health

NCSS Statistical Software. One-Sample T-Test

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

Tests for Two Proportions

Stats Review Chapters 9-10

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion

Using Stata for One Sample Tests

Name: (b) Find the minimum sample size you should use in order for your estimate to be within 0.03 of p when the confidence level is 95%.

1.5 Oneway Analysis of Variance

Lesson 9 Hypothesis Testing

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

Tests for One Proportion

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

STAT 350 Practice Final Exam Solution (Spring 2015)

Sample Size and Power in Clinical Trials

DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

Confidence Intervals for Cpk

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

Chapter 4 Statistical Inference in Quality Control and Improvement. Statistical Quality Control (D. C. Montgomery)

p ˆ (sample mean and sample

Confidence Intervals for the Difference Between Two Means

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Hypothesis Testing. Steps for a hypothesis test:

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

Week 3&4: Z tables and the Sampling Distribution of X

Permutation Tests for Comparing Two Populations

Recall this chart that showed how most of our course would be organized:

NCSS Statistical Software

Review #2. Statistics

Mind on Statistics. Chapter 13

November 08, S8.6_3 Testing a Claim About a Standard Deviation or Variance

Difference of Means and ANOVA Problems

1 Nonparametric Statistics

Nonparametric tests these test hypotheses that are not statements about population parameters (e.g.,

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Final Exam Practice Problem Answers

The Chi-Square Test. STAT E-50 Introduction to Statistics

Stat 5102 Notes: Nonparametric Tests and. confidence interval

General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

Chapter 2 Probability Topics SPSS T tests

Chapter 7 TEST OF HYPOTHESIS

Transcription:

Chapter 8 Student Lecture Notes 8-1 Chapter 8 Introduction to Hypothesis Testing Fall 26 Fundamentals of Business Statistics 1 Chapter Goals After completing this chapter, you should be able to: Formulate null and alternative hypotheses for applications involving a single population mean Formulate a decision rule for testing a hypothesis Know how to use the test statistic, critical value, and p-value approaches to test the null hypothesis Fall 26 Fundamentals of Business Statistics 2

Chapter 8 Student Lecture Notes 8-2 Testing Theories Hypotheses Competing theories that we want to test about a population are called Hypotheses in statistics. Specifically, we label these competing theories as Null Hypothesis (H ) and Alternative Hypothesis (H 1 or H A ). H : The null hypothesis is the status quo or the prevailing viewpoint. H A : The alternative hypothesis is the competing belief. It is the statement that the researcher is hoping to prove. Fall 26 Fundamentals of Business Statistics 3 The Null Hypothesis, H Begin with the assumption that the null hypothesis is true Refers to the status quo Always contains =, or sign May or may not be rejected (continued) Fall 26 Fundamentals of Business Statistics 4

Chapter 8 Student Lecture Notes 8-3 The Alternative Hypothesis, H A Challenges the status quo Never contains the =, or sign Is generally the hypothesis that is believed (or needs to be supported) by the researcher Provides the direction of extreme Fall 26 Fundamentals of Business Statistics 5 Hypothesis Testing Process Claim: the population mean age is 5. (Null Hypothesis: H : μ = 5 ) Is x=2 likely if μ = 5? If not likely, REJECT Null Hypothesis Fall 26 Fundamentals of Business Statistics Suppose the sample mean age is 2: x = 2 Population Now select a random sample Sample

Chapter 8 Student Lecture Notes 8-4 Deciding Which Theory to Support Decision making is based on the rare event concept. Since the null hypothesis is the status quo, we assume that it is true unless the observed result is extremely unlikely (rare) under the null hypothesis. Definition: If the data were indeed unlikely to be observed under the assumption that H is true, and therefore we reject H in favor of H A, then we say that the data are statistically significant. Fall 26 Fundamentals of Business Statistics 7 Reason for Rejecting H Sampling Distribution of x μ = 5 If H is true x Fall 26 Fundamentals of Business Statistics 8

Chapter 8 Student Lecture Notes 8-5 Level of Significance, α Defines unlikely values of sample statistic if null hypothesis is true Defines rejection region of the sampling distribution Is designated by α, (level of significance) Is selected by the researcher at the beginning Provides the critical value(s) of the test Fall 26 Fundamentals of Business Statistics 9 Level of Significance and the Rejection Region Level of significance = α H : μ 3 H A : μ < 3 H : μ 3 H A : μ > 3 Lower tail test Upper tail test α α Represents critical value Rejection region is shaded H : μ = 3 H A : μ 3 Two tailed test α/2 Fall 26 Fundamentals of Business Statistics 1 α /2

Chapter 8 Student Lecture Notes 8-6 Critical Value Approach to Testing Convert sample statistic (e.g.: statistic ( Z* or t* statistic ) x ) to test Determine the critical value(s) for a specified level of significance α from a table or computer If the test statistic falls in the rejection region, reject H ; otherwise do not reject H Fall 26 Fundamentals of Business Statistics 11 Critical Value Approach to Testing Convert sample statistic ( x ( Z* or t* statistic ) Is X ~ N? Yes No ) to a test statistic Sample Size? Yes Is σ known? Large (n 1) No, use sample standard deviation s Small 2. Use T~t (n-1) 1. Use Z~N(,1)

Chapter 8 Student Lecture Notes 8-7 Calculating the Test Statistic: Z Two-Sided: H : μ = μ ; H A : μ μ Reject H if Z* > Z (.5 α/2) or Z* < Z (.5 α/2), otherwise do not reject H One-Sided Upper Tail: H : μ μ ; H A : μ > μ Reject H if Z* > Z (.5 α), otherwise do not reject H One-Sided Lower Tail: H : μ z * = x μ σ n μ ; H A : μ < μ Reject H if Z* < -Z (.5 α), otherwise do not reject H Fall 26 Fundamentals of Business Statistics 13 T test Statistic Two-Sided: H : μ = μ ; H A : μ μ * Reject H if ( n 1) * ( n 1) t > t(, otherwise do not 1 α / 2) or t < t( 1 α / 2) reject H One-Sided Upper Tail: H : μ μ ; H A : μ > μ * ( 1) Reject H if t > t( n 1 α ), otherwise do not reject H One-Sided Lower Tail: H : μ μ ; H A : μ < μ * ( n 1) Reject H if t < t( 1 α ), otherwise do not reject H t * = x μ s n Fall 26 Fundamentals of Business Statistics 14

Chapter 8 Student Lecture Notes 8-8 Review: Steps in Hypothesis Testing 1. Specify the population value of interest 2. Formulate the appropriate null and alternative hypotheses 3. Specify the desired level of significance 4. Determine the rejection region 5. Obtain sample evidence and compute the test statistic 6. Reach a decision and interpret the result Fall 26 Fundamentals of Business Statistics 15 Hypothesis Testing Example Test the claim that the true mean # of TV sets in US homes is less than 3. Assume that σ =.8 1. Specify the population value of interest 2. Formulate the appropriate null and alternative hypotheses 3. Specify the desired level of significance

Chapter 8 Student Lecture Notes 8-9 Hypothesis Testing Example 4. Determine the rejection region (continued) α = Reject H Do not reject H Reject H if Z* test statistic < otherwise do not reject H Fall 26 Fundamentals of Business Statistics 17 Hypothesis Testing Example 5. Obtain sample evidence and compute the test statistic A sample is taken with the following results: n = 1, x = 2.84 (σ =.8 is assumed known) Then the test statistic is: Z * = x μ σ = n Fall 26 Fundamentals of Business Statistics 18

Chapter 8 Student Lecture Notes 8-1 Hypothesis Testing Example (continued) 6. Reach a decision and interpret the result α = Reject H Do not reject H z Since Z* = -2. <, Fall 26 Fundamentals of Business Statistics 19 p-value Approach to Testing p-value: Probability of obtaining a test statistic more extreme than the observed sample value given H is true Also called observed level of significance Smallest value of α for which H can be rejected Fall 26 Fundamentals of Business Statistics 2

Chapter 8 Student Lecture Notes 8-11 p-value Approach to Testing Convert Sample Statistic to Test Statistic ( Z* or t* statistic ) Obtain the p-value from a table or computer Compare the p-value with α If p-value < α, reject H If p-value α, do not reject H Fall 26 Fundamentals of Business Statistics 21 P-Value Calculation Z test statistic Two-Sided: 2 min {P(Z Z*,Z Z*)} One-Sided Upper Tail P(Z Z*) One-Sided Lower Tail P(Z Z*) T test statistic Two-Sided: 2 min {P(t t*,t t*)} One-Sided Upper Tail P(t t*) One-Sided Lower Tail P(t t*) Fall 26 Fundamentals of Business Statistics 22

Chapter 8 Student Lecture Notes 8-12 p-value example Fall 26 Fundamentals of Business Statistics 23 Example: Upper Tail z Test for Mean (σ Known) A phone industry manager thinks that customer monthly cell phone bill have increased, and now average over $52 per month. The company wishes to test this claim. (Assume σ = 1 is known) Form hypothesis test: H : μ 52 H A : μ > 52 the average is not over $52 per month the average is greater than $52 per month (i.e., sufficient evidence exists to support the manager s claim) Fall 26 Fundamentals of Business Statistics 24

Chapter 8 Student Lecture Notes 8-13 Example: Find Rejection Region (continued) Reject H α = Do not reject H Reject H Fall 26 Fundamentals of Business Statistics 25 Example: Test Statistic Obtain sample evidence and compute the test statistic A sample is taken with the following results: n = 64, x = 53.1 (σ=1 was assumed known) (continued) Then the test statistic is: Z * = x μ σ n = Fall 26 Fundamentals of Business Statistics 26

Chapter 8 Student Lecture Notes 8-14 Example: Decision (continued) Reach a decision and interpret the result: Reject H α = Do not reject H Reject H Fall 26 Fundamentals of Business Statistics 27 p -Value Solution Calculate the p-value and compare to α (continued) Do not reject H Reject H Fall 26 Fundamentals of Business Statistics 28

Chapter 8 Student Lecture Notes 8-15 Example: Two-Tail Test (σ Unknown) The average cost of a hotel room in New York is said to be $168 per night. A random sample of 25 hotels resulted in X = $172.5 and s = $15.4. Test at the α =.5 level. (Assume the population distribution is normal) H : μ = 168 H A : μ 168 Fall 26 Fundamentals of Business Statistics 29 Outcomes and Probabilities Possible Hypothesis Test Outcomes Key: Outcome (Probability) Decision Do Not Reject H Reject H State of Nature H True No error (1 - ) α Type I Error ( ) α H False Type II Error ( β ) No Error ( 1 - β ) Fall 26 Fundamentals of Business Statistics 3