LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 9 Mar 2009 15:11:04 -0400
Reply-To:   Jerry Davis <jwd@UGA.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jerry Davis <jwd@UGA.EDU>
Subject:   Re: use glimmix to test if the variance is significant for random variable
Comments:   To: Marianne Kang <tongjunkang@HOTMAIL.COM>
In-Reply-To:   <200903091803.n29HJlg0004708@malibu.cc.uga.edu>
Content-Type:   text/plain; charset="US-ASCII"

Marianne Kang wrote:

> My questions is how can I tell if the random effect is significant? from > Covariance parameter estimates? > > Here is my code and result: > proc glimmix data=a; > model late_hiv_testing(event="1")=/link=logit dist=binary ddfm=bw solution; > random intercept/subject=zipcode; > run;

If you have SAS 9.2 you can use the COVTEST statement in GLIMMIX.

proc glimmix data=a; model late_hiv_testing(event="1")=/link=logit dist=binary ddfm=bw solution; random intercept/subject=zipcode; covtest 'Ho: No random effects' ZeroG; * tests if G matrix can be reduced to a 0 matrix; run;

As an aside, I might be tempted to put zipcode in a class statement. But I don't know enough about your data to say one way or the other.

Jerry UGA


Back to: Top of message | Previous page | Main SAS-L page