PCRRegressionExecuteAnalysis Method |
Executes the PCR analysis from preprocessed input matrices.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static void ExecuteAnalysis(
IROMatrix<double> X,
IROMatrix<double> Y,
ref int numFactors,
out IROMatrix<double> xLoads,
out IROMatrix<double> xScores,
out IReadOnlyList<double> V
)
Parameters
- X IROMatrixDouble
- Matrix of spectra (a spectrum is a row of this matrix).
- Y IROMatrixDouble
- Matrix of target variables (a measurement is a row of this matrix).
- numFactors Int32
-
On entry, the requested number of factors. On return, the number of factors actually used
(limited by the matrix dimensions).
- xLoads IROMatrixDouble
- On return, the loadings of the x matrix.
- xScores IROMatrixDouble
- On return, the score matrix.
- V IReadOnlyListDouble
- On return, the vector of singular values (cross products) used by this analysis.
See Also