1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.

Slides:



Advertisements
Similar presentations
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Advertisements

Objectives 10.1 Simple linear regression
Section 9.3 Inferences About Two Means (Independent)
Chapter 10 Inference on Two Samples 10.4 Inference on Two Population Standard Deviations.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
Chapter 10 Two-Sample Tests
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 11 Hypothesis Tests and Estimation for Population Variances
8-4 Testing a Claim About a Mean
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.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Slide 1 Copyright © 2004 Pearson Education, Inc..
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Inference about Two Population Standard Deviations.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 11-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Pengujian Hipotesis Varians By. Nurvita Arumsari, Ssi, MSi.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-5 Comparing Variation in.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Chapter 10 Inferences from Two Samples
Chapter 9 Inferences from Two Samples
Created by Erin Hodgess, Houston, Texas Section 8-5 Comparing Variation in Two Samples.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
© Copyright McGraw-Hill 2000
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Inferences Concerning Variances
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-4 Inferences from Matched.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 10 Two Sample Tests
Inferential Statistics Inferences from Two Samples
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Testing a Claim About a Mean:  Not Known
Elementary Statistics
Lecture Slides Elementary Statistics Eleventh Edition
Inferences on Two Samples Summary
Elementary Statistics
Chapter 11 Hypothesis Tests and Estimation for Population Variances
Elementary Statistics
Chapter 10 Two-Sample Tests
Lecture Slides Elementary Statistics Twelfth Edition
Inferences from Matched Pairs
Chapter 9 Lecture 4 Section: 9.4.
Chapter 8 Inferences from Two Samples
Presentation transcript:

1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means use the t-distribution Section 9.4 Inferences About Two Means (Matched Pairs)

2 Definition Two samples are dependent if there is some relationship between the two samples so that each value in one sample is paired with a corresponding value in the other sample. Two samples can be treated as the matched pairs of values.

3 Examples Blood pressure of patients before they are given medicine and after they take it. Predicted temperature (by Weather Forecast) and the actual temperature. Heights of selected people in the morning and their heights by night time. Test scores of selected students in Calculus-I and their scores in Calculus-II.

4 Example 1 First sample: weights of 5 students in April Second sample: their weights in September These weights make 5 matched pairs Third line: differences between April weights and September weights (net change in weight for each student, separately) In our calculations we only use differences (d), not the values in the two samples.

5 Notation d Individual difference between two matched paired values μ d Population mean for the difference of the two values. n Number of paired values in sample d Mean value of the differences in sample s d Standard deviation of differences in sample

6 (1) The sample data are dependent (i.e. they make matched pairs) (2) Either or both the following holds: The number of matched pairs is large (n>30) or The differences have a normal distribution Requirements All requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval

7 Tests for Two Dependent Means Goal: Compare the mean of the differences H 0 : μ d = 0 H 1 : μ d ≠ 0 Two tailedLeft tailedRight tailed H 0 : μ d = 0 H 1 : μ d < 0 H 0 : μ d = 0 H 1 : μ d > 0

8 t =t = d – µ d sdsd n degrees of freedom: df = n – 1 Note:  d = 0 according to H 0 Finding the Test Statistic

9 Test Statistic Note: Hypothesis Tests are done in same way as in Ch.8-5 Degrees of freedom df = n – 1

10 Steps for Performing a Hypothesis Test on Two Independent Means Write what we know State H 0 and H 1 Draw a diagram Calculate the Sample Stats Find the Test Statistic Find the Critical Value(s) State the Initial Conclusion and Final Conclusion Note: Same process as in Chapter 8

11 Example 1 Assume the differences in weight form a normal distribution. Use a 0.05 significance level to test the claim that for the population of students, the mean change in weight from September to April is 0 kg (i.e. on average, there is no change) Claim: μ d = 0 using α = 0.05

12 H0 : µd = 0H1 : µd ≠ 0H0 : µd = 0H1 : µd ≠ 0 t = t α/2 = 2.78 t-dist. df = 4 Test Statistic Critical Value Initial Conclusion: Since t is not in the critical region, accept H 0 Final Conclusion: We accept the claim that mean change in weight from September to April is 0 kg. -t α/2 = Example 1 t α/2 = t = 2.78 (Using StatCrunch, df = 4) d Data: Sample Stats n = 5 d = 0.2 s d = Use StatCrunch: Stat – Summary Stats – Columns Two-Tailed H 0 = Claim

13 H0 : µd = 0H1 : µd ≠ 0H0 : µd = 0H1 : µd ≠ 0 Two-Tailed H 0 = Claim Initial Conclusion: Since P-value is greater than α (0.05), accept H 0 Final Conclusion: We accept the claim that mean change in weight from September to April is 0 kg. Example 1 d Data: Sample Stats n = 5 d = 0.2 s d = Use StatCrunch: Stat – Summary Stats – Columns Null: proportion= Alternative Sample mean: Sample std. dev.: Sample size: ● Hypothesis Test ≠0≠ P-value = Stat → T statistics→ One sample → With summary

