Welcome to MM207 - Statistics! Unit 7 Seminar: Insert Day, Date here Insert time here ET Professor: Insert your name here Good Evening Everyone! To resize.

Slides:



Advertisements
Similar presentations
Hypothesis Testing 7.
Advertisements

Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Is it statistically significant?
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Introduction to Hypothesis Testing
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
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.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Section 7-2 Hypothesis Testing for the Mean (n  30)
7.3 Hypothesis Testing for the Mean (Small Samples) Statistics Mrs. Spitz Spring 2009.
Section 7-3 Hypothesis Testing for the Mean (Small Samples) Objective: SWBAT How to find critical values in a t- distribution. How to use the t-test to.
Hypothesis Testing with One Sample
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
7.2 Hypothesis Testing for the Mean (Large Samples Statistics Mrs. Spitz Spring 2009.
Overview Definition Hypothesis
Hypothesis testing is used to make decisions concerning the value of a parameter.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Claims about a Population Mean when σ is Known Objective: test a claim.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.3 Hypothesis Testing for the Mean (  Unknown).
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Procedure for Hypothesis Testing 1. Establish the null hypothesis, H 0. 2.Establish.
Hypothesis Testing for Proportions
Chapter 10 Hypothesis Testing
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
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.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Introduction to Hypothesis Testing
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
1 Section 8.3 Testing a claim about a Proportion Objective For a population with proportion p, use a sample (with a sample proportion) to test a claim.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
Hypothesis Testing for the Mean (Small Samples)
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
SECTION 7.2 Hypothesis Testing for the Mean (Large Samples) 1 Larson/Farber 4th ed.
Welcome to MM207 – Statistics Hypothesis Testing with One Sample Chapter – 7.4 Anthony J. Feduccia.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chapter 7 Hypothesis Testing with One Sample 1 Larson/Farber 4th ed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Math 4030 – 9a Introduction to Hypothesis Testing
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
Introduction to Hypothesis Testing
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Welcome to MM207 Unit 7 Seminar Dr. Bob Hypothesis Testing and Excel 1.
Lesson Probability of a Type-II Error and the Power of the Test.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
Level of Significance Level of significance Your maximum allowable probability of making a type I error. – Denoted by , the lowercase Greek letter alpha.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter 7 Statistics Power Point Review Hypothesis Testing.
Section 7.3 Hypothesis Testing for the Mean (Small Samples) © 2012 Pearson Education, Inc. All rights reserved. 1 of 15.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 7 Hypothesis Testing with One Sample.
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Use invNorm (2nd VARS 3) functions: Use invT (2nd VARS 4) functions:
Presentation transcript:

Welcome to MM207 - Statistics! Unit 7 Seminar: Insert Day, Date here Insert time here ET Professor: Insert your name here Good Evening Everyone! To resize your pods: Place your mouse here. Left mouse click and hold. Drag to the right to enlarge the pod. To maximize chat, minimize roster by clicking here

Hypothesis Testing - Example Criminal Trial Null hypothesis: H0 = defendant is not-guilty Alternative hypothesis: Ha = person is guilty Procedure We assume Null hypothesis is true. The defendant is not-guilty until we prove otherwise. Evidence is presented and we then decide whether to: –Reject the Null hypothesis (person is guilty) –Do not reject the Null hypothesis (not enough evidence to reject, but it doesn’t mean it is true)

Hypothesis Testing Errors Type I error Reject a true Null hypothesis (i.e. innocent person found guilty) α = alpha = probability of Type I error Type II error Do not reject a false Null hypothesis (i.e. guilty man goes free) β = beta = probability of Type II error

Hypothesis Tests: 3 types Null hypothesis always in the form: H0: µ = k (mean equals a certain value) Alternative hypothesis can take 3 forms: Ha: µ k (right-tail, actual mean is greater than stated value) Ha: µ ≠ k (two-tail, actual mean is not equal to stated value) The language of the problem will tell you which Alternative hypothesis you need to use. This takes practice

Determining the P-value The P-value is critical in determining if H0 should be rejected. P-value is one of three values (pg 379): –Left-tailed test: P-value = P(z < z x ) –Right-tailed test: P-value = P(z > z x ) –Two-tailed test: P-value = 2 * P(z > z x ) Note: z x is the test statistic. Rejection criteria –If P-value ≤ α, reject H0 –If P-value > α, do not reject H0

Calculating the Test Statistics Same procedure that we used in Unit 6 σ is known (normal distribution) z = (xbar - µ) / (σ/√n) σ is unknown (student t distribution) t = (xbar - µ) / (s/√n) with d.f. = n - 1

Working a Hypothesis Test Problem 1.Write down the information you know. 2.Determine the Null and Alternative hypothesis 3.Find the test statistic 1.σ is known 1.If normally distributed, use a z statistic 2.If distribution is unknown but n ≥ 30, use a z statistic 2.σ is unknown 1.If normally distributed, use a t statistic 2.If distribution is unknown but n ≥ 30, use a t statistic 4.Find the P-value based on the “tail type” and test statistic 5.If P-value ≤ α then reject H0. If P-value > α, then do not reject H0. 6.Summarize results

Section 7.2, problem #4 In an advertisement, a pizza shop claims that its mean delivery time is less than 30 minutes. A random sample of 36 delivery times has a sample mean of 28.5 minutes and a standard deviation of 3.5 minutes. Is there enough evidence to support the claim at α = 0.01? Use a p-value. Step 1: Write down what you know: µ = 30 (historical information) xbar = 28.5 (mean obtained from sampling) σ = 3.5 (standard deviation from historic research) n = 36 (sample size) α = 0.01 (level of significance, given by problem)

Section 7.2, problem #4 Step 1: Write down what you know: µ = 30 (historical information) xbar = 28.5 (mean obtained from sampling) σ = 3.5 (standard deviation obtained from historic research) n = 36 (sample size) α = 0.01 (level of significance, given by problem) Step 2: Set up Hypothesis test From the problem H0: µ ≥ 30 (the mean delivery time is more than 30 minutes) Ha: µ < 30 (the mean deliver time is less than 30, left-tailed test)

Section 7.2, problem #4 µ = 30 (historical information) xbar = 28.5 (mean obtained from sampling) σ = 3.5 (standard deviation from historic research) n = 36 (sample size) α = 0.01 (level of significance, given by problem) Step 3: Find test statistic. We know σ so we will use a z statistic z = (xbar - µ) / (σ/√n) = (28.5 – 30) / (-1.5/√36) = Step 4: Find the P-value for a right-tailed test P-value = P(z < z x )= P(z < -2.57) =

Section 7.2, problem #4 P-value = α = 0.01 Step 5: If P-value ≤ α then reject H ≤ 0.01 is true We reject H0 Step 6: Summarize the results At a 1% significance level there is insufficient evidence to say that the average delivery time is less than 30 minutes.

Section 7.2, problem #4: Answer a)H0: µ ≥ 30 Ha: µ < 30 (left-tailed test) level of significance = α = 0.01 b)Normal distribution since n > 30 and σ ≈ s z = c)Sketch not required P-value = d)Since P-value is less than α, we reject H0. The data is statistically significant at 1%. e)At a 1% significance level, there is sufficient evidence to say the average pizza delivery time is less than 30 minutes. Note: The above is only the answers. You should show more intermediate work to receive partial credit for incorrect answers.

Section 7.3, problem #5 (page 401) An industrial company claims that the mean pH level of the water in a nearby river is 6.8. You randomly select 19 water samples and measure the pH of each. The sample mean and standard deviation are 6.7 and 0.24, respectively. Is there enough evidence to reject the company’s claim at α = 0.05? Assume the population is normally distributed. Step 1: Write down what you know: µ = 6.8 (historical information) xbar = 6.7 (mean obtained from sampling) s = 0.24 (sample standard deviation from sample) n = 19 (sample size) α = 0.05 (level of significance, given by problem)

Section 7.3, problem #5 Step 1: Write down what you know: µ = 6.8 (historical information) xbar = 6.7 (mean obtained from sampling) s = 0.24 (sample standard deviation from sample) n = 19 (sample size) α = 0.05 (level of significance, given by problem) Step 2: Set up Hypothesis test From the problem H0: µ = 6.8 (pH value is 6.8) Ha: µ ≠ 6.8 (reject company’s claim, two-tailed test)

Section 7.3, problem #5 µ = 6.8 (historical information) xbar = 6.7 (mean obtained from sampling) s = 5.2 (sample standard deviation from sample) n = 19 (sample size) α = 0.05 (level of significance, given by problem) Step 3: Find test statistic. We do not know σ so we will use a t statistic. t = (xbar - µ) / (s/√n) = (6.7 – 6.8) / (0.24/√19) = |-1.816| = is to, the critical value Step 4: Find the P-value for a two-tailed test d.f. = n – 1 = 19 – 1 = 18 For d.f. = 18, we have falling between and t = has an area of and t = has an area of P-value interval is: < P-value < 0.100

Finding P-value interval T = d.f. = 18

Section 7.3, problem #5 P-value interval: < P-value < α = 0.05 Step 5: If P-value ≤ α then reject H0 From the P-value interval, we know that the P-value is larger than 0.05 so we do not reject H0. Step 6: Summarize the results At a 5% significance level there is insufficient evidence to say that the mean pH is 6.8.

Section 7.3, problem #5: Answer a)H0: µ = 6.8 Ha: µ ≠ 6.8 (two-tailed test) level of significance = α = 0.01 b)Student’s t distribution since n < 30 and σ is unknown, distributed normal t = c)Sketch not required P-value interval: < P-value < d)Since P-value is greater than α, we do not reject H0. The data is not statistically significant at 5%. e)At a 5% significance level there is insufficient evidence to say that the pH value is 6.8. Note: The above is only the answers. You should show more intermediate work to receive partial credit for incorrect answers.