BookmarkSubscribeRSS Feed
lyton80
Obsidian | Level 7

I have a code snippet shown below which is embedded in a model building macro:
....
proc glimmix data=&indata;
class study;
model &outcome = &covariates / s oddsratio covb;
random intercept / subject=study;
by _Imputation_;
ods select ParameterEstimates CovB FitStatistics;
ods output ParameterEstimates=lgparms CovB=lgcovb FitStatistics=FitStats;
run;
.....
my response/outcome variable is binary so I am inclined to specifiy a binary distribution and a logit link to keep the code consistent to my modeling expectations, However a change to this:

proc glimmix data=&indata;
class study;
model &outcome = &covariates / dist=bin s oddsratio covb;
random intercept / subject=study;
by _Imputation_;
ods select ParameterEstimates CovB FitStatistics;
ods output ParameterEstimates=lgparms CovB=lgcovb FitStatistics=FitStats;
run;

gives me this error:
ERROR: Within-imputation observations not found for _Imputation_= 6 in the input PARMS= data set.

Can anyone decode this error?

1 REPLY 1
lyton80
Obsidian | Level 7

 

On close examination, proc glimmix is not producing ParameterEstimates because some imputed datasets are not converging. This is causing the proc mianalyze to throw the error.  ("Within-imputation observations not found for _Imputation_= .. in the input PARMS= data set")

 

Is there any way to skip over non-converging datasets?

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1477 views
  • 0 likes
  • 1 in conversation