BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tissue5454
Obsidian | Level 7

Hi all!

 

I am constructing logistic regression model with random effiect for binary data by GLIMMIX.

At first, I am trying to test significance of  intercept random effect of cluster "fid".

To do this, I think it is convenient to  specify constant term only model with GLIMMIX.

 

Anyone know how I can specify constant term only model in GLIMMIX or any other appropriate way?

 

 

--------------------------------------------------------------------------------

proc glimmix data=logitbank method=quad;
class fid;
model ydat2(event='1') = ????
/dist = binary link=logit ddfm=none solution;
random intercept/ subject=fid;
output out =glmout pred =xbeta pred(ilink) =predprob;
covtest;
run;

---------------------------------------------------------------------------------

 

Thanks,

Tissuee5454

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

You can leave it empty if you want only fit a intercept term.

 

model ydat2(event='1') = /dist = binary link=logit ddfm=none solution;

View solution in original post

4 REPLIES 4
Ksharp
Super User

You can leave it empty if you want only fit a intercept term.

 

model ydat2(event='1') = /dist = binary link=logit ddfm=none solution;

Tissue5454
Obsidian | Level 7

HI Ksharp!

Thank you for your help!

I did not come up with that!

 

As you said, I could fit constant term only.

 

Thank you again!

 

Tissuee5454

Ksharp
Super User

I learned it from @Rick_SAS   's blogs .Search it you will find some rick's blogs about this topic .

Tissue5454
Obsidian | Level 7

Hi Ksharp!

 

Thank you for letting me know!

I will check the blogs!

 

Tnahk you again,

 

Tissuee5454

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 4 replies
  • 1426 views
  • 5 likes
  • 2 in conversation