Ch. 9 examples.

Slides:



Advertisements
Similar presentations
Ch. 21 Practice.
Advertisements

Ch. 8 – Practical Examples of Confidence Intervals for z, t, p.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Two Sample Hypothesis Testing for Proportions
1. Estimation ESTIMATION.
Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
Test for a Mean. Example A city needs $32,000 in annual revenue from parking fees. Parking is free on weekends and holidays; there are 250 days in which.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
7.2 Hypothesis Testing for the Mean (Large Samples Statistics Mrs. Spitz Spring 2009.
Hypothesis Testing with Two Samples
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Claims about a Population Mean when σ is Known Objective: test a claim.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Ch. 10 examples Part 1 – z and t Ma260notes_Sull_ch10_HypTestEx.pptx.
1 BA 275 Quantitative Business Methods Hypothesis Testing Elements of a Test Concept behind a Test Examples Agenda.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Lecture 3: Review Review of Point and Interval Estimators
Section 9.2 ~ Hypothesis Tests for Population Means Introduction to Probability and Statistics Ms. Young.
The Probability of a Type II Error and the Power of the Test
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Tests of Significance: The Basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
© Copyright McGraw-Hill 2004
Exercise - 1 A package-filling process at a Cement company fills bags of cement to an average weight of µ but µ changes from time to time. The standard.
Inferences Concerning Variances
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
1 Chapter 23 Inferences About Means. 2 Inference for Who? Young adults. What? Heart rate (beats per minute). When? Where? In a physiology lab. How? Take.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Unit 8 Section : Hypothesis Testing for the Mean (σ unknown)  The hypothesis test for a mean when the population standard deviation is unknown.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter 9 Hypothesis Testing.
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Tests for a Population Mean in Practice
Inferences on Two Samples Summary
Ch. 9 examples.
Chapter 9: Hypothesis Testing
Section 12.2: Tests about a Population Proportion
St. Edward’s University
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Ch. 9 examples.
Slides by JOHN LOUCKS St. Edward’s University.
Exercise - 1 A package-filling process at a Cement company fills bags of cement to an average weight of µ but µ changes from time to time. The standard.
Power Section 9.7.
Chapter Outline Inferences About the Difference Between Two Population Means: s 1 and s 2 Known.
Hypothesis Testing for Proportions
Presentation transcript:

Ch. 9 examples

Summary of Hypothesis test steps Null hypothesis H0, alternative hypothesis H1, and preset α Test statistic and sampling distribution P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results 2-tailed ex H0: µ= 100 H1: µ ≠ 100 α = 0.05 Left tail ex H0: µ = 200 H1: µ < 200 Right tail ex H0: µ = 50 H1: µ > 50

Should you use a 2 tail, or a right, or left tail test? 2-tailed ex H0: µ= __ H1: µ ≠ __ Left tail ex H0: µ = ___ H1: µ < ___ Right tail ex H0: µ = __ H1: µ > __ Test whether the average in the bag of numbers is or isn’t 100. Test if a drug had any effect on heartrate. Test if a tutor helped the class do better on the next test. Test if a drug improved elevated cholesterol.

Type I and Type II error

Probabilities associated with error

Example #1- numbers in a bag Recall that I claimed that my bag of numbers had a mean µ = 100 and a standard deviation =21.9. Test this hypothesis if your sample size n= 20 and your sample mean x-bar was 90.

Ex #1- Hypothesis Test for numbers in a bag α = 0.05 Z = = P-value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #2– new sample mean for numbers in a bag If the sample mean is 95, redo the test: H0: µ = 100 H1: µ ≠ 100 α = 0.05 Z = = P-value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #3: Left tail test- cholesterol A group has a mean cholesterol of 220. The data is normally distributed with σ= 15 After a new drug is used, test the claim that it lowers cholesterol. Data: n=30, sample mean= 214.

Ex #3- cholesterol- test H0: µ 220 (fill in the correct hypotheses here) H1: µ 220 α = 0.05 Z = = P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #4- right tail- tutor Scores in a MATH117 class have been normally distributed, with a mean of 60 all semester. The teacher believes that a tutor would help. After a few weeks with the tutor, a sample of 35 students’ scores is taken. The sample mean is now 62. Assume a population standard deviation of 5. Has the tutor had a positive effect?

Ex #4: tutor Z = = P-value and/or critical value 4. Test conclusion H0: µ 60 (fill in the correct hypotheses here) H1: µ 60 α = 0.05 Z = = P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

9.2– t tests Just like with confidence intervals, if we do not know the population standard deviation, we substitute it with s (the sample standard deviation) and Run a t test instead of a z test

Ex #5– t test – placement scores The placement director states that the average placement score is 75. Based on the following data, test this claim. Data: 42 88 99 51 57 78 92 46 57

Ex #5 t test – placement scores H0: µ 75 fill in the correct hypothesis here H1: µ 75 α = 0.05 t = = P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #6- placement scores The head of the tutoring department claims that the average placement score is below 80. Based on the following data, test this claim. Data: 42 88 99 51 57 78 92 46 57

Ex #6– t example H0: µ 80 (fill in the correct hypotheses here) α = 0.05 t = = P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #7- salaries– t A national study shows that nurses earn $40,000. A career director claims that salaries in her town are higher than the national average. A sample provides the following data: 41,000 42,500 39,000 39,999 43,000 43,550 44,200

Ex #7- salaries H0: µ 40000 (fill in the correct hypotheses here) α = 0.05 t = = P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Traditional Critical Value Approach Redo Example #1 Recall that I claimed that my bag of numbers had a mean µ = 100 and a standard deviation =21.9. Test this hypothesis if your sample size n= 20 and your sample mean x-bar was 90.

Ex#1 redone with CV Z = = CV 4. Test conclusion α = 0.05 Z = = CV 4. Test conclusion If p-value ≤ α, then test value is in RR, and we reject H0 and say that the data are significant at level α If p-value > α, then test value is not in RR, and we do not reject H0 5. Interpretation of test results

Ex #3 redone with CV A group has a mean cholesterol of 220. The data is normally distributed with σ= 15 After a new drug is used, test the claim that it lowers cholesterol. Data: n=30, sample mean= 214.

Ex#3- 5 steps- done with CV H1: µ 220 (fill in) α = 0.05 Z = = CV 4. Test conclusion If p-value ≤ α, then test value is in RR, and we reject H0 and say that the data are significant at level α If p-value > α, then test value is not in RR, and we do not reject H0 5. Interpretation of test results

9.3 Testing Proportion p Recall confidence intervals for p: ± z

Hypothesis tests for proportions Null hypothesis H0, alternative hypothesis H1, and preset α 2. Test statistic and sampling distribution P-value and/or critical value z= = 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results 2-tailed ex H0: p= .5 H1: p ≠ .5 α = 0.05 Left tail ex H0: p = .7 H1: p < .7 Right tail ex H0: p = .2 H1: p > .2

Ex #8- proportion who like job The HR director at a large corporation estimates that 75% of employees enjoy their jobs. From a sample of 200 people, 142 answer that they do. Test the HR director’s claim.

Ex #8 H0: p=.75 (fill in hypothesis) H1: p α = Null hypothesis H0, alternative hypothesis H1, and preset α H0: p=.75 (fill in hypothesis) H1: p α = Test statistic and sampling distribution Z = = 3. P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results

Ex #9 Previous studies show that 29% of eligible voters vote in the mid-terms. News pundits estimate that turnout will be lower than usual. A random sample of 800 adults reveals that 200 planned to vote in the mid-term elections. At the 1% level, test the news pundits’ predictions.

Ex #9 H0: p (fill in hypothesis) H1: p α = Null hypothesis H0, alternative hypothesis H1, and preset α H0: p (fill in hypothesis) H1: p α = Test statistic and sampling distribution Z = = 3. P-value and/or critical value 4. Test conclusion If p-value ≤ α, we reject H0 and say that the data are significant at level α If p-value > α, we do not reject H0 5. Interpretation of test results