Table 5.
Options for Implementing the Statistical Models in R, SAS, and Stata Programs
| Method | R (Package) | SAS (Proc) | Stata |
|---|---|---|---|
| GEE | gee (gee) | GENMOD | xtgee |
| geeglm (geepack) | GEE | ||
| GLMM | lmer or glmer (lme4) | GLIMMIX | meglm |
| IIW-GEE | iiwgee (IrregLong) | ||
| or coxph and | PHREG and | stcox and | |
| weights = in geeglm | scwgt in GENMOD | pweight in xtgee | |
| Liang model | Liang (IrregLong) | n/a | n/a |
| Multiple outputation | mo (IrregLong) | n/a | n/a |
| Parametric joint model | merlin (merlin) | NLMIXED | merlin |
Abbreviations: GEE, generalized estimating equation; GLMM, generalized linear mixed model; IIW, inverse intensity weighted; n/a, not applicable.