powered by
The inputs are the actual and the forecast values. We calculate the Mean Square Error (MSE) and Mean Absolute Error (MAE)
foremeas1(actx, forex)
Mean square error
Mean absolute error
actual values
forecast values
c( person( "Erin", "Hodgess", email = "erinm.hodgess@gmail.com", role = c("aut", "cre") ) )
MSE = mean((act-fore)^2), MAE = mean(abs(act-fore))