We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byCelina Backhus
Modified about 1 year ago
Chapter 10 Estimation and Hypothesis Testing II: Independent and Paired Sample T-Test
1. Describe the difference between an independent and a dependent sample 2. Describe the difference between and uses of an independent sample t-test and a paired sample t-test 3. List the assumptions for the independent sample t-test 4. Test a hypothesis using two independent samples 5. Construct confidence intervals for the difference in means for the independent sample t-test 6. List the assumptions for the paired sample t-test 7. Test a hypothesis using two dependent samples 8. Construct confidence intervals for the difference in means for the paired sample t-test © 2012 McGraw-Hill Ryerson Ltd.2 Learning Objectives:
Independent samples are considered to be independent of one another, if they consist of different individuals and the selection of the individuals in the first group does not influence the selection of the second group. For example, you want to determine whether grade 9 students involved in afterschool extracurricular activities have different grade point averages than grade 9 students who are not involved in after-school extracurricular activities. © 2012 McGraw-Hill Ryerson Ltd.3 LO1 Independent Samples
Dependent samples are considered to be dependent on one another if they consist of the same individuals and/or the selection of the individuals in the first group determines the selection of the second group. For example, you want to know if a certain diet is effective at reducing LDL cholesterol levels (the bad kind of cholesterol). You randomly select 20 individuals and measure their LDL cholesterol level. You then have the 20 individuals participate in the diet for three months. At the end of the three months, you measure the LDL cholesterol levels of the same 20 individuals. You now have two samples (or groups). © 2012 McGraw-Hill Ryerson Ltd.4 LO1 Dependent Samples
Independent sample t-test: ◦ When we have two samples that are independent from each other and we want to compare the means of the two samples, we use a independent sample t-test. Paired sample t-test: ◦ When we have two samples that are dependent on each other and we want to compare the means of the two samples, we use a paired sample t-test. © 2012 McGraw-Hill Ryerson Ltd.5 LO2 Independent and Paired Sample t-test
The variables must be measured at either the interval or ratio level of measurement. The two groups from which you collect the data must be independent of one another. The data must be normally distributed. The variance in the population must be equal for both groups, which means they are not statistically significantly different. This is also called the assumption of homogeneity of variances. © 2012 McGraw-Hill Ryerson Ltd.6 LO3 Assumptions of the Independent Sample t-test
The general formula for the independent sample t-test is: Technically, the formula for the independent sample t-test is: Since we are testing the null hypothesis where μ 1 = μ 2, and in the null hypothesis μ 1 -μ 2 =0, we set the term (μ 1 -μ 2 ) to zero. Since is the same as writing we often leave the term (μ 1 -μ 2,), which equals 0, out of the equation. © 2012 McGraw-Hill Ryerson Ltd.7 LO4 Independent Sample t-test for Two Means
© 2012 McGraw-Hill Ryerson Ltd.8 LO4 Independent Sample t-test for Two Means The point estimator for the difference in means is still. However, as we are assuming that σ = σ, we label this common variance σ 2, and estimate it by pooling the two sample variances. The pooled estimate of the variance is given by: For an independent sample t-test, the degrees of freedom are calculated as df = (n 1 + n 2 – 2)
© 2012 McGraw-Hill Ryerson Ltd.9 LO4 Independent Sample t-test for Two Means The pooled variance is the weighted average of the two sample variances. So that the group with more observations is more reliable, and gets a higher weighting. The standard error for a difference in two means is given in (9.2). As we assume that the two population variances are equal, we estimate them both with the common pooled variance s 2 p. So the standard error becomes:
© 2012 McGraw-Hill Ryerson Ltd.10 LO5 Independent Sample t-test for Two Means The confidence interval for (μ 1 – μ 2 ) will use the t- distribution for small sample sizes. The degrees of freedom for s 2 1 is (n1 – 1) and s 2 2 is (n2 – 1). When we pool the information we have (n 1 – 1) + (n 2 – 1) = (n 1 + n 2 – 2) = f Where f is the degrees of freedom. The 95% confidence interval for (μ 1 – μ 2 ) will be the point estimator plus or minus the t-table value times the standard error.
© 2012 McGraw-Hill Ryerson Ltd.11 LO5 Independent Sample t-test for Two Means Then, a 95% confidence interval for μ 1 – μ 2 Where the degrees of freedom for the t-distribution is f = (n 1 + n 2 – 2).
Recall the 5 steps of hypothesis testing: ◦ Define the Null and Alternative Hypothesis. ◦ Define the Sampling Distribution and Critical Values ◦ Calculate the Test Statistic Using the Sample Data ◦ Make the Decision Regarding the Hypothesis ◦ Interpret the results © 2012 McGraw-Hill Ryerson Ltd.12 LO4 Test of Hypotheses
If the data is collected using two independent samples then we use the corresponding t-test. Again the hypotheses are: H 0 : µ 1 = µ 2 H a : µ 1 ≠ µ 2 We can also perform one sided tests if we have prior knowledge of what we would be looking for. © 2012 McGraw-Hill Ryerson Ltd.13 LO4 Test of Hypotheses
© 2012 McGraw-Hill Ryerson Ltd.14 Test of Hypotheses LO4 We first calculate the pooled sample variance The t-test for the difference in two means (independent sample case)
We then reject the null hypothesis of equal means if the t-value is too large or too small. The degrees of freedom associated with the two sample t-test is f = n 1 + n We look up the t- value with in the right tail and we get the value t 0.025:f. The null hypothesis of equal means is rejected if |t| > t 0.025:f where t 0.025:f is the table value with f=n 1 +n 2 -2 degrees of freedom. © 2012 McGraw-Hill Ryerson Ltd.15 Test of Hypotheses LO4
"There is no criminal type" according to Dr. Charles Goring, Deputy Medical Officer of H.M. Prison, London. He measured facial characteristics on 3000 convicts according to The New York times, November 2, The article explains that there was no significant difference between facial measurements of convicts compared to the general population. A similar data set was taken in © 2012 McGraw-Hill Ryerson Ltd.16 LO4 Independent Sample t-test for Two Means – Example
The following data represents left ear measurements on convicts at Parkhurst prison in There are two groups used here representing Ordinary Murderers and Other Criminals Ordinary murderers Other Criminals © 2012 McGraw-Hill Ryerson Ltd.17 Independent Sample t-test for Two Means – Example LO4
For this data the summary statistics are: Griffiths, G.B. (1904). Measurements of One Hundred and Thirty Criminals. Biometrika, 3, Sexually AbusedComparison Group Sample Means Sample Variances Sample Sizesn 1 = 10n 2 = 10 Population Means 1 2 Population Variances © 2012 McGraw-Hill Ryerson Ltd.18 Independent Sample t-test for Two Means – Example LO4
© 2012 McGraw-Hill Ryerson Ltd.19 Independent Sample t-test for Two Means – Example LO4
© 2012 McGraw-Hill Ryerson Ltd.20 Independent Sample t-test for Two Means – Example LO5
© 2012 McGraw-Hill Ryerson Ltd.21 Independent Sample t-test for Two Means – Example (alternative calculation) LO5
The variables must be measured at either the interval or ratio level of measurement. The two groups must be dependent on one another. The differences between the two samples must be relatively normally distributed. © 2011 McGraw-Hill Ryerson Ltd.22 LO6 Assumptions for the Paired Sample t-test
© 2012 McGraw-Hill Ryerson Ltd.23 LO7 Paired Sample t-test for Two Means
© 2012 McGraw-Hill Ryerson Ltd.24 LO7 Paired Sample t-test for Two Means
In the example we compared the means of two types of criminals. The subjects were not related in any way. We consider them to be independent samples. The variance parameter measures the variability in ear measurements of people, and can be quite large as people are highly variable. When we compare two groups of people, we can reduce the variability in the data by using pairs of individuals. So we see toothpaste commercials comparing two brands of toothpaste and measuring the number of cavities over a six month period. © 2012 McGraw-Hill Ryerson Ltd.25 LO7 Paired Sample t-test for Two Means
They could use two groups of subjects and randomly assign them to a brand of toothpaste. But they normally pick sets of twins and randomly assigned one of each twin to a brand of toothpaste. In this example, the variance measures variability in twins rather than variability in people. We expect the variability to be much less. We can choose twins, or pairs of subjects matched up by demographical measurements such as age, sex etc. The idea is to control for differences due to a number of other factors and to reduce the standard errors of our estimates. © 2012 McGraw-Hill Ryerson Ltd.26 LO7 Paired Sample t-test for Two Means
© 2012 McGraw-Hill Ryerson Ltd.27 LO7 Paired Sample t-test for Two Means
© 2012 McGraw-Hill Ryerson Ltd.28 LO7 Paired Sample t-test for Two Means
© 2012 McGraw-Hill Ryerson Ltd.29 LO8 Paired Sample t-test for Two Means
Consider the left and right ear measurements on the "other criminals" in the example. Note ∑d = 8 and ∑d 2 = 84 SubjectRight ear (x 1 )Left Ear (x 2) ) Difference d=x 1 - x © 2012 McGraw-Hill Ryerson Ltd.30 LO7 Paired Sample t-test for Two Means – Example
© 2012 McGraw-Hill Ryerson Ltd.31 LO7,8 Paired Sample t-test for Two Means – Example
The independent sample t-test and the paired sample t-test are useful methods for testing hypotheses with two sample means. ◦ Hypotheses with two sample means and are considered independent use the independent sample t-test. ◦ Testing two sample means from dependent sample use the paired sample t-test. Our research often involves comparing more than two groups so we need to use what is called an analysis of variance (ANOVA). © 2012 McGraw-Hill Ryerson Ltd.32 Conclusion
© Copyright McGraw-Hill CHAPTER 9 Testing the Difference Between Two Means, Two Variances, and Two Proportions.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Math 4030 – 10a Inferences Concerning Variances. Sample variance is defined as If S 2 is the variance of a random sample of size n taken from a normally.
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.
“Students” t-test. Recall: The z-test for means The Test Statistic.
Statistical inference: confidence intervals and hypothesis testing.
PSY 307 – Statistics for the Behavioral Sciences Chapter 14 – t-Test for Two Independent Samples.
17-1 Chapter Seventeen HYPOTHESIS TESTING Approaches to Hypothesis Testing Classical Statistics vs. Bayesian Approach Classical Statistics –sampling-theory.
CHAPTER 10: ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS.
Two Sample Tests TEST FOR EQUAL VARIANCES TEST FOR EQUAL MEANS HHoHHo HHaHHa Population 1 Population 2 Population 1 Population 2 HHoHHo HHaHHa Population.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Chapter 10 The t Test for Two Independent Samples PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9 Hypothesis Testing.
Chapter 9 HYPOTHESIS TESTING USING THE TWO-SAMPLE t-TEST.
BCOR 1020 Business Statistics Lecture 23 – April 15, 2008.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 9 Two-Sample Tests Part II: Introduction to Hypothesis Testing Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social & Behavioral.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Chap 9-1 Chapter 9 Estimation and Hypothesis Testing for Two Population Parameters.
CHAPTER 14 Comparing two groups Dr Richard Bußmann.
5-3 Inference on the Means of Two Populations, Variances Unknown Hypothesis Testing on the Difference in Means Use the data in both samples to estimate.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Chapter 8 HYPOTHESIS TESTING USING THE ONE-SAMPLE t-TEST.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
Education 793 Class Notes T-tests 29 October 2003.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
1 Objective Compare the proportions of two independent means using two samples from each population. Hypothesis Tests and Confidence Intervals of two proportions.
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
2/10/11. Infer properties of the population from what is observed in the sample An inference is a generalization, as inferences go beyond the data.
+ Chapter 13: Inference in Regression Lecture PowerPoint Slides Discovering Statistics 2nd Edition Daniel T. Larose.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
CHAPTER 10 ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
Mid-Term Review Final Review Statistical for Business (1)(2)
Chapter 10: The t Test For Two Independent Samples.
COURSE: JUST 3900 INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Instructor: Dr. John J. Kerbs, Associate Professor Joint Ph.D. in Social Work and Sociology.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Inferences On Two Samples. Overview We continue with confidence intervals and hypothesis testing for more advanced models Models comparing two means –When.
T Test for Two Independent Samples. t test for two independent samples Basic Assumptions Independent samples are not paired with other observations Null.
One-Tailed Test 5%) Steps in Hypothesis Testing: 1.State the hypotheses 2.Identify the test statistic and its probability distribution 3.Specify.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
Chapter 10 Statistical Inference for Two Samples.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 8 Chicago School of Professional Psychology.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
COURSE: JUST 3900 TIPS FOR APLIA Developed By: Ethan Cooper (Lead Tutor) John Lohman Michael Mattocks Aubrey Urwick Chapter : 10 Independent Samples t.
© 2017 SlidePlayer.com Inc. All rights reserved.