The two-sample t-test Expanding t to two groups. t-tests used for population mean diffs With 1-sample t, we have a single sample and a population value.

Slides:



Advertisements
Similar presentations
Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
Advertisements

Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Chapter 10 Two-Sample Tests
PSY 307 – Statistics for the Behavioral Sciences
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Statistics Are Fun! Analysis of Variance
BCOR 1020 Business Statistics
Chapter Goals After completing this chapter, you should be able to:
Overview of Lecture Parametric Analysis is used for
Don’t spam class lists!!!. Farshad has prepared a suggested format for you final project. It will be on the web
Lecture 9: One Way ANOVA Between Subjects
T-Tests Lecture: Nov. 6, 2002.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Testing the Difference Between Means (Small Independent Samples)
Chapter 9 Hypothesis Testing.
Business 205. Review Survey Designs Survey Ethics.
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
The t-test Inferences about Population Means when population SD is unknown.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Hypothesis Testing with Two Samples
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Hypothesis testing – mean differences between populations
Section #4 October 30 th Old: Review the Midterm & old concepts 1.New: Case II t-Tests (Chapter 11)
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
Education 793 Class Notes T-tests 29 October 2003.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
Comparing Two Population Means
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 9: Testing Hypotheses
Statistics Are Fun! Two-Sample Tests of Hypothesis
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
COURSE: JUST 3900 TIPS FOR APLIA Developed By: Ethan Cooper (Lead Tutor) John Lohman Michael Mattocks Aubrey Urwick Chapter : 10 Independent Samples t.
One-sample In the previous cases we had one sample and were comparing its mean to a hypothesized population mean However in many situations we will use.
Chapter 10 Inferences from Two Samples
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
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.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Warsaw Summer School 2011, OSU Study Abroad Program Difference Between Means.
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
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.
Chapter Thirteen Part II Hypothesis Testing: Means.
T-test Testing Inferences about Population Means.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
Tuesday, September 24, 2013 Independent samples t-test.
366_7. T-distribution T-test vs. Z-test Z assumes we know, or can calculate the standard error of the distribution of something in a population We never.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
T-tests Comparing the means of 2 independent similar populations.
Chapter 9 Hypothesis Testing.
Math 4030 – 10a Tests for Population Mean(s)
Dependent t-test.
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Testing: Hypotheses
Statistical Inference about Regression
Inferences about Population Means
Reasoning in Psychology Using Statistics
What are their purposes? What kinds?
T-test Dr. Hamza Aduraidi.
Presentation transcript:

The two-sample t-test Expanding t to two groups

t-tests used for population mean diffs With 1-sample t, we have a single sample and a population value in mind With 2-sample t, we have two groups.  Experimental vs. Control Drug vs. placebo Psychotherapy, wait list New training, status quo  Brand Preference Pepsi, Coke Coors, Red Stripe  Male, Female Husband, wife; Brother, sister; Sorority, fraternity Use samples to decide about populations – treatment effectiveness, differences between brands, groups

Varieties of t 1-Sample (only one kind) 2-Sample (two kinds)  Independent samples – groups are unrelated Experimental vs. control groups (at random) Male vs. female participants (unrelated)  Dependent samples – groups are related Same person in both groups  Left hand vs. right hand  Pain-free vs. placebo Groups are related somehow  Wife, husband  Cancer patient, friend

Common Structure of t test Many statistical tests have this form: Statistic/(Standard error of Statistic). All t-tests have this form. Example, 1-sample t: The t-test and many other stats can be thought of as a fancy z score. It may not look like it, but it is basically the difference in means divided by the standard error of the difference in means.

Independent Samples t The formula for the two-sample t-test for independent samples looks like this: This says we find the value of t by taking the difference in the two sample means and dividing by the standard error of the difference in means. The top part is just the means for the two groups. The bottom part is a function of the group standard deviations. Let us take a look.

Example of the Standard Error of the Difference in Means Suppose that at USF the mean height is 68 inches and the standard deviation of height is 6 inches. Suppose we sampled people 100 at a time into two groups. We would expect that the average mean difference would be zero. What would the standard deviation of the distribution of differences be? The standard error for each group mean is.6, for the difference in means, it is.85.

Estimating the Standard Error of Mean Differences The USF scenario we just worked was based on population information. That is: We generally don’t have population values. We usually estimate population values with sample data, thus: All this says is that we replace the population variance of error with the appropriate sample estimators.

Pooled Standard Error We can use this formula when the sample sizes for the two groups are equal. When the sample sizes are not equal across groups, we find the pooled standard error. The pooled standard error is a weighted average, where the weights are the groups’ degrees of freedom.

Example of the two-sample t, Empathy by College Major Suppose we have a professionally developed test of empathy. The test has people view film clips and guess what people in the clips are feeling. Scores come from comparing what people guess to what the people in the films said they felt at the time. We want to know whether Psychology majors have higher scores on average to this test than do Physics majors. No direction, we just want to know if there is a difference. So we find some (N=15) of each major and give each the test. Results look like this:

Empathy Scores PersonPsychologyPhysics

Empathy From dataPsychologyPhysics N15 Mean SD SD /15= TermCalculationResult Sqrt( ).78 t.46/ df t(.05, 28 df) 2 tail >.59, n.s.

Six Steps 1. Set alpha. Set at State hypotheses: Null hypothesis Alternative (substantive) hypothesis 3. Calculate the statistic. 4. Determine the critical value. We are looking for a value of t in the table. N = 30, df = 30-2 = 28, alpha =.05, 2 tails. The critical value is 2.05.

Six Steps 5. State the decision rule. If the absolute value of the sample t is greater than or equal to critical t, then reject H 0. If not, then fail to reject H 0. In this case |.62| < 2.05, so we cannot reject H State the conclusion. In our sample, t is not significant. Based on the results of this study, there is no evidence that Psychology majors and Physics majors differ on a test of empathy.