BookmarkSubscribeRSS Feed
Shine
Calcite | Level 5

Hi, there,

Anyone knows how to solve this problem when I run proc glimmix imputation model with proc mianalyze.

WARNING: Within-imputation StdErr is zero for variable  in _Imputation_= 1 in the input PARMS= data set.

Thank you!

3 REPLIES 3
SAS_Rob
SAS Employee

Can you show us the GLIMMIX and MIANALYZE code you used?

Shine
Calcite | Level 5
HI, Rob,
I followed exactly your suggestion

proc qlim data=scf;

by _imputation_;


model HS = age agesq female /discrete;

model shares = age agesq female/select(y1=1);


ods output parameterestimates=parms;

run;

data parms;
set parms;
parameter=translate(parameter,'_','.');
run;
proc mianalyze parms=parms;
modeleffects HS_Intercept HS_ age HS_ agesq
HS_female shares_Intercept shares_age shares_agesq shares_female _Rho
_Sigma_shares;

run;

It turned out to be _Rho has a missing standard error and SAS stopped
processing.

Any advice is appreciated.

SAS_Rob
SAS Employee
With no standard error for Rho you won't be able to get combined estimates. I would remove it from the MODELEFFECTS statement to get MIANALYZE to run.



I should mention that the missing standard error might indicate an issue with the models in QLIM themselves. I would check those to make sure there is convergence, its not overspecified in the 2nd model, etc.


SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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