BookmarkSubscribeRSS Feed
Yao_W
Calcite | Level 5

Hello all,

I am using proc glimmix to fit a multilevel logistical model. Den df in the parameter estimates of gender*TE*item is 0 so there is no p value. What might be the reason?

proc glimmix data=data1;

    class tID sID item gender TE;

    model response (Event='1')= item gender*TE*item / Dist=Binary link=logit solution noint  DDFM=BW;

    random intercept  / subject=tID type=vc;

    random intercept  / subject=sID(tID) type=vc;

run;

1 REPLY 1
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

I am guessing you have unbalanced data, with a lot of cells with no observations (in the three-way table). I usually see this problem with the default ddf method (ddfm=containment).  You could use ddfm=kr (for Kenward-Roger method). This will work for the default estimation method. However, the default estimation method is probably not the best choice for binary data because of bias of parameter estimates. I would suggest you use the option method=laplace on the procedure statement. But if you do that, you cannot use ddfm=kr.  If you felt you had enough observations, you could use chi-squared wald statistics instead of F statistics for hypothesis testing and confidence intervals. Just put CHISQ as an option in the model statement.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2526 views
  • 0 likes
  • 2 in conversation