Re: How do I perform generalized estimating equation for clustered data in SPSS?
Posted by
Andy W on
URL: http://spssx-discussion.165.s1.nabble.com/How-do-I-perform-generalized-estimating-equation-for-clustered-data-in-SPSS-tp5740704p5740705.html
From that description they probably want you to cluster by school in the model. The GENLIN command will look something like:
GENLIN PostScore BY Intervention Gender Country WITH PreScore
/MODEL Intervention Gender Country PreScore
DISTRIBUTION=NORMAL LINK=IDENTITY
/REPEATED SUBJECT=School CORRTYPE=UNSTRUCTURED.
Given only 6 countries, I would probably also look at interaction effects for countries, e.g.
/MODEL Intervention Country Intervention*Country Gender PreScore
and then do an EMMEANS command to get the easier to read contrasts table.