Description Usage Arguments Details Value Examples
Calculates the mean square of the model by taking the mean of the sum of squares between the truth, y, and the predicted, y hat at each observation i.
1 | mse(y, yhat)
|
y |
A |
yhat |
A |
The equation for MSE is:
mean((y-yhat)^2)
The MSE in numeric
form.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.