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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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