Lesson 10 - R Summary of Hypothesis Testing. Objectives Review Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Lesson 10 - QR Summary of Sections 1 thru 4. Objectives Review Hypothesis Testing –Basics –Testing On Means, μ, with σ known  Z 0 Means, μ, with σ unknown.
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)
Regarding a Parameter – Single Mean & Single Proportion
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Section 9.3 Inferences About Two Means (Independent)
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Hypothesis Testing Using a Single Sample
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups.
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.
Inferences On Two Samples
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
8-5 Testing a Claim About a Standard Deviation or Variance This section introduces methods for testing a claim made about a population standard deviation.
Chapter 9 Hypothesis Testing.
Business Statistics - QBM117 Testing hypotheses about a population mean.
Significance Tests for Proportions Presentation 9.2.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Lesson Confidence Intervals about a Population Standard Deviation.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Lesson 11 - R Review of Testing a Claim. Objectives Explain the logic of significance testing. List and explain the differences between a null hypothesis.
More About Significance Tests
Chapter 9 Hypothesis Testing: Single Population
Chapter 10 Hypothesis Testing
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Lesson Significance Tests: The Basics. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Lesson 9 - R Chapter 9 Review.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Lesson Testing Claims about a Population Mean in Practice.
© Copyright McGraw-Hill 2004
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 26 Chapter 11 Section 1 Inference about Two Means: Dependent Samples.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 10 Summary – Slide 1 of 4 Chapter 10 Hypothesis Tests Regarding a Parameter Summary.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Part 1: Chapters 7 to 9. 95% within 2 standard deviations 68% within 1 standard deviations 99.7% within 3 standard deviations.
Chapter Nine Hypothesis Testing.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 9 Hypothesis Testing.
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Tests for a Population Mean in Practice
Inferences on Two Samples Summary
Chapter 9 Hypothesis Testing.
STATISTICS INFORMED DECISIONS USING DATA
Review of Chapter 10 Comparing Two Population Parameters
Testing Claims about a Population Standard Deviation
Presentation transcript:

Lesson 10 - R Summary of Hypothesis Testing

Objectives Review Hypothesis Testing

Hypothesis Testing The process of hypothesis testing is very similar across the testing of different parameters The major steps in hypothesis testing are –Formulate the appropriate null and alternative hypotheses –Calculate the test statistic –Determine the appropriate critical value(s) –Reach the reject / do not reject conclusions

Similarities in hypothesis test processes ParameterMean ( σ known) Mean ( σ unknown) ProportionVarianceStd Dev H0:H0:μ = μ 0 p = p 0 σ 2 = σ 0 2 σ = σ 0 (2-tailed) H 1 :μ ≠ μ0μ ≠ μ0 μ ≠ μ 0 p ≠ p 0 σ 2 ≠ σ 0 2 σ ≠ σ 0 (L-tailed) H 1 :μ < μ 0 p < p 0 σ < σ 0 2 σ < σ 0 (R-tailed) H 1 :μ > μ 0 p > p 0 σ > σ 0 2 σ > σ 0 Test statisticDifference Ratio Critical valueNormalStudent tNormalChi-square

Chapter 10 – Section 1 If a researcher wishes to test a claim that the average weight of a white rhinoceros is 5,000 lbs, then she should state a null hypothesis of 1)H 1 : Average weight = 5,000 pounds 2)H 0 : Average weight = 5,000 pounds 3)H 0 : Average weight ≠ 5,000 pounds 4)H 0 + H 1 : Average weight = 5,000 pounds

Chapter 10 – Section 1 If the hypotheses for a test are H 0 : μ = 20 seconds H 1 : μ < 20 seconds then an example of a Type I error occurs when 1)μ = 20 seconds and we did not reject H 0 2)μ = 15 seconds and we rejected H 0 3)μ = 25 seconds and we did not reject H 0 4)μ = 20 seconds and we rejected H 0

Chapter 10 – Section 2 The classical approach rejects the null hypothesis H 0 : μ = 20 when 1)The sample mean is far (too many standard deviations) from 20 2)The sample mean is not equal to 20 3)The sample mean is close (too few standard deviations) to 20 4)The sample mean is equal to 20

