[R-sig-Geo] caclulate "root mean square error"

Kingsford Jones kingsfordjones at gmail.com
Fri Apr 10 18:56:15 CEST 2009


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:
> Dear User,
>
> is there a package to caclulate the root mean square error from two
> data-serie (real value vs predicted value)?
>
> thanks and "BUONA PASQUA"
>
> Gianni
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list