I'm trying to fit a weighted generalized estimation equation to my data. I'm getting error messages. I got the macros from a book on longitudinal data analysis by Molenberghs. The DROPOUT macro is used to construct the the variables 'dropout' and 'prev.' The 'dropout' term is important and indicates if participants have dropped out of the study before its completion. The 'prev' term refers to the outcome at previous occasions. The DROPWGT macro creates weights that are equal to the product of the probability of either dropping out at that time or continuing in a study.
... View more