Hello!
I am trying to manually generate sPLS component scores for each participant by multiplying the values of the selected variables in the input X dataset by the loadings output from the sPLS function, and then summing the weighted values. However, the results don’t match the expected output from the sPLS function, even if I standardize the input X dataset so that each variable has a mean of 0 and a variance of 1.
Could you please advise on how I can recreate component scores for each participant manually using the input X dataset and the loading values for each variable from sPLS? A reviewer has asked me to generate component scores in a larger sample, some of whom are missing values for Y, to test if my results generalize.
Thanks!
Fran