Skip to content
Prev 5482 / 29559 Next

caclulate "root mean square error"

If 'obs' are the true values and 'pred' are the predicted values, it's just

rmse <- function(obs, pred) sqrt(mean((obs-pred)^2))

hth,
Kingsford Jones

On Fri, Apr 10, 2009 at 10:20 AM, gianni lavaredo
<gianni.lavaredo at gmail.com> wrote: