RMSEP {chillR} | R Documentation |
Root Mean Square Error of Prediction (RMSEP)
Description
This function computes the Root Mean Square Error of Prediction (RMSEP), a commonly used measure for the predictive capacity of a model. It compares values predicted with a model with observed values.
Usage
RMSEP(predicted, observed, na.rm = FALSE)
Arguments
predicted |
a numeric vector containing predicted values. |
observed |
a numeric vector of the same length as “'predicted“' containing observed values. |
na.rm |
Boolean parameter indicating whether NA values should be removed before the analysis |
Value
numeric value of the RMSEP.
Author(s)
Eike Luedeling
Examples
predicted<-c(1,2,3,4,5,6,7,8,9,10)
observed<-c(1.5,1.8,3.3,3.9,4.4,6,7.5,9,11,10)
RMSEP(predicted,observed)
[Package chillR version 0.75 Index]