BookmarkSubscribeRSS Feed
di_niu0
Obsidian | Level 7

Hi All. I am doing a multilevel model using PROC GLIMMIX. 

 

proc glimmix data=schools method=quad;

         class school_id class_id;

         model  score = class_id / solution dist=binary link=logit;

         random intercept / subject=school_id solution;

run;

 

Result:  

            Covariance Parameter Estimates 

Cov Parm      Subject         Estimate    Standard Error

Intercept        school_id       0.04852     0.39480             

 

How do I output the p value for this estimate of parameter

1 REPLY 1
Miracle
Barite | Level 11

Hi @di_niu0 .
This output section can be obtained by using the ods output statement where it is stored in CovParms in SAS.
HTH.

 

ods trace on;

ods output CovParms=outds;

proc glimmix data=schools method=quad;

         class school_id class_id;

         model  score = class_id / solution dist=binary link=logit;

         random intercept / subject=school_id solution;

run;

ods output close;

ods trace off;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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