orthlspls.fit {lspls}R Documentation

Underlying LS-PLS Fit Function

Description

Fits orthogonalized LS-PLS models.

Usage

orthlspls.fit(Y, X, Z, ncomp)

Arguments

Y matrix. Response matrix.
X matrix. The first predictor matrix (typically a design matrix).
Z list. List of predictor matrices.
ncomp list. The number of components to fit from each matrix.

Details

orthlspls.fit is not meant to be called by the user. It is called by lspls to do the actual fitting. See lspls for details about LS-PLS and ncomp. Each element of the list Z should either be a matrix or a list of matrices.

Value

A list with components

coefficients matrix with the final prediction coefficients
predictors matrix with variables and scores used in the final regression
orthCoefs list of coefficient generating matrices, to be used when predicting new predictors.
models list of fitted PLS models for the matrices
ncomp list with the number of components used
scores list of score matrices
loadings list of loading matrices
residuals matrix with fit residuals, one coloumn per response

Note

The interface (arguments and return values) is likely to change in a future version.

Author(s)

Bjørn-Helge Mevik

References

Jørgensen, K., Segtnan, V. H., Thyholt, K., Næs, T. (2004) A Comparison of Methods for Analysing Regression Models with Both Spectral and Designed Variables. Journal of Chemometrics, 18(10), 451–464.

Jørgensen, K., Mevik, B.-H., Næs, T. Combining Designed Experiments with Several Blocks of Spectroscopic Data. (Submitted)

Mevik, B.-H., Jørgensen, K., Måge, I., Næs, T. LS-PLS: Combining Categorical Design Variables with Blocks of Spectroscopic Measurements. (Submitted)

See Also

lspls


[Package lspls version 0.1-1 Index]