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