Hello, I have a question related to the topic of this post. I am hoping that you can help me out. I am trying to impute missing values in a dataset that has mostly categorical variables (binary, ordinal or nominal). I am using the discriminant FCS method for each of the variables. Now, I am trying to impute my socio-demographic variables with missing values (age, education, income, marital status, race, ethnicity) using the other socio-demographic variables only. There are some other psychosocial variables [strs_fm3 and strs_dv3]; to impute those which I am trying to use both the socio-demographic, as well as other psychosocial variables. I am doing this in SAS 9.4 and here is an example of the code I am using (after multiple trials and errors): proc mi data= prams_diss seed=1305417 out=prams_diss_imp_may28 nimpute=10; class mat_age_naphsis mat_race hispanic mat_ed married income5 strs_fm3 strs_dv3; FCS discrim(mat_age_naphsis=mat_race hispanic mat_ed married income5 /classeffects=include); FCS discrim(mat_race=mat_age_naphsis hispanic mat_ed married income5 / classeffects=include); FCS discrim(hispanic= mat_race mat_age_naphsis mat_ed married income5 /classeffects=include); FCS discrim(mat_ed=mat_age_naphsis mat_race hispanic married income5 / classeffects=include); FCS discrim(married=mat_age_naphsis mat_race hispanic mat_ed income5 / classeffects=include); FCS discrim(income5=mat_age_naphsis mat_race hispanic married mat_ed / classeffects=include); FCS discrim (strs_fm3= mat_age_naphsis mat_race hispanic mat_ed married income5 strs_dv3/ classeffects=include); FCS discrim (strs_dv3= mat_age_naphsis mat_race hispanic mat_ed married income5 strs_fm3/ classeffects=include); var mat_age_naphsis married mat_ed mat_race hispanic income5 strs_dv3 strs_fm3; run; The model has run successfully without any errors. At the end, a dataset with 10 times the no. of observations as in the original file as been created. In the output file, I have only the information about no. of variables and the table (the big one with crosses) with missing value patterns. I just wanted to make sure whether the imputation has been done exactly how I wanted. That is, only other socio-demographic variables are used to impute each of the socio-demographics. And for the stress variables, information from both the socio-demographic, plus, the other stress variable. Do you think (based on my code), that (using the specific variables to impute specific variables) is what I have been able to do? Or, has SAS used all the variables specified in the var and class statements to impute each variable? Is there any way to know what is going on? Thanks a lot. Deep
... View more