<< epoe (X->X) Pretraitments by orthogonal projection iirp >>

fact >> (X->X) Pretraitments by orthogonal projection > eros

eros

calculates the eigenvectors and the parameters for tuning Error Removal by Orthogonal Substraction (EROS)

Calling sequence

res = eros(x_ed,classes_indiv,xcal,ycal,split,lv,(centering))

Arguments

x_ed:

a matrix (n1 x q) or a Div structure from an experimental design

classes_indiv:

a conjunctive vector or a disjunctive matrix identifying the different individuals of x_ed for which observations were acquired

xcal,ycal:

calibration dataset; a matrix of spectra (n x q) and a vector of reference values (n x 1) or Div structures

split:

for the cross validation; a scalar representing a number of contiguous blocks, or a vector identifying each observation to a block

lv:

number of latent variables for the PLS regression

(centering):

centred=1 (by default); not centred=0

res.d_matrix:

the D matrix obtained as the sum of the variance-covariance matrices of each sample after centering

res.d_matrix.d is a matrix of dimensions (q x q)

res.eigenvec:

eigenvectors of d_matrix

res.eigenvec.d is a matrix of dimensions (q x (n_eigenvect))

res.ev_pcent:

eigenvalues of d_matrix in percent

res.ev_pcent.d is a vector of dimensions ((n_eigenvect x 1)

res.wilks:

Wilks lambda

res.Wilks.d is a vector of dimensions ((n_eigenvect+1) x 1)

res.rmsecv:

rmsecv for several dimensions of EROS and several dimensions of PLSR

res.rmsecv.d is a matrix of dimensions (lv x n_eigenvect+1)

res.pls_models:

PLS models obtained after an EROS correction using 0/1/2/...(n_eigenvect) eigenvectors from res.eigenvect.d

res.pls_models is a list of dimensions (n_eigenvect+1)

help pls for more information about the fields of res.pls_models

Examples

[res_eros]=eros(xg,cl_ech,cl_pert,xcal,ycal,10,5)
[res_eros]=eros(xg,cl_ech,cl_pert,xcal,ycal,10,5,0)

Bibliography

Authors


Report an issue
<< epoe (X->X) Pretraitments by orthogonal projection iirp >>