Description Usage Arguments Details Value Author(s) References See Also
Model Assessment
1 |
RSS |
Numeric. Residual sum of squares. |
TSS |
Numeric. Total sum of squares. |
n |
Integer. Sample size. |
k |
Integer. Number of regressors including a regressor whose value is 1 for each observation. |
X |
|
y |
Numeric vector of length |
If RSS = NULL, RSS is computed using RSS()
with X and y as required arguments.
If RSS is provided, X, and y are not needed.
If TSS = NULL, TSS is computed using TSS()
with y as r equired argument.
If TSS is provided, y is not needed.
Returns a vector with the following elements
Residual sum of squares.
Mean squared error.
Root mean squared error.
R-squared ≤ft( R^2 \right).
Adjusted R-squared ≤ft( \bar{R}^2 \right) .
Ivan Jacob Agaloos Pesigan
Wikipedia: Residual Sum of Squares
Wikipedia: Explained Sum of Squares
Wikipedia: Total Sum of Squares
Wikipedia: Coefficient of Determination
Other assessment of model quality functions:
.MSE(),
.R2fromESS(),
.R2fromRSS(),
.RMSE(),
.Rbar2(),
MSE(),
R2(),
RMSE(),
Rbar2(),
model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.