14 Confidence Interval Estimate We can observe how the two proportions relate by looking at the Confidence Interval Estimate of μ 1 –μ 2 CI = ( d – E, d + E )

15 Example 2 Find the 95% Confidence Interval Estimate of μ d from the data in Example 1 Sample Stats n = 5 d = 0.2 s d = CI = (-2.8, 3.2) t α/2 = t = 2.78 (Using StatCrunch, df = 4)

16 Example 2 Find the 95% Confidence Interval Estimate of μ d from the data in Example 1 Sample Stats n = 5 d = 0.2 s d = Level: Sample mean: Sample std. dev.: Sample size: ● Confidence Interval Stat → T statistics→ One sample → With summary CI = (-2.8, 3.2)

17

18 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use the F-distribution Section 9.5 Comparing Variation in Two Samples

19 (1) The two populations are independent (2) The two samples are random samples (3) The two populations are normally distributed (Very strict!) Requirements All requirements must be satisfied to make a Hypothesis Test or to find a Confidence Interval

20 Important The first sample must have a larger sample standard deviation s 1 than the second sample. i.e. we must have s 1 ≥ s 2 If this is not so, i.e. if s 1 < s 2, then we will need to switch the indices 1 and 2

21 Notation σ 1 First population standard deviation s 1 First sample standard deviation n 1 First sample size σ 2 Second population standard deviation s 2 Second sample standard deviation n 2 Second sample size Note: Use index 1 on sample/population with the larger sample standard deviation (s)

22 Tests for Two Proportions H 0 : σ 1 = σ 2 H 1 : σ 1 ≠ σ 2 Two tailedRight tailed Note: We do not consider σ 1 < σ 2 (since we used indexes 1 and 2 such that s 1 is larger) Note: We only test the relation between σ 1 and σ 2 (not the actual numerical values) The goal is to compare the two population variances (or standard deviations) H 0 : σ 1 = σ 2 H 1 : σ 1 > σ 2

23 The F-Distribution Similar to the χ 2 -dist. Not symmetric Non-negative values (F ≥ 0) Depends on two degrees of freedom df 1 = n 1 – 1 (Numerator df ) df 2 = n 2 – 1 (Denominator df )

24 The F-Distribution On StatCrunch: Stat – Calculators – F df 1 = n 1 – 1 df 2 = n 2 – 1

25 s1 s1 F = s2 s2 2 2 Test Statistic for Hypothesis Tests with Two Variances Where s 1 2 is the first (larger) of the two sample variances Because of this, we will always have F ≥ 1

26 If the two populations have equal variances, then F = s 1 2 /s 2 2 will be close to 1 (Since s 1 2 and s 2 2 will be close in value) If the two populations have different variances, then F = s 1 2 /s 2 2 will be greater than 1 (Since s 1 2 will be larger than s 2 2 ) Use of the F Distribution

27 Conclusions from the F-Distribution Values of F close to 1 are evidence in favor of the claim that the two variances are equal. Large values of F, are evidence against this claim (i.e. it suggest there is some difference between the two)

28 Steps for Performing a Hypothesis Test on Two Independent Means Write what we know Index the variables such that s 1 ≥ s 2 (important!) State H 0 and H 1 Draw a diagram Find the Test Statistic Find the two degrees of freedom Find the Critical Value(s) State the Initial Conclusion and Final Conclusion

29 Example 1 Below are sample weights (in g) of quarters made before 1964 and weights of quarters made after When designing coin vending machines, we must consider the standard deviations of pre-1964 quarters and post-1964 quarters. Use a 0.05 significance level to test the claim that the weights of pre-1964 quarters and the weights of post-1964 quarters are from populations with the same standard deviation. Claim: σ 1 = σ 2 using α = 0.05

30 H 0 : σ 1 = σ 2 H 1 : σ 1 ≠ σ 2 Test Statistic Critical Value Initial Conclusion: Since F is in the critical region, reject H 0 Final Conclusion: We reject the claim that the weights of the pre-1964 and post-1964 quarters have the same standard deviation Example 1 Using StatCrunch: Stat – Calculators – F F α/2 = F = Two-Tailed H 0 = Claim n 1 = 40 n 2 = 40 α = 0.05 s 1 = s 2 = (Note: s 1 ≥s 2 ) 2 2 Degrees of Freedom df 1 = n 1 – 1 = 39 df 2 = n 2 – 1 = 39 F α/2 = F = F is in the critical region

31 H 0 : σ 1 = σ 2 H 1 : σ 1 ≠ σ 2 Initial Conclusion: Since P-value is less than α (0.05), reject H 0 Final Conclusion: We reject the claim that the weights of the pre-1964 and post-1964 quarters have the same standard deviation Example 1 Two-Tailed H 0 = Claim n 1 = 40 n 2 = 40 α = 0.05 s 1 = s 2 = (Note: s 1 ≥s 2 ) Null: variance ratio= Alternative Sample 1: Variance: Size: Sample 2: Variance: Size: ● Hypothesis Test P-value = Stat → Variance → Two sample → With summary s 1 2 = s 2 2 = ≠1≠