BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Gregorytus07
Fluorite | Level 6

Hi everyone,

 

I used the PROC MI statement to perform multiple imputation for a dataset with missing data. The second step is to use PROC CORR to conduct the correlation analysis and generate an output dataset to be used with PROC MIANALYZE. I was able to generate the correlation analysis by the imputation number but couldn't get a pooled result using the PROC MIANALYZE. This is the code I used below:

 

PROC CORR DATA=PREP_MI_TTT COV OUTP=PREP_H1;
VAR STIGMA_P NORMS_T;
BY _IMPUTATION_;
RUN;


PROC MIANALYZE DATA=PREP_H1 EDF=30;
MODELEFFECTS STIGMA_P NORMS_T;
RUN;

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Usage Note 38739: Combining multiply imputed correlation matrices using PROC MIANALYZE
https://support.sas.com/kb/38/739.html

 

Koen

View solution in original post

3 REPLIES 3
sbxkoenk
SAS Super FREQ

Usage Note 38739: Combining multiply imputed correlation matrices using PROC MIANALYZE
https://support.sas.com/kb/38/739.html

 

Koen

Gregorytus07
Fluorite | Level 6

Thanks, Koen! This is really helpful.

 

Do you know how I can assess the earlier example referenced in the first statement  "The example titled "Combining Correlation Coefficients" in the PROC MIANALYZE documentation illustrates how to combine sample coefficients for the correlation between two variables computed from a set of imputed data sets by using Fisher's z transformation.

I think the referenced exampled would be an additional guide considering that I am trying to compute the correlation coefficient between two variables.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 585 views
  • 0 likes
  • 2 in conversation