1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
* QUESTION: Is there a way to do a t-test in SPSS when only the means, standard
deviations, and Ns are available?

* ANSWER posted to SPSSX-L by Tingyu Wang on 2001/4/30.

MATRIX DATA VARIABLES=GROUP ROWTYPE_ SCORE
                /FACTORS=GROUP.
BEGIN DATA
1 N 20
1 MEAN 55
1 STDDEV 1.2
2 N 20
2 MEAN 68
2 STDDEV 1.8
END DATA.

ONEWAY SCORE BY GROUP
 /MATRIX =IN(*).