BookmarkSubscribeRSS Feed
simonli
Calcite | Level 5


Dear all,

 

I am trying to do multiple imputation, by treatment group. 

 

i am running the following code:

 

proc MI data= raw  seed=46485 nimpute=5  out=  temp ;
   class trt01p ;
   var trt01p base month1 month3 ;
   monotone reg (month3 = base month1/details) discrim( trt01p /classeffects = include ) ;
run;

 

the log always came up with a warning message:  

WARNING: The imputed variable TRT01P in the MONOTONE statement is the leading variable in the VAR list. Missing values for this
variable will not be imputed.

 

What is the issue here? should I use 'by treatment' other than 'class treatment', and also do not include treatment in the var list and monmontone statement?

 

Thanks very much

 

SL

 

 

1 REPLY 1
SAS_Rob
SAS Employee

By the nature of how montone models work, you will not be able to impute the first variable in the list because there are no variables prior to it that can be used in its imputation model.

 

That being said, you might consider, if you have missing values in the first variable, using the FCS method instead.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1 reply
  • 1266 views
  • 0 likes
  • 2 in conversation