I am new to SAS, and I would like how easy/difficult it would be to try to do an iterative multiple imputation in SAS. In R, this is relatively easy.
The algorithm is as follows:
- impute missing data using known distribution
- fit model to complete data in 1
- use model fit in 2 to impute missing data
- repeat model fitting and imputation steps 50 times (e.g. 50 data sets total)
- take every 10th dataset and pool the results
Based on my limited experience in SAS, I'm guessing I would have to write a MACRO
. I am specifically interested in using proc nlmixed
to fit my model. I am not using R because SAS's nlmixed
is more flexible and gives more robust results.