BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mmovahed
Fluorite | Level 6

Hi SAS members

 

I am trying to pool my effect estimates across my imputed datasets running a linear regression using GLIMMIX. My dependent variable is a continuous variable and my independent variable is a binary treatment variable adjusting for PS decile.

 

Here is my current code:

 

PROC GLIMMIX DATA=moh20crt.ps1_d_tt_response
METHOD=LAPLACE NOCLPRINT;
class biol (ref='TOFA') time patid ;
MODEL
/*radi_lda*/
/*radi_mda*/
radi=biol decile / CL
SOLUTION ;
RANDOM INTERCEPT /subject=patid ;
by _imputation_;
COVTEST / WALD;where month<=8;
ods output ParameterEstimates=a_mvn ;
run;

 

/* this part works well*/

 

Then I try to combine the estimate across 20 MI dataset as below


PROC MIANALYZE data=a_mvn ;
MODELEFFECTS biol ;
stderr biol;
RUN;

/* this part does not work*/

 

I am getting message below in the log 

"ERROR: Within-imputation Estimate missing for variable biol in _Imputation_= 1 in the input DATA=data set"

 

Any thought to resolve the problem

 

Thanks

Moh

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

You have to use both the CLASS statement and PARMS= input in Proc MIANALYZE to combine the Parameter Estimates from GLIMMIX.

 

Try  proc mianalyze  parms(classvar=full)=a_mvn;

class biol;

modeleffects intercept biol decile;

run;

 

View solution in original post

2 REPLIES 2
SAS_Rob
SAS Employee

You have to use both the CLASS statement and PARMS= input in Proc MIANALYZE to combine the Parameter Estimates from GLIMMIX.

 

Try  proc mianalyze  parms(classvar=full)=a_mvn;

class biol;

modeleffects intercept biol decile;

run;

 

mmovahed
Fluorite | Level 6

Dear Rob

 

Thanks for response and solution. It did work!!

 

M

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 649 views
  • 1 like
  • 2 in conversation