NMath Reference Guide

## PLS |

Class PLS2Anova performs a standard ANalysis Of VAriance (ANOVA) for
a Partial Least Squares (PLS) regression model.

Inheritance Hierarchy

Syntax

The PLS2Anova type exposes the following members.

Constructors

Properties

Name | Description | |
---|---|---|

CoefficientOfDetermination | Gets the R squared value. Also, called the coefficient of determination. | |

DegreesOfFreedom |
Gets the degrees of freedom for the data. This is
C# `number of samples - number of components - 1` | |

MeanSqrErrorPrediction | Gets the mean square error for prediction. This is the residual sum of squares divided by the number of samples. | |

Residuals | Gets the matrix of residuals. This is the matrix of differences between the given response values and the response values predicted by the regression model. | |

RootMeanSqrErrorPrediction | Gets the root mean square error for prediction. This is the square root of the mean square error for prediction. | |

StandardError | Gets the standard error for the model. This is the square root of the residual sum of squares divided by the degrees of freedom for the model. | |

SumOfSquaresResiduals | Gets the sum of squares for the residuals. This is the sum of the squared differences between the response values and the responses predicted by the regression model. | |

SumOfSquaresTotal | Returns the total sum of squares for the model. This is the sum of the squared deviations from the mean of the elements of the response matrix. |

Methods

See Also