Chapter 10 – Section 2 In the P-value approach, relatively small values of the P-value correspond to situations where 1)The classical approach does not apply 2)The null hypothesis H 0 must be accepted 3)The null hypothesis H 0 must be rejected 4)The probability of obtaining such a sample mean is relatively small

Chapter 10 – Section 3 When the population standard deviation σ is not known, then we should perform hypothesis tests using 1)The alternative hypothesis 2)The t-distribution 3)The normal distribution 4)The Type II Error

Chapter 10 – Section 3 In testing a claim regarding a population mean with σ is unknown, we 1)May use only the classical approach with the t-distribution 2)May use only the P-value approach with the t-distribution 3)May use either the classical approach or the P- value approach with the t-distribution 4)May use either standard normal distribution with the t-distribution

Chapter 10 – Section 4 A possible null hypothesis for testing a claim regarding a population proportion is 1)H 0 : Mean Weight of Dogs = 20 kgs 2)H 0 : Standard Deviation of Weight of Dogs = 8 kgs 3)H 0 : Proportion of Dogs Weighs 30 kgs 4)H 0 : Proportion of Dogs that weigh < 30 kgs = 0.30

Chapter 10 – Section 4 Tests of a claim about a population proportion use 1)The normal model, or the binomial probability distribution if the sampling distribution is not normal 2)Always the normal model 3)Always the Type II model 4)The t-distribution, or the sampling distribution if the sample size is too small

Chapter 10 – Section 5 The test of a claim about a population standard deviation uses the 1)Normal distribution 2)The t-distribution 3)The chi-square distribution 4)All of the above

Chapter 10 – Section 5 If a sample size n is 65, then a test of a claim about a population standard deviation uses 1)A normal distribution with mean 65 2)A normal distribution with standard deviation 64 3)A chi-square distribution with 65 degrees of freedom 4)A chi-square distribution with 64 degrees of freedom

Chapter 10 – Section 6 To determine the appropriate hypothesis test to perform, we should 1)Consider which P-value we wish to obtain 2)Consider which type of parameter we are analyzing 3)Consider whether the null hypothesis is known or unknown 4)All of the above

Chapter 10 – Section 7 If the hypotheses for a test are H 0 : μ = 20 seconds H 1 : μ < 20 seconds then an example of a Type II error occurs when 1)μ = 25 seconds and we did not reject H 0 2)μ = 15 seconds and we rejected H 0 3)μ = 15 seconds and we did not reject H 0 4)μ = 20 seconds and we rejected H 0

Chapter 10 – Section 7 A large power for a test occurs when 1)The Type II error β is small 2)The probability of failing to reject the null hypothesis, when the alternative hypothesis is true, is small 3)Distinguishing between the null hypothesis and the alternative hypothesis is relatively clear with the data 4)All of the above

Hypothesis Testing H 0 : The status quo, what was done before, what we are trying to disprove H 1 : The new item, the new study results Test Statistics: Critical Values: (left, two, right tailed tests) Z c = Z α, 1-α/2, 1-α ; t c = t α, 1-α/2, 1-α/n-1 ; χ² c = χ² 1-α, 1-α/2, α/n-1 Conclusion: If Z c < Z 0, t c < t 0, p < α, or χ² c < χ² 0 then Reject H 0 Otherwise we Fail to Reject (FTR) x - μ Z 0 = σ / √n x - μ t 0 = s / √n n s² χ² 0 = σ² p - p Z 0 = p(1-p) n ^ Test μ σ known Test μ σ unknown Test population prop Test σ

Hypothesis Testing Methods Classical –More standard deviations away from mean P-Value –Probability of getting a more extreme value Confidence Interval –Within the interval QαQα Q0Q0 QαQα Q0Q0 LBUB FTR Rej H 0

Requirements to Check Mean, σ Known –Simple Random Sample (SRS) –Normal distribution Mean, σ unknown –SRS –No outliers and “normality” (normality plot) Population Proportion –SRS –n(p)(1-p) ≥ 10 (allows normal estimation of binomial) –n ≤ 0.05N (keeps it from being hypergeometric) Variance or Standard Deviation –SRS –Normal distribution

