BookmarkSubscribeRSS Feed
Silvana
Calcite | Level 5

I'm running a 3- level multilevel regression model using proc glimmix and one of the classes is HPSU so when i run the following code the estimate for HPSU random effect is 9.13E-11 and the standard error is zero.

 

Is there something i'm missing?

 

Here is the code I'm using:

 

PROC GLIMMIX DATA=DIRT METHOD=LAPLACE ;
CLASS HPSU HNUMBER;
MODEL HEPBRESF (EVENT=LAST) = / CL DIST=BINARY LINK=LOGIT ALPHA=0.1 SOLUTION ODDSRATIO (DIFF=FIRST
LABEL) DDFM=BW ;
WEIGHT HPWGT ;
RANDOM INTERCEPT / SUBJECT=HPSU TYPE=VC SOLUTION CL ;
RANDOM INTERCEPT / SUBJECT=HNUMBER (HPSU) TYPE=VC SOLUTION CL ;
COVTEST / WALD;
RUN;

1 REPLY 1
Consuelo
Calcite | Level 5

Run the model with HPSU as  fixed-effect and check the F-value for HPSU,

 

Some good advice found in

Tips and Strategies for Mixed Modeling with SAS/STAT® Procedures

http://support.sas.com/resources/papers/proceedings12/332-2012.pdf

and 

Usage Note 40724: Comparing covariance structures, testing covariance parameters using the COVTEST statement in PROC GLIMMIX

http://support.sas.com/kb/40/724.html

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1528 views
  • 0 likes
  • 2 in conversation