Hello, According to https://support.sas.com/kb/46/997.html, PROC GENMOD can be used to fit a repeated measures logistic model to the individual level data. In the example, 100 husband and wife pairs were asked a question that could be answered Yes or No. We are to estimate the probability difference between husband and wife. member = 1 if husband, 0 if wife id: the husband and wife identifier The model can be fitted via logit link or identity link. If using logit link, the probability difference can get from %NLMeans(instore=geemod, coef=c, link=logit, title=Pr(Yes) Difference). logit link: proc genmod data=indiv;
class id member;
model response(event='1') = member / dist=binomial;
repeated subject=id;
lsmeans member / ilink cl e;
ods output coef=c;
store geemod;
run; %NLMeans(instore=geemod, coef=c, link=logit, title=Pr(Yes) Difference) Identity link: proc genmod data=indiv;
class id member;
model response(event='1') = member / dist=binomial link=identity;
repeated subject=id;
lsmeans member / diff cl;
run; Comparing these two approaches, what is the pros and cons between using logit link and using identity link?
... View more