Calculates root mean square error (lower RMSE indicate better fits).
rmse(y, mu)
y
response vector
mu
predicted mean