options linesize=80 pagesize=60; data hivnet; infile 'HivnetIC-SAS.data'; input y month ICgroup id month6 month12 post riskgp educ age cohort; run; proc genmod data=hivnet descending; class id riskgp; model y = post month12 ICgroup ICgroup*post ICgroup*month12 / dist=binomial link=logit; repeated subject=id / corrw type=ar; run; proc genmod data=hivnet descending; class id riskgp; model y = post ICgroup ICgroup*post / dist=binomial link=logit; repeated subject=id / corrw type=un; run;