BookmarkSubscribeRSS Feed
Gilles-Protais
Obsidian | Level 7
proc mi data=CS seed=1033 simple out=monotone nimpute=10 round=0.1;
title "Monotone imputation";
var **bleep**e sex time smoking bmi;
mcmc impute=monotone;
run;
/*** Imputing NCMV ***/
proc mi data=monotone seed=1033 simple out=monotone2 nimpute=1;
title "Model multiple imputation";
class smoking sex;
monotone reg(bmi=smoking **bleep**e time sex);
monotone logistic(smoking=bmi **bleep**e time sex);
mnar model(bmi smoking / modelobs=ncmv);
var **bleep**e sex bmi smoking time;
run;

Hello, please am trying to do multiple imputation, under the NCMV assumption, the first set of code runs pretty fine, but the second one sends me an error that the SMOKING VARIABLE IS NOT IN THE VAR LIST, what can I do please?

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
  • 0 replies
  • 561 views
  • 0 likes
  • 1 in conversation