Description Usage Arguments Details Value Author(s) References See Also
Calculates the root mean squared error ≤ft( \mathrm{RMSE} \right) using
\mathrm{RMSE} = √{\frac{1}{n} ∑_{i = 1}^{n} ≤ft( \mathbf{y} - \mathbf{X} \boldsymbol{\hat{β}} \right)^{2}} \\ = √{\frac{1}{n} ∑_{i = 1}^{n} ≤ft( \mathbf{y} - \mathbf{\hat{y}} \right)^{2}} \\ = √{\frac{\mathrm{RSS}}{n}} .
1 |
MSE |
Numeric. Mean square error. |
X |
|
y |
Numeric vector of length |
If MSE = NULL, MSE is computed using MSE()
with X and y as required arguments.
If MSE is provided, X, and y are not needed.
Returns the root mean squared error.
Ivan Jacob Agaloos Pesigan
Wikipedia: Root-mean-square deviation
Other assessment of model quality functions:
.MSE(),
.R2fromESS(),
.R2fromRSS(),
.Rbar2(),
.model(),
MSE(),
R2(),
RMSE(),
Rbar2(),
model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.