Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
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)
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Probability & Statistical Inference Lecture 6
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.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
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.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
©2006 Thomson/South-Western 1 Chapter 10 – Hypothesis Testing for the Mean of a Population Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western.
Determining Statistical Significance
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
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
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Introduction to Biostatistics and Bioinformatics
Fundamentals of Hypothesis Testing: One-Sample Tests
Testing Hypotheses About Proportions
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Chapter 10 Hypothesis Testing
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Chapter 20 Testing hypotheses about proportions
Testing of Hypothesis Fundamentals of Hypothesis.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Chapter 9: Hypothesis Tests Based on a Single Sample 1.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
© Copyright McGraw-Hill 2004
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Chapter Ten McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. One-Sample Tests of Hypothesis.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Hypothesis Testing. A statistical Test is defined by 1.Choosing a statistic (called the test statistic) 2.Dividing the range of possible values for the.
Hypothesis Tests for 1-Proportion Presentation 9.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
©2003 Thomson/South-Western 1 Chapter 8 – Hypothesis Testing for the Mean and Variance of a Population Slides prepared by Jeff Heyl, Lincoln University.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter Nine Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
Hypothesis Testing A hypothesis is a claim or statement about the value of either a single population parameter or about the values of several population.
Chapter 10: One- and Two-Sample Tests of Hypotheses:
Confidence Intervals.
Presentation transcript:

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown variance) 12.5 Differences between Means 12.6 Differences between Means(unknown variances) 12.7 Paired Data

12.1 Tests of Hypotheses In a law case, there are 2 possibilities for the truth—innocent or guilty Evidence is gathered to decide whether to convict the defendant. The defendant is considered innocent unless “proven” to be guilty “beyond a reasonable doubt.” Just because a defendant is not found to be guilty doesn’t prove the defendant is innocent. If there is not much evidence one way or the other the defendant is not found to be guilty.

For Statistical Hypothesis Testing H 0 =Null hypothesis (innocent) Held on to unless there is sufficient evidence to the contrary H A =Alternative hypothesis (guilty) We reject H 0 in favor of H A if there is enough evidence favoring H A

12.1 Tests of Hypotheses Distribution(s) or population(s): Parameter(s) such as mean and variance Assertion or conjecture about the population(s) – statistical hypotheses 1. About parameter(s): means or variances 2. About the type of populations: normal, binomial, or …

Example 12.1 Is a coin balanced? This is the same as to ask if p=0.5 Is the average lifetime of a light bulb equal to 1000 hours? The assertion is μ=1000

Null Hypotheses and Alternatives We call the above two assertions Null Hypotheses Notation: H 0 : p=0.5 and H 0 : μ=1000 If we reject the above null hypotheses, the appropriate conclusions we arrive are called alternative hypotheses H A : p  0.5 H A : μ  1000

Null Hypothesis vs Alternative H 0 : p=0.5 vs H A : p  0.5 H 0 :μ=1000 vs H A : μ  1000 It is possible for you to specify other alternatives H A : p>0.5 or H A : p<0.5 H A : μ>1000 or H A : μ<1000

12.2 Significance of Tests A company claims its light bulbs last on average 1000 hours. We are going to test that claim. We might take the null and alternative hypotheses to be H 0 :μ=1000 vs H A : μ  1000 or may be H 0 :μ=1000 vs H A : μ<1000

Mistakes or errors: Law case—convict an innocent defendant; or fail to convict a guilty defendant. The law system is set up so that the chance of convicting an innocent person is small. Innocent until “proven guilty” beyond a reasonable doubt.

Two Types of Errors in statistical testing Type I error -- reject H 0 when it is true (convict innocent person) Type II error -- accept H 0 when it is not true (find guilty person innocent)

Statistical hypotheses are set up to Control type I error  =P(type I error) =P(reject H 0 when H 0 true) (a small number) Minimize type II error  =P(type II error) =P(accept H 0 when H 0 false)

Control Types of Errors In practice,  is set at some small values, usually 0.05 If you want to control  at some small values, you need to figure out how large a sample size (n) is required to have a small  also. 1-  is called the power of the test 1-  =Power=P(reject H 0 when H 0 false)

Example 12.2 X=breaking strength of a fish line, normal distributed with σ =0.10. Claim: mean is  =10 H 0 :  =10 vs H A :  10 A random sample of size n=10 is taken, and sample mean is calculated Accept H 0 if Type I error? Type II error when  =10.10?

Solution Type I error=P(reject H 0 when  =10)

Solution Type II error=P(accept H 0 when H 0 false) Power= =0.9429

12.3 & 12.4 Tests concerning Means A company claims its light bulbs last an average 1,000 hours 5 steps to set up a statistical hypothesis test

