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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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