Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.

Slides:



Advertisements
Similar presentations
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Advertisements

Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 15 Test for Population Mean Known.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Jump to first page Type I error (alpha error) n Occurs when an experimenter thinks she/he has a significant result, but it is really due to chance n Analogous.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
PSY 307 – Statistics for the Behavioral Sciences
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Section 7-2 Hypothesis Testing for the Mean (n  30)
Hypothesis Testing: Two Sample Test for Means and Proportions
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Inferential Statistics
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Overview of Statistical Hypothesis Testing: The z-Test
Testing Hypotheses I Lesson 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics n Inferential Statistics.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Descriptive statistics Inferential statistics
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Chapter 10 Hypothesis Testing
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Testing of Hypothesis Fundamentals of Hypothesis.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Chapter 6 USING PROBABILITY TO MAKE DECISIONS ABOUT DATA.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
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.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Hypothesis Testing Introduction to Statistics Chapter 8 Feb 24-26, 2009 Classes #12-13.
Chapter 8: Introduction to Hypothesis Testing. Hypothesis Testing A hypothesis test is a statistical method that uses sample data to evaluate a hypothesis.
1 Lecture 5: Section B Class Web page URL: Data used in some examples can be found in:
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Hypothesis Testing: One Sample Cases
Hypothesis Testing I The One-sample Case
Hypothesis Testing: Two Sample Test for Means and Proportions
Hypothesis Testing: Hypotheses
Hypothesis Testing.
Testing Hypotheses I Lesson 9.
Presentation transcript:

Hypothesis Testing: One Sample Cases

Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z test) – One- vs. Two- tailed tests

Significant Differences Hypothesis testing is designed to detect significant differences: differences that did not occur by random chance. In the “one sample” case: we compare a random sample (from a large group) to a population. We compare a sample statistic to a population parameter to see if there is a significant difference.

Our Problem: The education department at a university has been accused of “grade inflation” so education graduates have much higher scores than students in general. Scores of all education graduates should be compared with the scores of all students. – There are 1000s of education graduates, far too many to interview. – How can this be investigated without interviewing all education graduates?

What we know: The mean scores for all students is 2.70 and the s.d = 0.7. These values are parameters. The population value To the right is the statistical information for a random sample of education graduates:  = 2.70  = 0.70 Sample mean =3.00 Sample size n =117

Questions to ask: Is there a difference between the parameter (2.70) and the statistic (3.00) sample mean? Could the observed difference have been caused by random chance? Is the difference real (significant)?

Two Possibilities: 1.The sample mean (3.00) is the same as the pop. mean (2.70). – The difference is trivial and caused by random chance. 2.The difference is real (significant). – Education graduates are different from all students.

The Null and Alternative Hypotheses: 1.Null Hypothesis (H 0 ) – The difference is caused by random chance. – The H 0 always states there is “no significant difference.” In this case, we mean that there is no significant difference between the population mean and the sample mean. 2.Alternative hypothesis (H 1 ) – “The difference is real”. – (H 1 ) always contradicts the H 0. One (and only one) of these explanations must be true. Which one?

Test the Explanations We always test the Null Hypothesis. Assuming that the H 0 is true: – What is the probability of getting the sample mean (3.00) if the H 0 is true and all education graduates really have a mean of 2.70? – In other words, the difference between the means is due to random chance. – If the probability associated with this difference is less than 5%, reject the null hypothesis.

Test the Hypotheses Use the 5% value as a guideline to identify differences that would be rare or extremely unlikely if H 0 is true. This “alpha” value defines the “region of rejection.” Use the Z score formula for single samples and If the probability is less than 5%, the calculated or “observed” Z score will be beyond ±1.96 (the “critical” Z score).

Two-tailed Hypothesis Test: When α = 5%, then 2.5% of the area is distributed on either side of the curve in area (C ) The 95% in the middle section represents no significant difference between the population and the sample mean. The cut-off between the middle section and +/- 2.5% is represented by a Z-value of +/

Testing Hypotheses: Using The Five Step Model… 1.Make Assumptions and meet test requirements. 2.State the null hypothesis. 3.Select the sampling distribution and establish the critical region. 4.Compute the test statistic. 5.Make a decision and interpret results.

Step 1: Make Assumptions and Meet Test Requirements Random sampling – Hypothesis testing assumes samples were selected using random sampling. – In this case, the sample of 117 cases was randomly selected from all education graduates. Sampling Distribution is normal in shape – This is a “large” sample (n≥100).

Step 2 State the Null Hypothesis H 0 : μ = 2.7 You can also state H o : No difference between the sample mean and the population parameter – (In other words, the sample mean of 3.0 is really the same as the population mean of 2.7 – the difference is not real but is due to chance.) – The sample of 117 comes from a population that has a score of 2.7. – The difference between 2.7 and 3.0 is trivial and caused by random chance.

Step 2 (cont.) State the Alternate Hypothesis H 1 : μ≠2.7 Or H 1 : There is a difference between the sample mean and the population parameter  – The sample of 117 comes from a population that does not have a score of 2.7. In reality, it comes from a different population. – The difference between 2.7 and 3.0 reflects an actual difference between education graduates and other students. – Note that we are testing whether the population the sample comes from is from a different population or is the same as the general student population.

Step 3 Select Sampling Distribution and Establish the Critical Region Sampling Distribution= Z – Alpha (α) = 5% – α is the indicator of “rare” events. – Any difference with a probability less than α is rare and will cause us to reject the H 0.

