valmetrics (version 1.0.0)

rpiq: rpiq

Description

Calculates the Ratio of interquartile to RMSE (RPIQ) from observed and predicted values.

Usage

rpiq(o, p)

Arguments

o

A numeric vector. Observed values.

p

A numeric vector. Predicted values.

Value

Ratio of interquartile to RMSE (RPIQ)

Details

Interpretation: Smaller is better.

References

Bellon-Maurel V., Fernandez-Ahumada E., Palagos B., Roger J. M., McBratney, A. 2010. Critical review of chemometric indicators commonly used for assessing the quality of the prediction of soil attributes by NIR spectroscopy. TrAC Trends in Analytical Chemistry, 29(9), 1073-1081.

Piikki K., Wetterlind J., Soderstrom M. Stenberg B. Perspectives on validation in digital soil mapping of continuous attributes. A review. Soil Use and Management, in press.

Examples

Run this code
# NOT RUN {
obs<-c(1:10)
pred<-c(1, 1 ,3, 2, 4, 5, 6, 8, 7, 10)
rpiq(o=obs, p=pred)

# }

Run the code above in your browser using DataLab