Presentation is loading. Please wait.

Presentation is loading. Please wait.

The independent-means t-test:

Similar presentations


Presentation on theme: "The independent-means t-test:"— Presentation transcript:

1 The independent-means t-test:

2 Answers the question: is there a "real" difference between the two conditions in my experiment? Or is the difference due to chance? Previous lecture: (a) “Dependent-means t-test: (”Matched-pairs" or "one-sample" t-test). Same subjects do both experimental conditions e.g., two conditions A and B: half subjects do A then B; rest do B then A. (Randomly allocated to one order or the other).

3 This lecture: (b) “Independent-means t-test: (“Two-sample" t-test). Different subjects do each experimental condition. e.g., two conditions A and B: half subjects do A; rest do B. (Randomly allocated to A or B).

4 The t-test formula: Same logic as z-score -
Observed difference between sample means - hypothesised difference Estimate of how much successive sample means differ spontaneously

5 Independent Means t-test, step-by-step:
Effects of Prozac on driving ability. Two separate groups of subjects. Group X: ten subjects take a driving test after taking Prozac. Group Y: ten subjects take a driving test without any drugs. Group X: Group Y: X X2 Y Y2 Subject Subject Subject Subject Subject Subject

6 Step 1: NX = the number of subjects in condition X. Here, NX = 10. NY = the number of subjects in condition Y. Here, NY = 10. Step 2: Add together all the X scores, to get the sum of X: X = 389

7 Step 3: Divide the result of Step 2 (i.e., X) by the number of subjects who did condition X, to get the mean of the X scores:

8 Step 4: Add together all the Y scores, to get the sum of Y: Y = 442 Step 5: Divide Y by the number of subjects who did condition Y, to get the mean of the Y scores:

9 Step 6: Square each X score, and then add together all these squared scores, to get X2 = 15245 Step 7: Do the same with the Y scores, to get Y2 = Step 8: Add together all the X scores (which we have already done in step 2 above) and then square this sum: (X)2 = 3892 Step 9: Do the same with the Y scores: (Y)2 = 4422

10 Step 10: Work out Step 11: Likewise,

11 Step 12: (X - Y) hyp. is usually zero. Step 13:

12 t = - 3.68 with (nX -1) + (nY - 1) degrees of freedom.
critical values of t (two-tailed): t = with (nX -1) + (nY - 1) degrees of freedom. Compare obtained value of t to the critical value of t for 18 d.f., found in a table of critical t-values (same table as for repeated-measures t-test). The critical value of t (for a two-tailed test with a p level of 0.05 ) is 2.10. Our obtained t is bigger than this critical value. We conclude that there is a statistically significant difference between the two groups: driving ability is affected by Prozac ( t (18) = , p<0.05).

13 Our obtained value of t is even less likely to occur by chance than the critical value in the table:
-3.68 -2.10 +2.10 as t increases, it becomes less likely to occur by chance

14 Requirements for performing a t-test:
Both t-tests are parametric tests; they assume the data possess certain characteristics or "parameters": (a) The frequency of obtaining scores in each group or condition should be roughly normally distributed. (b) The data should consist of measurements on an interval or ratio scale. (c) The two groups or conditions should show "homogeneity of variance". i.e., the spread of scores within each group should be similar.

15 t-tests are "robust" with respect to violations of these assumptions, as long as the samples are not too small and there are equal numbers of subjects in both groups (in the case of the independent-means t-test). If the data do not satisfy the requirements for a t-test, use a non-parametric test - the Mann-Whitney test instead of an independent-means t-test; the Wilcoxon test instead of a repeated-measures t-test.

16 Using SPSS for independent-means t-tests:
Do different ways of parking a police car affect people’s ability to detect that it is parked? Two groups see a video taken from a driver's viewpoint and press a button as soon as they see a parked police car. Only difference between the groups is the car’s orientation . Group A (n = 20): see car parked at an angle. Group B (n = 17): see car parked straight. I.V.: orientation of parking (angle or straight). D.V.: reaction-time (msec) to detect parked car.

17 Results of analysis using SPSS:
(Analyze > compare means > Independent Samples t-test).


Download ppt "The independent-means t-test:"

Similar presentations


Ads by Google