Generalized Estimating Equations

Generalized Estimating Equations

Generalized Estimating Equations Introduction The generalized estimating equations (GEEs) methodology, introduced by Liang and Zeger (1986), enables you to analyze correlated data that otherwise could be modeled as a generalized linear model. GEEs have become an important strategy in the analysis of correlated data. These data sets can arise from longitudinal studies, in which subjects are measured at different points in time, or from clustering, in which measurements are taken on subjects who share a common characteristic, such as belonging to the same litter. SAS/STAT software provides two procedures that enable you to perform GEE analysis: the GENMOD procedure and the GEE procedure. Both procedures implement the standard generalized estimating equation approach for longitudinal data; this approach is appropriate for complete data or when data are missing completely at random (MCAR). When the data are missing at random (MAR), the weighted GEE method, which is implemented in the GEE procedure, produces valid inference. The weighted GEE method is described by Molenberghs and Kenward (2007); Fitzmaurice, Laird, and Ware (2011); Mallinckrodt (2013); O’Kelly and Ratitch (2014). The GENMOD Procedure The GENMOD procedure enables you to perform GEE analysis by specifying a REPEATED statement in which you provide clustering information and a working correlation matrix. The generalized linear model estimates are used as the starting values. Both model-based and empirical standard errors of the parameter estimates are produced. Many correlation structures are available, including first-order autoregressive, exchangeable, independent, m-dependent, and unstructured. You can also input your own correlation structures. The GENMOD procedure also provides the following: Type III tests for model effects CONTRAST, LSMEANS, and ESTIMATE statements alternating logistic regression estimation models for ordinal data The proportional odds model is a popular method of GEE analysis of ordinal data and is based on modeling cumulative logit functions. The GENMOD procedure also models cumulative probits and cumulative complementary log-log functions. 2 F Example A study of the effects of pollution on children produced the following data. The binary response indicates whether children exhibited symptoms during the period of study at ages 8, 9, 10, and 11. A logistic regression is fit to the data with the explanatory variables age, city of residence, and a passive smoking index. The correlations among the binary outcomes are modeled as exchangeable. The following statements create the data set Children and fit a GEE model by using the GENMOD procedure. data children; input id city$ @@; do i=1 to 4; input age smoke symptom @@; output; end; datalines; 1 steelcity 8 0 1 9 0 1 10 0 1 11 0 0 2 steelcity 8 2 1 9 2 1 10 2 1 11 1 0 3 steelcity 8 2 1 9 2 0 10 1 0 11 0 0 4 greenhills 8 0 0 9 1 1 10 1 1 11 0 0 5 steelcity 8 0 0 9 1 0 10 1 0 11 1 0 6 greenhills 8 0 1 9 0 0 10 0 0 11 0 1 7 steelcity 8 1 1 9 1 1 10 0 1 11 0 0 8 greenhills 8 1 0 9 1 0 10 1 0 11 2 0 9 greenhills 8 2 1 9 2 0 10 1 1 11 1 0 10 steelcity 8 0 0 9 0 0 10 0 0 11 1 0 11 steelcity 8 1 1 9 0 0 10 0 0 11 0 1 12 greenhills 8 0 0 9 0 0 10 0 0 11 0 0 13 steelcity 8 2 1 9 2 1 10 1 0 11 0 1 14 greenhills 8 0 1 9 0 1 10 0 0 11 0 0 15 steelcity 8 2 0 9 0 0 10 0 0 11 2 1 16 greenhills 8 1 0 9 1 0 10 0 0 11 1 0 17 greenhills 8 0 0 9 0 1 10 0 1 11 1 1 18 steelcity 8 1 1 9 2 1 10 0 0 11 1 0 19 steelcity 8 2 1 9 1 0 10 0 1 11 0 0 20 greenhills 8 0 0 9 0 1 10 0 1 11 0 0 21 steelcity 8 1 0 9 1 0 10 1 0 11 2 1 22 greenhills 8 0 1 9 0 1 10 0 0 11 0 0 23 steelcity 8 1 1 9 1 0 10 0 1 11 0 0 24 greenhills 8 1 0 9 1 1 10 1 1 11 2 1 25 greenhills 8 0 1 9 0 0 10 0 0 11 0 0 ; run; proc genmod data=children; class id city smoke; model symptom = city age smoke / dist=bin type3; repeated subject=id / type=exch covb corrw; contrast 'Smoke=0 vs Smoke=1' smoke 1 -1 0; run; The REPEATED statement requests a GEE analysis. The SUBJECT=ID option identifies ID as the clustering Example F 3 variable, and the TYPE=EXCH option specifies an exchangeable correlation structure. The TYPE3 option in the MODEL statement requests Type III statistics for each effect in the model. The CONTRAST statement requests a test that compares the first and second levels of the SMOKE effect. Output 1 GEE Analysis Results The GENMOD Procedure GEE Model Information Correlation Structure Exchangeable Subject Effect id (25 levels) Number of Clusters 25 Correlation Matrix Dimension 4 Maximum Cluster Size 4 Minimum Cluster Size 4 Covariance Matrix (Model-Based) Prm1 Prm2 Prm4 Prm5 Prm6 Prm1 3.55587 -0.10887 -0.33581 -0.28538 -0.36770 Prm2 -0.10887 0.23866 0.003817 -0.06498 -0.03167 Prm4 -0.33581 0.003817 0.03567 -0.006532 0.002418 Prm5 -0.28538 -0.06498 -0.006532 0.47909 0.36456 Prm6 -0.36770 -0.03167 0.002418 0.36456 0.49376 Covariance Matrix (Empirical) Prm1 Prm2 Prm4 Prm5 Prm6 Prm1 3.83245 -0.54727 -0.36518 0.13082 -0.24490 Prm2 -0.54727 0.28779 0.05330 -0.16329 -0.03665 Prm4 -0.36518 0.05330 0.03752 -0.03672 -0.000823 Prm5 0.13082 -0.16329 -0.03672 0.37495 0.26015 Prm6 -0.24490 -0.03665 -0.000823 0.26015 0.43395 Algorithm converged. Working Correlation Matrix Col1 Col2 Col3 Col4 Row1 1.0000 0.0758 0.0758 0.0758 Row2 0.0758 1.0000 0.0758 0.0758 Row3 0.0758 0.0758 1.0000 0.0758 Row4 0.0758 0.0758 0.0758 1.0000 Exchangeable Working Correlation Correlation 0.0758342784 GEE Fit Criteria QIC 135.3185 QICu 134.4346 4 F Output 1 continued Analysis Of GEE Parameter Estimates Empirical Standard Error Estimates 95% Standard Confidence Parameter Estimate Error Limits Z Pr > |Z| Intercept -4.2569 1.9577 -8.0938 -0.4199 -2.17 0.0297 city greenhil -0.0287 0.5365 -1.0802 1.0227 -0.05 0.9573 city steelcit 0.0000 0.0000 0.0000 0.0000 . age 0.3330 0.1937 -0.0467 0.7126 1.72 0.0856 smoke 0 1.6781 0.6123 0.4780 2.8783 2.74 0.0061 smoke 1 1.7418 0.6588 0.4507 3.0330 2.64 0.0082 smoke 2 0.0000 0.0000 0.0000 0.0000 . Score Statistics For Type 3 GEE Analysis Source DF Chi-Square Pr > ChiSq city 1 0.00 0.9575 age 1 2.77 0.0963 smoke 2 5.28 0.0715 Contrast Results for GEE Analysis Contrast DF Chi-Square Pr > ChiSq Type Smoke=0 vs Smoke=1 1 0.01 0.9089 Score The GEE Procedure For longitudinal studies, missing data are common, and they can be caused by dropouts or skipped visits. If missing responses depend on previous responses, the usual GEE approach can lead to biased estimates. So the GEE procedure also implements the weighted GEE method to handle missing responses that are caused by dropouts in longitudinal studies (Robins and Rotnitzky 1995; Preisser, Lohman, and Rathouz 2002). The GEE procedure includes alternating logistic regression (ALR) analysis for binary and ordinal multinomial responses. In ordinary GEEs, the association between pairs of responses are modeled with correlations. The ALR approach provides an alternative by using the log odds ratio to model the association between pairs. For binary responses, the ALR algorithm of Carey, Zeger, and Diggle (1993) is implemented in both the GEE and GENMOD procedures. PROC GEE also implements the ALR algorithm of Heagerty and Zeger (1996), which extends the ALR approach to ordinal multinomial responses. An ordinary GEE with the independent working correlation structure is also available for both nominal and ordinal multinomial data. Example This example shows how you can use the GEE procedure to analyze longitudinal data that contain missing values. The data set is taken from a longitudinal study of women who used contraception during one year (Fitzmaurice, Laird, and Ware 2011). In this study, 1,151 women were randomly assigned to one of two Example F 5 treatments: 100 mg or 150 mg of depot medroxyprogesterone acetate (DMPA) at baseline and at three-month intervals. The response variable indicates the women’s amenorrhea status during the four consecutive three- month intervals. The question of interest is whether the treatment has an effect on the rate of amenorrhea over time. The example follows the analysis by Fitzmaurice, Laird, and Ware (2011). The following statements create the data set Amenorrhea: data Amenorrhea; input ID Dose Time Y@@; datalines; 1 0 1 0 1 0 2 . 1 0 3 . 1 0 4 . ... more lines ... 1150 1 4 1 1151 1 1 1 1151 1 2 1 1151 1 3 1 1151 1 4 1 ; The variables in the data are as follows: ID: patient’s ID Y: indicator of amenorrhea status (1 for amenorrhea; 0 otherwise) Time: four consecutive three-month intervals with values 1, 2, 3, and 4 Dose: 0 for treatment with 100 mg injection; 1 for treatment with 150 mg injection To prepare for the analysis, two additional variables are created: Prevy: the patient’s amenorrhea status in the previous three-month interval.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us