rpiq {valmetrics}R Documentation

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.

Details

Interpretation: Smaller is better.

Value

Ratio of interquartile to RMSE (RPIQ)

Author(s)

Kristin Piikki, Johanna Wetterlind, Mats Soderstrom & Bo Stenberg kristin.piikki@slu.se

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

obs<-c(1:10)
pred<-c(1, 1 ,3, 2, 4, 5, 6, 8, 7, 10)
rpiq(o=obs, p=pred)


[Package valmetrics version 1.0.0 Index]