Chapter 8 Hypothesis Testing

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

Hypothesis Testing --- One Mean

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

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

Section 8-1 Pg. 410 Exercises 12,13

Regression Analysis: A Complete Example

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

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

3.4 Statistical inference for 2 populations based on two samples

HYPOTHESIS TESTING: POWER OF THE TEST

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

Stats Review Chapters 9-10

Hypothesis Testing. Hypothesis Testing

Statistics 100 Sample Final Questions (Note: These are mostly multiple choice, for extra practice. Your Final Exam will NOT have any multiple choice!

6: Introduction to Hypothesis Testing

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Online 12 - Sections 9.1 and 9.2-Doug Ensley

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

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

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Introduction to Hypothesis Testing OPRE 6301

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

Hypothesis testing - Steps

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

8 6 X 2 Test for a Variance or Standard Deviation

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

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%.

Mind on Statistics. Chapter 12

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

Testing a claim about a population mean

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

Z-table p-values: use choice 2: normalcdf(

STAT 145 (Notes) Al Nosedal Department of Mathematics and Statistics University of New Mexico. Fall 2013

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.

The power of a test is the of. by using a particular and a. value of the that is an to the value

Chapter 2. Hypothesis testing in one population

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

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

Chapter 7 TEST OF HYPOTHESIS

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

Chapter 23. Two Categorical Variables: The Chi-Square Test

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

Chapter 26: Tests of Significance

Introduction to Hypothesis Testing

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

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

STATISTICS 8, FINAL EXAM. Last six digits of Student ID#: Circle your Discussion Section:

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

STAT 350 Practice Final Exam Solution (Spring 2015)

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

In the past, the increase in the price of gasoline could be attributed to major national or global

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct

Lecture Notes Module 1

Section 12 Part 2. Chi-square test

Introduction. Statistics Toolbox

Inference on Proportion. Chapter 8 Tests of Statistical Hypotheses. Sampling Distribution of Sample Proportion. Confidence Interval

Chapter 7: One-Sample Inference

Chi-square test Fisher s Exact test

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Tests for Two Proportions

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

Math 251, Review Questions for Test 3 Rough Answers

TI 83/84 Calculator The Basics of Statistical Functions

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

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

SPSS/Excel Workshop 2 Semester One, 2010

Non-Inferiority Tests for Two Means using Differences

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

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Difference of Means and ANOVA Problems

Principles of Hypothesis Testing for Public Health

NCSS Statistical Software. One-Sample T-Test

How To Test For Significance On A Data Set

Final Exam Practice Problem Answers

Using Excel for inferential statistics

NCSS Statistical Software

FAT-FREE OR REGULAR PRINGLES: CAN TASTERS TELL THE DIFFERENCE?

Permutation Tests for Comparing Two Populations

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

One-Way Analysis of Variance (ANOVA) Example Problem

Unit 26 Estimation with Confidence Intervals

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

ELEMENTARY STATISTICS

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

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

Describing Populations Statistically: The Mean, Variance, and Standard Deviation

Non-Inferiority Tests for One Mean

9 Testing the Difference

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

CHAPTER 14 NONPARAMETRIC TESTS

Estimation of σ 2, the variance of ɛ

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

12: Analysis of Variance. Introduction

Normal distributions in SPSS

Using Microsoft Excel to Analyze Data

Tests for One Proportion

Testing Hypotheses About Proportions

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

Transcription:

Chapter 8 Hypothesis Testing Stat 261 Section 8.1 Introduction 1. Basic Concepts 1). A statistical hypothesis a statement/claim/theory about a population parameter. The null hypothesis is a theory about a population parameter. It is denoted by H, and it is usually stated as H : parameter = value. The alternative hypothesis is a theory that contradicts the null hypothesis. It is denoted by H 1, and it is always specified as strict inequalities, such as, >, or <. Steps for Selecting the Null and Alternative Hypotheses I. Select the alternative hypothesis as that which the sampling experiment is intended to establish. The alternative hypothesis has one of the three forms: H 1 : μ > value (right-tailed) H 1 : μ < value (left-tailed) H 1 : μ value (two-sided) II. Select the null hypothesis which is usually specified as equality. Example 1: A researcher is interested in finding out whether the average age of all cars in use is higher than 8 years. The null and alternative hypotheses can be stated as: H : μ = 8 and H 1 : μ > 8. This test is called a right-tailed test. Example 2: According to a report, the mean monthly bill for cell phone users in the United States was $49.7 in 1999. We want to determine whether last year s mean monthly bill for cell phone users has decreased from the 1999 mean of $49.7. The hypotheses are H : μ = 49.7 and H 1 : μ < 49.7. This test is called a left-tailed test. Example 3: A researcher wishes to find out whether the mean body temperature of humans is 98.6 F. The null and alternative hypotheses can be stated as: H : μ = 98.6 and H 1 : μ 98.6. This test is called a two-tailed test. 2). A test statistic or test value is a numerical value obtained from a sample and is used to decide whether the null hypothesis should be rejected. 3). The critical or rejection region the set of values for the test statistic that leads to rejection of the null hypothesis. Critical values the values that separate the rejection from the non-rejection regions. 4). Type I error rejecting the null hypothesis when it is in fact true. Type II error not rejecting the null hypothesis when it is in fact false. H is true H is false Do not reject H Correct decision Type II error Reject H Type I error Correct decision 5). Significance level - the probability of making a Type I error, denoted by α. Three common values for significance level:.1,.5, and.1. 1