Hypothesis Test – Mean, σ Known USAA Auto Insurance data base show the average miles driven is 12,200. A local rep, Sam, believes the residents of southwestern Virginia drive more. He obtains a sample of 35 drivers whose average was 12, Using USAA’s database σ = 3800 miles. Test his claim at the α = 0.01 level. X-bar – μ Z 0 = = and p = (from calculator) σ / √n x-bar = 12,895.9 μ 0 = 12,200 σ = 3800 n = 35 α = 0.01 H 0 : μ 0 = 12,200 (drivers in southwestern VA drive the same as elsewhere) H 1 : μ 0 > 12,200 (drivers in southwestern VA drive more than elsewhere) Critical Values: Z c = Confidence Interval (CI) [11241, 14550] Conclusion: Since Z 0 α), we fail to reject H 0 and conclude that we don’t have sufficient evidence to say SWVA drivers drive more.

Hypothesis Test – Mean, σ Unknown A high school principal believes that the new attendance policy has reduced the average number of tardies among the habitual tardy students. He samples 40 of his habitual tardy students and determines that their average tardies was 16.8 with a standard deviation of 4.7. He wants you to test at the α = 0.1 level to see if the average number of tardies was less than the historic mean of X-bar – μ t 0 = = and p = (from calculator) s / √n x-bar = 16.8 μ 0 = 18.1 σ = 4.7 n = 40 α = 0.1 H 0 : μ 0 = 18.1 (habitual tardiness remained the same) H 1 : μ 0 < 18.1 (habitual tardiness decreased) Critical Values: t c = Confidence Interval (CI) [15.548, ] Conclusion: Since t 0 < t c (μ 0 out of CI or p < α), we reject H 0 and conclude that the habitual tardiness has decreased.

Hypothesis Test – Population Proportion In the 1990’s 65% of students at Virginia Tech thought that lying was unethical. In a poll conduct last May in a simple random sample of 1005 Virginia Tech students, 704 responded that lying was unethical. Is there evidence to indicate that the percentage of students who believe that lying is unethical has increased at the α = 0.05 level. p-hat – p 0 Z 0 = = and p = (from calculator) √p 0 (1-p 0 )/n p 0 = 0.65 x = 704 n = 1005 α = 0.05 H 0 : p 0 = 0.65 (% who thought lying was unethical behavior is the same) H 1 : p 0 > 0.65 (% who thought lying was unethical behavior has increased) Critical Values: Z c = Confidence Interval (CI) [0.672, 0.728] Conclusion: Since Z 0 > Z c (p 0 out of CI or p < α), we reject H 0 and conclude that the percentage who believe lying is unethical has increased.

Hypothesis Test – Population Variance A snack bag of plain M&M’s has a mean number of M&M’s of 21. The quality control people at M&M-Mars have published data on the internet the claims the standard deviation of the number of M&Ms to be under A Stats class samples 11 snack bags of plain M*Ms and determines that the standard deviation was Their teacher wants to know if their sample standard deviation is smaller than the advertised at the α = 0.05 level n s² χ² 0 = = (by hand) p-value = (by χ²cdf) σ² 0 σ 0 = 0.75 s = n = 11 α = 0.05 H 0 : σ 0 = 0.75 (the standard deviation of M&Ms in snack bags is the same) H 1 : σ 0 < 0.75 (the standard deviation of M&Ms in snack bags has decreased) Critical Values: χ² c = Confidence Interval: NA Conclusion: Since χ 0 > χ c (or p > α), we fail to reject H 0 and conclude that there is insufficient evidence that σ in plain M&M snack bags has decreased.

Summary and Homework Summary –We can test whether sample data supports a hypothesis claim about a population mean, proportion, or standard deviation –We can use any one of three methods The classical method The P-Value method The Confidence Interval method –The commonality between the three methods is that they calculate a criterion for rejecting or not rejecting the test statistic Homework –pg ; 1, 2, 3, 7, 8, 12, 13, 14, 15, 17, 20, 37