Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.

Slides:



Advertisements
Similar presentations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Advertisements

Hypothesis Testing IV Chi Square.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Hypothesis testing Week 10 Lecture 2.
Review: What influences confidence intervals?
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
PPA 415 – Research Methods in Public Administration Lecture 6 – One-Sample and Two-Sample Tests.
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing Using The One-Sample t-Test
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
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.
Inferential Statistics
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
AM Recitation 2/10/11.
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
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Overview Definition Hypothesis
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Hypothesis Testing II The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Fundamentals of Hypothesis Testing: One-Sample Tests
Estimation and Confidence Intervals
Education 793 Class Notes T-tests 29 October 2003.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
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 9: Testing Hypotheses
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.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 10. Hypothesis Testing II: Single-Sample Hypothesis Tests: Establishing the Representativeness.
Testing of Hypothesis Fundamentals of Hypothesis.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
PPA 501 – Analytical Methods in Administration Lecture 6a – Normal Curve, Z- Scores, and Estimation.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
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.
Review I A student researcher obtains a random sample of UMD students and finds that 55% report using an illegally obtained stimulant to study in the past.
© 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.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Prof. Robert Martin Southeastern Louisiana University.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter 10 One-Sample Test of Hypothesis. Example The Jamestown steel company manufactures and assembles desks and other office equipment at several plants.
Hypothesis Testing: One Sample Cases
Hypothesis Testing I The One-sample Case
Assumptions For testing a claim about the mean of a single population
Hypothesis Testing: Two Sample Test for Means and Proportions
Presentation transcript:

Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case

Chapter 8 Hypothesis Testing I: The One-Sample Case

Significant Differences Hypothesis testing is designed to detect significant differences: differences that did not occur by random chance. Hypothesis testing is also called significance testing This chapter focuses on the “one sample” case: we compare a random sample against a population We compare a sample statistic to a (hypothesized) population parameter to see if there is a significant difference

Scenario #1: Dependent variable is measured at the interval/ratio level with a large sample size and known population standard deviation

Example Effectiveness of rehabilitation center for alcoholics Absentee rates for sample and community:

Example Main question: Does the population of all treated alcoholics have different absentee rates than the community as a whole? What is the cause of the difference between 6.8 and 7.2? Real difference? Random chance?

Example

H o : μ = 7.2 days per year

Example

The sample outcome (-3.15) falls in the shaded area, thus we reject H o

The Five-Step Model 1. Make assumptions and meet test requirements 2. State the null hypothesis (H o ) 3. Select the sampling distribution and establish the critical region 4. Compute the test statistic 5. Making a decision and interpret the results of the test

The Five-Step Model: Example The education department at a university has been accused of “grade inflation” so education majors have much higher GPAs than students in general The mean GPA for all students is 2.70 (μ) A random sample of 117 (N) education majors has a mean GPA of 3.00, with a standard deviation (s) of 0.70

Step 1: Make Assumptions and Meet Test Requirements Random sampling Hypothesis testing assumes samples were selected according to EPSEM The sample of 117 was randomly selected from all education majors Level of measurement is interval-ratio GPA is an interval-ratio level variable, so the mean is an appropriate statistic Sampling distribution is normal in shape This is a “large” sample (N ≥ 100)

Step 2: State the Null Hypothesis H o : μ = 2.7 The sample of 117 comes from a population that has a GPA of 2.7 The difference between 2.7 and 3.0 is trivial and caused by random chance H 1 : μ ≠ 2.7 The sample of 117 comes from a population that does not have a GPA of 2.7 The difference between 2.7 and 3.0 reflects an actual difference between education majors and other students

Step 3: Select Sampling Distribution and Establish the Critical Region Sampling Distribution= Z Alpha (α) = 0.05 Alpha is the indicator of “rare” events Any difference with a probability less than α is rare and will cause us to reject the H o Critical region begins at ±1.96 This is the critical Z score associated with a two- tailed test and alpha equal 0.05 If the obtained Z score falls in the critical region, reject H o

Step 4: Compute the Test Statistic Z (obtained) = 4.62

Step 5: Make a Decision and Interpret Results The obtained Z score fell in the critical region so we reject the H o If the H 0 were true, a sample outcome of 3.00 would be unlikely Therefore, the H o is false and must be rejected Education majors have a GPA that is significantly different from the general student body

The Five Step Model: Summary 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 < 0.05) to have occurred by random chance

The Five Step Model: Summary We rejected the H o and concluded that the difference was significant It is very likely that education majors have GPAs higher than the general student body

Crucial Choices in Five-Step Model Model is fairly rigid, but there are two crucial choices: 1. One-tailed or two-tailed test 2. Alpha (α) level

