Click or drag to resize

MultivariateRegressionGetXLeverageFromRaw Method

Calculates the spectral leverage from raw 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> GetXLeverageFromRaw(
	double[] xOfXRaw,
	IMatrix<double> matrixXRaw,
	int numberOfFactors
)

Parameters

xOfXRaw  Double
The x-values (wavelength, frequency, etc) of the unpreprocessed spectra.
matrixXRaw  IMatrixDouble
Matrix of 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