Skip to main content
. 2022 Oct 19;44(1):121–137. doi: 10.1093/epirev/mxac010

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.