Choosing a One or Two-Tailed Test Two-tailed: States that population mean is “not equal” to value stated in null hypothesis One-tailed: Differences in a specific direction Examples:

Choosing a One or Two-Tailed Test

Selecting an Alpha Level By assigning an alpha level, one defines an “unlikely” sample outcome Alpha level is the probability that the decision to reject the null hypothesis is incorrect Examine this table for critical regions:

Type I and Type II Errors Type I, or alpha error: Rejecting a true null hypothesis Type II, or beta error: Failing to reject a false null hypothesis Examine table below for relationships between decision making and errors

Scenario #2: Dependent variable is measured at the interval/ratio level with a large sample size and unknown population standard deviation

Scenario #2: How can we test a hypothesis when the population standard deviation (σ) is not known, as is usually the case? For large samples (N ≥ 100), can use the sample standard deviation (s) as an estimator of the population standard deviation (σ) Use standard (Z) normal distribution Thus, follow the same procedures as you would for Scenario #1

Scenario #3: Dependent variable is measured at the interval/ratio level with a small sample size and unknown population standard deviation

Scenario #3 For small samples, s is too biased an estimator of σ so do not use standard normal distribution Use Student’s t distribution

The Student’s t Distribution Compare the Z distribution to the Student’s t distribution:

The Student’s t Distribution

Student’s t: Using Appendix B How t table differs from Z table: 1. Column at left for degrees of freedom (df) df = N – 1 2. Alpha levels along top two rows: one- and two-tailed 3. Entries in table are actual scores: t(critical) Mark beginning of critical region, not areas under the curve

Scenario #4: Dependent variable is measured at the nominal level with a large sample size and known population standard deviation

The Five-Step Model: Proportions When analyzing variables that are not measured at the interval-ratio level (and therefore a mean is inappropriate), we can test a hypothesis on a one sample proportion instead The five step model remains primarily the same, with the following changes: The assumptions are: random sampling, nominal level of measurement, and normal sampling distribution The formula for Z(obtained) is:

The Five-Step Model: Proportions A random sample of 122 households in a low- income neighborhood revealed that 53 (P s = 0.43 = 53/122) of the households were headed by women In the city as a whole, the proportion of women- headed households is 0.39 (P u ) Are households in lower-income neighborhoods significantly different from the city as a whole? Conduct a 90% hypothesis test (alpha = 0.10)

Step 1: Make Assumptions and Meet Test Requirements Random sampling Hypothesis testing assumes samples were selected according to EPSEM The sample of 122 was randomly selected from all lower-income neighborhoods Level of measurement is nominal Women-headed households is measured as a proportion Sampling distribution is normal in shape This is a “large” sample (N ≥ 100)

Step 2: State the Null Hypothesis H o : P u = 0.39 The sample of 122 comes from a population where 39% of households are headed by women The difference between 0.43 and 0.39 is trivial and caused by random chance H 1 : P u ≠ 0.39 The sample of 122 comes from a population where the percent of women-headed households is not 39 The difference between 0.43 and 0.39 reflects an actual difference between lower-income neighborhoods and all neighborhoods

Step 3: Select Sampling Distribution and Establish the Critical Region Sampling Distribution= Z Alpha (α) = 0.10 (two-tailed) Critical region begins at ±1.65 This is the critical Z score associated with a two-tailed test and alpha equal 0.10 If the obtained Z score falls in the critical region, reject H o

Step 4: Compute the Test Statistic Z (obtained) = +0.91

Step 5: Make a Decision and Interpret Results The obtained Z score did not fall in the critical region so we fail to reject the H o If the H 0 were true, a sample outcome of 0.43 would be likely Therefore, the H o is not false and cannot be rejected The population of women-headed households in lower-income neighborhoods is not significantly different from the city as a whole

Scenario #5: Dependent variable is measured at the nominal level with a small sample size This is not considered in your text

Conclusion Scenario #1: Dependent variable is measured at the interval/ratio level with a large sample size and known population standard deviation Use standard Z distribution formula Scenario #2: Dependent variable is measured at the interval/ratio level with a large sample size and unknown population standard deviation Use standard Z distribution formula Scenario #3: Dependent variable is measured at the interval/ratio level with a small sample size and unknown population standard deviation Use standard T distribution formula

Scenario #4: Dependent variable is measured at the nominal level with a large sample size and known population standard deviation Use slightly modified Z distribution formula Scenario #5: Dependent variable is measured at the nominal level with a small sample size\ This is not covered in your text or in class

USING SPSS On the top menu, click on “Analyze” Select “Compare Means” Select “One Sample T Test”

Hypothesis testing in SPSS One-sample test (value of the mean in the population) Analyze / Compare Means / One sample test Click on OPTIONS to choose the confidence level

Output T-Test p value The null hypothesis is not rejected (as the p-value is larger than 0.05)