Obtaining the odds ratio and 95% confidence interval from mixed effect logistic regression in sas

Viewed 13

How can I get the odds ratio and 95% confidence interval from mixed effect logistic regression in sas?

I am aware that odds ration could be derived by exponentiating the obtained estimate.

I saw this link for getting odds ratio in R but I need it in sas.

A sample dataset and code:

data herd;
call streaminit(1);
do herd = 1 to 10;
   do testyear = 2005, 2015;
      do Time = 1 to 6;
         eta = -1 + 0.1*herd + 0.5*Time - 2*(testyear=2015);
         mu = logistic(eta);
         mpd = rand("Bernoulli", mu);
         output;
      end;
   end;
end;

proc GLIMMIX data = herd;
   class testyear TIME;
   model MPD = TESTYEAR TIME / s dist=binary;
   RANDOM HERD;
RUN;

Appreciate any advice.

0 Answers
Related