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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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