RMSEP | R Documentation |
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.
RMSEP(predicted, observed, na.rm = FALSE)
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 |
numeric value of the RMSEP.
Eike Luedeling
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.