Computing the correlation coefficient based on the selected group to help the user to decide proper imputation