RMSE | R Documentation |
Root Mean Square Error
RMSE(Pred, Real)
Pred |
a ts object (prediction). |
Real |
a ts object (real). |
numeric
Diego Jimenez <diego.jimenez@promidat.com>
model <- arima(window(AirPassengers, end = c(1959, 12)))
pred <- predict(model, 12)
RMSE(pred$pred, window(AirPassengers, start = 1960))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.