Programming the statistical procedures from SAS

GLIMMIX: constant term only model

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

GLIMMIX: constant term only model

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


Accepted Solutions
Solution
‎05-25-2017 07:54 PM
Grand Advisor
Posts: 9,458

Re: GLIMMIX: constant term only model

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


All Replies
Solution
‎05-25-2017 07:54 PM
Grand Advisor
Posts: 9,458

Re: GLIMMIX: constant term only model

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

 

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

Occasional Contributor
Posts: 10

Re: GLIMMIX: constant term only model

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

Grand Advisor
Posts: 9,458

Re: GLIMMIX: constant term only model

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

Occasional Contributor
Posts: 10

Re: GLIMMIX: constant term only model

Hi Ksharp!

 

Thank you for letting me know!

I will check the blogs!

 

Tnahk you again,

 

Tissuee5454

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 121 views
  • 4 likes
  • 2 in conversation