These examples are from Chapter 8 of Generalized Linear Models by John P. Hoffmann. The data set can be downloaded from the companion website for the book. Please note that the genlin command was introduced in version 15 of SPSS.
Page 156, gee model with independent correlation structure
GENLIN delinq (reference=0) WITH stress cohes /MODEL stress cohes DISTRIBUTION=BINOMIAL /REPEATED SUBJECT=newid CORRTYPE=INDEPENDENT COVB=MODEL.
Page 156, gee model with exchangeable correlation structure
GENLIN delinq (reference=0) WITH stress cohes /MODEL stress cohes DISTRIBUTION=BINOMIAL /REPEATED SUBJECT=newid CORRTYPE=EXCHANGEABLE COVB=MODEL /PRINT CPS FIT SUMMARY SOLUTION WORKINGCORR.
Page 157, gee model with AR(1) correlation structure
GENLIN delinq (reference=0) WITH stress cohes /MODEL stress cohes DISTRIBUTION=BINOMIAL /REPEATED SUBJECT=newid CORRTYPE=AR(1) COVB=MODEL /PRINT CPS FIT SUMMARY SOLUTION WORKINGCORR.
Page 157, gee model with unstructured correlation structure
GENLIN delinq (reference=0) WITH stress cohes /MODEL stress cohes DISTRIBUTION=BINOMIAL /REPEATED SUBJECT=newid CORRTYPE=UNSTRUCTURED COVB=MODEL /PRINT CPS FIT SUMMARY SOLUTION WORKINGCORR.