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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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