Hi all, I'm running an OPLS-DA models. The Y is the bivariate response
```oplsda <- opls(dataMatrixEF, Y, predI = 1, scale="none", orthoI = NA, subset=c(1:100))
The issue I have is I don't get the p-value for R2Y and Q2Y in either my output or the diagnostic plot although I don't get an error message that model was not build because of predictive component was not significant. My question : not obtaining te p-values is it an indication of a not significant model? Thank you
100 samples x 228 variables and 1 response none scaling of predictors and standard scaling of response(s) R2X(cum) R2Y(cum) Q2(cum) RMSEE RMSEP pre ort Total 0.874 0.401 0.343 0.395 0.366 1 2 Warning message: 'permI' set to 0 because train/test partition is selected
```
Hi, The
ropls::opls
modeling does not currently compute the pR2/pQ2 in case of a train/test partition is selected with thesubset
parameter, as is the case in your example (see the warning message: the number of permutationspermI
is automatically set to 0 in this case). You may obtain the pR2/pQ2 value by restricting your dataMatrixEF and Y vector to the 1:100 samples first, and then re-running theropls::opls
(keepingsubset = NULL
this time). Note that running (O)PLS(-DA) without centering is very rare and the model should be interpreted with caution. Best wishes, Etienne.Thank you that was useful information. About the issue of centering you mentionned I meant to put a question about it but you have already brought it up. I have confusion about scaling of class response. I didn't understand how a class response can be scaled. And that's why I did the scaling outside the method then chose no scaling when applying the method, however the oupput mentions that the predictors are not scaled but response is. For example I fitted a model under UV scaling and worked but under pareto scaling the predictive component was not significant and I was afraid that this result is because of the scaling applied to the response. Below is part of the outcome. I would appreciate it if you could expalin the scaling of class response in the method. Thank you.
100 samples x 228 variables and 1 response pareto scaling of predictors and response(s)