BookmarkSubscribeRSS Feed
Therain
Calcite | Level 5

Hello,

 

I use SAS 9.4 and I have a data set which has 7 variables: ID, a, b, c, d, e, f. There are some missing values for variables a-f. a, b and c are categorical variables and d, e, f are continuous variables. I tried the following way for the imputation phase but the missing values are still missing and not be imputed. Does anyone know the reason? Thank you!

 

proc mi data =have nimpute=100 out=want;
class a b c;
fcs discrim(a = b c d e f/classeffects=include);
fcs discrim(b = a c d e f/classeffects=include);
fcs discrim(c = a b d e f/classeffects=include);
var a b c d e f;
run;

 

2 REPLIES 2
Haikuo
Onyx | Level 15
Posting your question in SAS/STAT sub-forum would make it more visible to the experts in this area. https://communities.sas.com/t5/SAS-Statistical-Procedures/bd-p/statistical_procedures
Therain
Calcite | Level 5

Thanks! I will move my question!

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
  • 2 replies
  • 1216 views
  • 0 likes
  • 2 in conversation