I'm trying to translate the following line of Stata code into its equivalent SPSS syntax:

mixed outcome i.time c.age i.gender || id:, cov(unstr)

My understanding is that the equivalent SPSS syntax would be:

mixed outcome by time gender with age

/fixed time gender age

/random intercept | subject(id) COVTYPE(UN)

/print = solution

...and indeed, the two commands produce identical parameter estimates for the fixed effects. However, the parameter estimate for the _cons/Intercept term, standard errors and p-values they calculate are completely different. I would expect some variation in how these are calculated between programs, but this is to an unusual extent. Any thoughts?

More Alice Wickersham's questions See All
Similar questions and discussions