Hi Everyone,
I'm teaching a course for students where they will learn about statistical software using SPSS. However, I am generating a test bank of questions using Stata because it's much easier to work with. I am producing a large set of questions/answers with Stata and then students will reproduce those results in SPSS.
I am currently writing questions for two-group mean comparisons and I have found a discrepancy between how Stata and SPSS produce estimates for robust t-tests. The data for these analyses are using the 2018 American General Social Survey from NORC.
and
produce the same estimates with respect to Welch's t-value, but there is a discrepancy in the degrees of freedom (Stata = 258.699; SPSS = 257.655). I appreciate that the difference is small, but this discrepancy will interfere with what I'm trying to do. Can anyone clarify what is leading to this disagreement?
Cheers,
David.
I'm teaching a course for students where they will learn about statistical software using SPSS. However, I am generating a test bank of questions using Stata because it's much easier to work with. I am producing a large set of questions/answers with Stata and then students will reproduce those results in SPSS.
I am currently writing questions for two-group mean comparisons and I have found a discrepancy between how Stata and SPSS produce estimates for robust t-tests. The data for these analyses are using the 2018 American General Social Survey from NORC.
Code:
ttest egomeans, by(abdefect) welch
Code:
T-TEST GROUPS=abdefect(0 1) /MISSING=ANALYSIS /VARIABLES=egomeans /ES DISPLAY(TRUE) /CRITERIA=CI(.95).
Cheers,
David.
Comment