Independent Samples t-test Mon, Apr 12 th. t Test for Independent Means wComparing two samples –e.g., experimental and control group –Scores are independent.

Slides:



Advertisements
Similar presentations
The t Test for Two Independent Samples
Advertisements

Independent Measures T-Test Quantitative Methods in HPELS 440:210.
(c) 2007 IUPUI SPEA K300 (4392) Outline Type of t-test Z-test versus t-test Assumptions of the t-test One sample t-test Paired sample t-test F-test for.
9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 22 Comparing Two Proportions.
Comparing Two Groups’ Means or Proportions: Independent Samples t-tests.
Statistical tests for Quantitative variables (z-test & t-test) BY Dr.Shaikh Shaffi Ahamed Ph.D., Associate Professor Dept. of Family & Community Medicine.
Data Analysis Using SPSS t-test. t-test Used to test whether there is significant difference between the means of two groups, e.g.: Used to test whether.
Related Samples t-test Wed, Apr 7 th. Related Samples t wUse when: –1 group of subjects is tested more than once (e.g., pre-test / post-test)…or –2 groups.
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
Using t-tests Basic introduction and 1-sample t-tests Statistics for the Social Sciences Psychology 340 Spring 2010.
Statistics for the Social Sciences
Statistics for the Social Sciences
Statistical Inferences Based on Two Samples
The t Test for Independent Means
Chapter 9 Introduction to the Analysis of Variance Part 2: Oct. 21, 2014.
Hypothesis testing 5th - 9th December 2011, Rome.
Psych 5500/6500 t Test for Two Independent Groups: Power Fall, 2008.
1 Difference Between the Means of Two Populations.
Chapter 8 The t Test for Independent Means Part 2: Oct. 15, 2013.
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
The Two Sample t Review significance testing Review t distribution
1 Difference Between the Means of Two Populations.
Chapter 8 The t Test for Independent Means Part 1: March 6, 2008.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
T-Test (difference of means test) T-Test = used to compare means between two groups. Level of measurement: –DV (Interval/Ratio) –IV (Nominal—groups)
1-Sample t-test Mon, Apr 5 th. T-test purpose wZ test requires that you know  from pop wUse a t-test when you don’t know the population standard deviation.
Chapter 3 Normal Curve, Probability, and Population Versus Sample Part 2.
Analysis of Variance: Inferences about 2 or More Means
Hypothesis testing applied to means. Characteristics of the Sampling Distribution of the mean The sampling distribution of means will have the same mean.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
Ch 11: Correlations (pt. 2) and Ch 12: Regression (pt.1) Apr. 15, 2008.
Chi-Square Test Mon, Apr 19 th, Chi-Square (  2 ) wAre 2 categorical variables related (correlated) or independent of each other? wCompares # in.
Ch 11: Correlations (pt. 2) and Ch 12: Regression (pt.1) Nov. 13, 2014.
Business 205. Review Survey Designs Survey Ethics.
Chapter 7 Introduction to the t Test Part 2: Dependent Samples March 4, 2008.
Hypothesis Testing Using The One-Sample t-Test
The Two Sample t Review significance testing Review t distribution
Hypothesis Testing in SPSS Using the T Distribution
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Lecture 14 Testing a Hypothesis about Two Independent Means.
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
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.
ANOVA: Analysis of Variance.
Introduction to the t Test Part 1: One-sample t test
1-Sample t-test Amir Hossein Habibi.
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.
Ch 13: Chi-square tests Part 2: Nov 29, Chi-sq Test for Independence Deals with 2 nominal variables Create ‘contingency tables’ –Crosses the 2 variables.
Chapter 3 Normal Curve, Probability, and Population Versus Sample Part 2 Aug. 28, 2014.
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
Statistical Significance
Independent-Samples T-Test
COMPARISON OF MEANS QUESTION #10c
Chapter 6 Making Sense of Statistical Significance: Decision Errors, Effect Size and Statistical Power Part 1: Sept. 24, 2013.
SPSS OUTPUT & INTERPRETATION
The t Test for Independent Means
SPSS OUTPUT & INTERPRETATION
Quantitative Methods in HPELS HPELS 6210
Introduction to the t Test Part 2: Dependent Samples
Statistics for the Social Sciences
What are their purposes? What kinds?
Introduction to the t Test Part 2: Dependent Samples
T-test Dr. Hamza Aduraidi.
The t Test for Independent Means
Practice Did the type of signal effect response time?
Presentation transcript:

Independent Samples t-test Mon, Apr 12 th

