applies a model obtained with 'epo','epoe','eros','iirp' or 'pop_dtune' to a matrix xtest or a test dataset (xtest,ytest)
res = popapply(pop_model,corr_dim,x,(y))
a pretraitment model by orthogonal projection obtained with 'epo','epoe','eros','iirp' or 'pop_dtune'
the dimension of the correction by orthogonal projection
a matrix (ntest x q) or a Dvi structure
the reference values for xtest; a vector of dimensions (ntest x 1) or a Div structure
the predicted values for the lv latent variables of pop_model
res.ypredcv.d is a matrix of dimensions (ntest x lv) or a Div structure
the root mean square errors of prediction for 1,2,...lv latent variables
res.rmsep.d is a vector of dimensions (lv x 1) or a Div structure
the squared correlation coefficient for 1,2,..lv latent variables
res.r2.d is a vector of dimensions (lv x 1) or a Div structure