Section 8.2 z Test for a Mean (Traditional Method and P-value Method) Stat 261 1. Definition The z test is a statistical test which can be used when the population standard deviation is known and the population is normally distributed or when n 3. The test statistic for a z test with null hypothesis H : μ = μ is: X z. / n 2. Traditional Method (Critical-Value Method) for Hypothesis Testing 1) Steps: State the hypotheses. Compute the value of the test statistic. Find the rejection region at a specified significance level α. Make the decision to reject or not reject H. Interpret the results of the hypothesis test. 2) Finding the Rejection Region for a Specific α value when a z-test is performed. a) Right-tailed Rejection region: z > z α, where z α is a z value that will give an area of α in the right tail of the standard normal distribution. z α is also called the critical value, a value that separates the rejection region and non-rejection region. If α =.5, the rejection region is z > 1.645. Right tail area α C.V. b) Left-tailed For a left-tailed test, the rejection region: z < -z α. When α=.5, the C.V. is -1.645, the rejection region is z < -1.645. 2

Stat 261 c) Two-sided For a two-sided test, the rejection region: z > z α/2 or z < -z α/2. When α=.5., the rejection region is z > 1.96 or z < -1.96. Total tail area = Table 8.1 Summary of rejection region at a specific significance level α Rejection Region Upper-tailed Lower-tailed Two-sided α =.1 z > 2.33 z < -2.33 z > 2.575 or z < -2.575 α =.5 z > 1.645 z < -1.645 z > 1.96 or z < -1.96 α =.1 z > 1.28 z < -1.28 z > 1.645 or z < -1.645 Example 1: A researcher is interested in finding out whether the average age of all cars in use is higher than 8 years. A random sample of 4 cars were selected and the average age of cars was found to be 8.5 yrs, and the standard deviation was 3.5 yrs. At α=.5, can it be concluded that the average age of all cars in use is higher than 8 years? Example 2: According to a report, the mean monthly bill for cell phone users in the United States was $49.7 in 1999. We want to determine whether last year s mean monthly bill for cell phone users has decreased from the 1999 mean of $49.7. A random sample of 5 sample users was selected and average of the last year s monthly cell phone bills for these 5 users was $41.4. At the 1% significance level, do we have enough evidence to conclude that last year s mean monthly bill for cell phone users has decreased from the 1999 mean of $49.7? Assume that σ = 25. 3

Stat 261 Example 3: A researcher wishes to find out whether the mean body temperature of humans is 98.6 F. The researcher obtained the body temperature of 93 healthy humans and found that the mean body temperature is 98.1 F. At the 1% significance level, do the data provide sufficient evidence to conclude that the mean body temperature of healthy humans differs from 98.6 F. Assume that σ =.63 F. 3. P-value Method 1) Definition P-value- the P-value of a hypothesis test is the probability of observing a value of the test statistic as extreme or more extreme than that observed when the null hypothesis is true. Right-tailed test: The P-value is the probability of observing a value of the test statistic as large as or larger than the value actually observed, which is the area under the standard normal curve that lies to the right of the observed test statistic. Left-tailed test: The P-value is the probability of observing a value of the test statistic as small as or smaller than the value actually observed. Two-sided test: The P-value is the probability of observing a value of the test statistic at least as large in magnitude as the value actually observed. 2) Steps State the hypotheses. Compute the value of the test statistic, say z. Find the P-value. For an upper-tailed test, P-value = P(z > z ). For a lower -tailed test, P-value = P(z < z ). For a two-sided test, P-value = 2*P(z > z ) if z >, or = 2*P(z < z ) if z <. If P value α, reject H ; otherwise, do not reject H. Interpret the results of the hypothesis test. Example 1: Use the P-value method to perform the same hypothesis test. 4

Stat 261 Example 2 Use the P-value method to perform the same hypothesis test. Example 3: Use the P-value method to perform the same hypothesis test. Section 8.3 t Test for a Mean 1. Definition The t test is a statistical test which can be used when the population is normally distributed, σ is unknown and n < 3. The test statistic for a t test with null hypothesis H : μ = μ is: X t. s / n The degrees of freedom are d.f. = n -1. 2. Finding the rejection region 1) H 1 : µ > µ, rejection region: t > t α. 2) H 1 : µ < µ, rejection region: t <- t α. 3) H 1 : µ µ, rejection region: t > t α/2 or t < -t α/2. Where t α.is the t-value that will give an area of α to its right. t α.and t α/2 are based on (n-1) df. Example: The average undergraduate cost for tuition, fees, and room for two-year institutions last year was $13,252. The following year, a random sample of 2 two-year institutions had a mean of $15,56 and a standard deviation of $35. Is there sufficient evidence at α =.5 to conclude that the mean cost has increased? 5

Section 8.4 z Test for a Proportion Stat 261 1. The test statistic for a test of hypothesis with H : p = p is: z pˆ p p, q / n Where pˆ is the sample proportion, n is the sample size, p is the hypothesized value of p. 2. Rejection region (Traditional method) See Table 8.1. 3. p-value (p-value method) See Section 8.2. Example 8.4.1: A recent survey found that 64.7% of the population owns their homes. In a random sample of 15 heads of household, 92 responded that they owned their homes. At the.1 level of significance, does that indicate a difference from the national proportion? Use the traditional method. Example 8.4.2: Nationally 6.2% of federal prisoners are serving time for drug offenses. A warden feels that in his prison the percentage is even higher. He surveys 4 inmates records and finds that 26 of the inmates are drug offenders. At α =.5, is he correct? Use the P-value method. 6