t Test for Independent Means wComparing two samples –e.g., experimental and control group –Scores are independent of each other wFocus on differences betw 2 samples, so comparison distribution is: –Distribution of differences between means

Hypotheses wHo: or  1 -  2 = 0 (no group difference) or  1 =  2 wHa =  1 -  2 not = 0 (2 tailed) or  1 -  2 > or < 0 (if 1-tailed) wIf null hypothesis is true, the 2 populations (where we get sample means) have equal means wCompare T obs to T critical (w/Df= N-2) wIf |Tobs| > |T crit|  Reject Null

Pooled Variance wT observed will use concept of pooled variance to estimate standard error: –Assume the 2 populations have the same variance, but sample variance will differ… – so pool the sample variances to estimate pop variance –Then standard error used in denom of T obs wNote – I’ll show you 2 approaches (you decide which to use based on what data is given to you)

Finding Estimated Standard Error using SS (lab approach) wPooled variance (S 2 p ) S 2 p = (SS 1 + SS 2 ) / df 1 + df 2 Where, df1 = N 1 -1 and df2= N 2 -1 and SS 1 and SS 2 are given to you wThen use this to estimate standard error: (S xbar 1 –xbar2 ) = sqrt [(S 2 p /N 1 ) + (S 2 p /N 2 )] Estimated Standard Error (using x notation)

Estimated Standard Error using S 2 y (sample variances – book & HW approach) wSkip calculating pooled variance and just estimate standard error: S ybar1 – ybar2 = sqrt [((N 1 -1)S 2 y 1 ) + ((N 2 -1)S 2 y 2 )] (N 1 +N 2 ) – 2 * Sqrt [(N 1 + N 2 )/ N 1 N 2 ] Estimated Standard Error (using y notation) Note: See p. 480 in book for better representation of this formula!!

T observed wOnce you’ve estimated standard error, this will be used in T obs: T obs = (xbar 1 – xbar 2 ) – (  1 -  2 ) S xbar1 – xbar2 Always = 0) Estimated Standard Error (doesn’t matter if use x or y notation!)

Example – using S 2 y info wGroup 1 – watch TV news; Group 2 – radio news; difference in knowledge? wHo:  1 -  2 = 0; Ha:  1 -  2 not = 0 –ybar1 = 24, S 2 1 = 4, N1 = 61 –ybar2 = 26, S 2 2 = 6, N2 = 21 –Alpha =.01, 2-tailed test, df tot = N-2 = 80 –S ybar1-ybar2 = sqrt[((60)4) +((20)6)] ( ) - 2 = 2.12 * sqrt [( ) / 61 *21] = = 2.12 *.253 =.536

wT obs = (24-26) – = wt criticals, alpha =.01, df=80, 2 tailed –2.639 and –2.639 w|T observed | > |T critical| (3.73 > 2.639) wReject null – there is a difference in knowledge based on news source –(check means to see which is best)…radio news was related to higher knowledge. wNote: in lab 22 you’ll use other approach (find SS first, then standard error for T denom); this ex. is how HW will look…

SPSS example wAnalyze  Compare Means  Independent Samples t –Pop up window…for “Test Variable” choose the variable whose means you want to compare. For “Grouping Variable” choose the group variable –After clicking into “Grouping Variable”, click on button “Define Groups” to tell SPSS how you’ve labeled the 2 groups

(cont.) –Pop up window, “Use Specified Values” and type in the code for Group 1, then Group 2, hit “continue” · For example, can label these groups anything you’d like when entering data. Are they coded 0 and 1? 1 and 2?…etc. Specify it here. –Finally, hit OK –See output example in lab for how to interpret

GSS data example wHo:  male -  female = 0, –Ha: difference not = 0 wDV = # siblings wMale xbar = 4.00, female xbar = 3.98 wIn output, 1 st look at Levene’s test of equality of variances (2 lines) Ho: equal variances: –Equal variances assumed  look at sig value –Equal variances not assumed –If ‘sig value” <.05  reject Ho of equal variances and look at ‘equal variance not assumed’ line –If ‘sig’ value >.05  fail to reject Ho of equal variances and use ‘equal variance assumed’ line

(cont.) wHere, fail to reject Ho, use equal variances assumed –Next, using that line, look for ‘sig 2-tailed’ value  this is the main hypothesis test of mean differences –If ‘sig’ <.05  reject Ho of no group differences –Here, >.05, so fail to reject Ho, conclude # sibs doesn’t differ between male/female