Step 3 (cont.) Select Sampling Distribution and Establish the Critical Region Critical Region begins at Z= ± 1.96 – This is the critical Z score associated with α = 5%, two-tailed test. – If the obtained Z score falls in the Critical Region, or “the region of rejection,” then we would reject the H 0.

Step 4: Use Formula to Compute the Test Statistic Z for large samples (≥ 100)

Test the Hypotheses Substituting the values into the formula, we calculate a Z score of

Step 5 Make a Decision and Interpret Results The obtained Z score falls in the Critical Region, so we reject the H 0. The Z value >1.96 – If the H 0 were true, a sample outcome of 3.00 would be unlikely. – Therefore, the H 0 is false and must be rejected. Education graduates have a score that is significantly different from the general student body (Z = 4.62, α = 5%).* *Note: Always report significant statistics.

Looking at the curve: (Area C = Critical Region when α=.05)

Summary: The score of education graduates is significantly different from the score of the general student body. In hypothesis testing, we try to identify statistically significant differences that did not occur by random chance. In this example, the difference between the parameter 2.70 and the statistic 3.00 was large and unlikely (p < 5%) to have occurred by random chance.

Summary (cont.) We rejected the H 0 and concluded that the difference was significant. It is very likely that Education graduates have scores higher than the general student body

Rule of Thumb: If the test statistic is in the Critical Region ( α = 5%, beyond ±1.96): – Reject the H 0. The difference is significant. If the test statistic is not in the Critical Region (at α = 5%, between and -1.96): – Fail to reject the H 0. The difference is not significant.

Two-tailed vs. One-tailed Tests In a two-tailed test, the direction of the difference is not predicted. A two-tailed test splits the critical region equally on both sides of the curve. In a one-tailed test, the researcher predicts the direction (i.e. greater or less than) of the difference. All of the critical region is placed on the side of the curve in the direction of the prediction.

Assumptions – Population Is Normally Distributed – If Not Normal, use large samples – Null Hypothesis Has =, , or  Sign Only Z Test Statistic: One-Tail Z Test for Mean (  Known)

Z    Reject H 0 Z   Reject H 0  H 0 :   H 1 :  <   H 0 :  0 H 1 :  >   Must Be Significantly Below  =   Small values don’t contradict H 0 Don’t Reject H 0 ! Rejection Region

Does an average box of cereal contain 368 grams of cereal? A random sample of 25 boxes showed X = The company has specified  to be 15 grams. Test at the  5% level. 368 gm. Example: One Tail Test H 0 :  368 H 1 :  > 368 _

Z What Is Z given  = 5%?  = 5% Finding Critical Values: One Tail Critical Value = InvNormal(.95) = Use % points table below normal table in formula book

 = 5% n = 25 Critical Value: Test Statistic: Decision: Conclusion: Do Not Reject H 0 at  = 5% No Evidence True Mean Is More than 368 Z Reject Example Solution: One Tail H 0 :  368 H 1 :  > <critical value of

Z p Value 6.68% From Z Table: Lookup InvNorm (1.50) 93.32% Use the alternative hypothesis to find the direction of the test. P(Z  1.50) = 6.68% p Value Solution

Z Reject (p Value = 6.68%)  (  = 5%). Do Not Reject. p Value = 6.68%  = 5% Test Statistic Is In the Do Not Reject Region p Value Solution

Does an average box of cereal contains 368 grams of cereal? A random sample of 25 boxes showed X = The company has specified  to be 15 grams. Test at the  5% level. 368 gm. Example: Two Tail Test H 0 :  368 H 1 :  368

 = 5% n = 25 Critical Value: ±1.96 Test Statistic: Decision: Conclusion: Do Not Reject Ho at  = 5% No Evidence that True Mean Is Not 368 Example Solution: Two Tail Z % Reject % H 0 :  386 H 1 :  386

The Curve for Two- vs. One-tailed Tests at α =.05: Two-tailed test: “is there a significant difference?” One-tailed tests: “is the sample mean greater than µ?” “is the sample mean less than µ?”

11.36 Interpreting the p-value… The smaller the p-value, the more statistical evidence exists to support the alternative hypothesis. If the p-value is less than 1%, there is overwhelming evidence that supports the alternative hypothesis. If the p-value is between 1% and 5%, there is a strong evidence that supports the alternative hypothesis. If the p-value is between 5% and 10% there is a weak evidence that supports the alternative hypothesis. If the p-value exceeds 10%, there is no evidence that supports the alternative hypothesis.

Type I error Occurs when an experimenter thinks she/he has a significant result, but it is really due to chance Analogous to a “false positive” on a drug test. Risk of a Type I error is the same as the significance level, e.g., p < 5% Solutions: use a more stringent significance level, use replication

Type II error Occurs when a researcher fails to find a significant result when, in fact, there was something significant going on. Analogous to a “false negative” on a drug test. Must be calculated with a test of statistical “power,” e.g., given the sample size, how big would an effect have to be in order to detect it? Solutions: increase sample size, use more sensitive precise measures, use replication

Type I and Type II errors

Implications To some extant, Type I and Type II errors trade off with one another – Decreasing the chance of a Type I error may increase the chance of a Type II error. A Type I error is the more shocking of the two – Type I entails shouting “Eureka” when you haven’t really found it. – Scientific skepticism makes Type II errors more palatable