5 steps: step 1 1. Set up H 0 and H A H 0 :  =1,000 vs H A :  <1,000 This is a one-sided alternative. Other possibilities include H 0 :  =1,000 vs H A :  1,000 (Two sided alternative) Note: we could write H 0 :  ≥1,000, but in this book H 0 is always written with an equal (=) sign.

5 steps: step 2 and 3 2. Specify  =P(type I error): level of significance.  =0.05 usually. This corresponds to 95% confidence. 3. Decide on sample size, n, and specify when to reject H 0 based on some statistic so that  =P(Reject H 0 when H 0 is true)

Step 3 continued Suppose we use n=10 bulbs. Find the sample mean, and compare to We need to set a probability to  =0.05, so we want a statistic we can compare to a table of probabilities. If we know , then set z has a standard normal distribution if  =1,000 and then we can use the normal table.

Step 3 continued Reject H 0 :  =1,000 in favor of H A :  <1,000 if the sample mean is too far below This will give us a negative value of z. How far below 0 does z have to be for us to reject H 0 ? The rejection region is set up so that the probability of rejecting H 0 is only a=5% if H 0 is true. So we reject H 0 if

Step 3 continued: if  is unknown If  is unknown, the usual situation, and the population is normal, we use a t distribution. Calculate sample deviation s: Rejection region:

5 steps: step 4 4. Collect the data and compute the statistics: z or t Suppose, s=30, n=10 then

5 steps: step 5 5. Decide whether to reject H 0 t=-3.16< is in the rejection region Reject H 0 :  =1,000 in favor of H A :  <1,000 at  =0.05 level.

5 steps summary 1. hypothesis statement 2. Specify level of significance  3. determine the rejection region 4. compute the test statistic from data 5. conclusion

Relationship Between Hypotheses Testing and Confidence Intervals For two tailed test: To accept null hypothesis at level  H 0 :  =  0 is equivalent to showing  0 is in the (1-  ) Confidence Interval for .

Example 12.3 Normal population.  unknown H 0 :  =750 vs H A :  750 Define Reject H 0 if the sample mean is too far from 750 in either direction Rejection region:

Example Let’s take  =0.05, n=20 (df=19) Data turned out to be Get t: t =2.093 |t|<2.093 Conclusion: accept H 0

Example 12.3 (continued)  =50 is known,  =0.05, n=20 H 0 :  =750 vs H A :  750 Reject region |z|>z 0.025=1.96 Calculate z |z|<1.96. Accept H 0 Question: if  =0.10, what is the conclusion?

More cases H 0 :  =1000 vs H A :  >1000 Define t or z statistics (  unknown or known) Rejection regions: t>t  or z>z 

Rejection Regions: Alternative Hypotheses  >  0  <  0   0 Rejection Regions z>z  t>t  z<-z  t<-t  z>z  /2 or z<-z  / t>t  /2 or t<-t  /2

P-value In practice more commonly one performs the test by computing a p-value. The book describes revised steps 3, 4, 5 as 3.’ We specify the test statistic. 4.’ Using the data we compute the test statistic and find its p-value. 5.’ If p-value< , reject H 0.

P-value The book’s definition of p-value: A p-value is the lowest level of  at which we could reject H 0. A more usual way to think about p-values: If H 0 is true, what is the probability of observing data with this much or more evidence against H 0.

Example H 0 :  =120 vs H A :  <120  =0.05 From the data z=-1.78 Evidence against H 0 is sample mean less than 120, meaning z<0. P-value<0.05  Reject H 0 :  =120 in favor of H A :  <120 The reject/accept H 0 decision is the same as comparing z to , but the p-value gives more information—How inconsistent are the data with H 0 ?

If z is less than , then the p- value is less than Comparing the p-value to 0.05 is the same as comparing the z value to For t tests we can find the exact p- value without a calculator or software.

P-value for 2-sided test H 0 :  =120 vs H A :  ≠120  =0.1 From the data z=1.32 Evidence against H 0 is z values away from 0 in either direction P-value=2*0.0934= P-value> , Do not reject H 0. 2-sided p-value=2*(1-sided p-value)

Exercise Given that n=25,  =100, and sample mean is 1050, 1. Test the hypotheses H 0 :  =1000 vs H A :  <1000 at level  = Test the hypotheses H 0 :  =1000 vs H A :  ≠1000 at level  =0.05.

Solution More evidence against H 0 is smaller values of z Evidence against H 0 is z values away from 0 in either direction

A word of caution NOTE: Accepting H 0 does not prove H 0 is true. There are many other possible values in the confidence interval. OPINION: In most situations it would be more useful to report confidence intervals rather than results of hypothesis tests.