Click or drag to resize

MultivariateRegressionGetXLeverageFromPreprocessed Method

Calculates the spectral leverage from preprocessed spectra.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual IROMatrix<double> GetXLeverageFromPreprocessed(
	IROMatrix<double> matrixXPre,
	int numberOfFactors
)

Parameters

matrixXPre  IROMatrixDouble
Matrix of preprocessed spectra (a spectrum = a row in the matrix).
numberOfFactors  Int32
Number of factors used for calculation.

Return Value

IROMatrixDouble
Matrix of spectral leverages. Normally, this is a (NumberOfPoints,1) matrix, with exception of PLS1, where it is a (NumberOfPoints,NumberOfY) matrix.
See Also