Hi!
I am working with a dataset with missing values for few observations.
I would like to do multiple imputation for them.
The variables are below:
BMI_1_year Frequency Missing = 199
BMI_6_mon Frequency Missing = 122
Post_op_BMI_4_weeks Frequency Missing = 127
Pre_op_BMI Frequency Missing = 177
Please let me know sas code to do it.
I have attached a part of my dataset.
Thanks,
I am not able to attach my dataset. sorry. It says "The contents of the attachment doesn't match its file type."
You will need to decide which methodology you want to use specifically. This link in the MI documentation will help you to decide:
Once you decide between MCMC vs FS/Monotone then there are good examples of the coding in the documentation as well.
I used the following code:
proc mi data=red.sleeve1 nimpute=0 ;
mcmc chain=multiple displayinit initial=em(itprint);
var BMI_1_year BMI_6_mon Post_op_BMI_4_weeks Pre_op_BMI ;
run;
The sas output i got is attached. How do i interpret this. Thanks.
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!
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.