PCRRegressionCalculatePRESS(IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IROMatrixDouble, IReadOnlyListDouble, Int32, IReadOnlyListDouble) Method |
Calculates PRESS values by repeatedly predicting y from x for 0..(numberOfFactors - 1) factors.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static void CalculatePRESS(
IROMatrix<double> matrixX,
IROMatrix<double> xLoads,
IROMatrix<double> yLoads,
IROMatrix<double> xScores,
IReadOnlyList<double> crossProduct,
int numberOfFactors,
out IReadOnlyList<double> PRESS
)
Parameters
- matrixX IROMatrixDouble
- Preprocessed spectra.
- xLoads IROMatrixDouble
- X loadings.
- yLoads IROMatrixDouble
- Y loadings.
- xScores IROMatrixDouble
- X scores.
- crossProduct IReadOnlyListDouble
- Cross-product vector (singular values).
- numberOfFactors Int32
- Number of factors to calculate.
- PRESS IReadOnlyListDouble
- On return, contains the PRESS values (length numberOfFactors + 1).
See Also