Description Usage Arguments Details Value Note References Examples

View source: R/smwrStats_rmse.R

Computes the root-mean-squared error (RMSE) of the difference between observed values and the predicted values or the RMSE or relative percent differences (RPD) between samples and duplicates.

1 2 3 4 5 6 7 8 9 |

`x` |
either a random vector an object for which a method exists. |

`...` |
arguments to be passed to or from methods. |

`y` |
duplicate samples paired with |

`plotit` |
logical, if |

Added from smwrStats.

For the `rmse`

functions, a single value representing the
estimated RMSE. For `rpd`

, the relative percent differences for each
paired sample and duplicate.

The definition for the RMSE of paired water-quality duplicates is

*RMSE = sqrt(sum of
squared differences/2 times the number of duplicates)*

The definition for RPD for paired water-quality duplicates is

*RPD = abs(x - y)/(x + y)/2 * 100*

Other disciplines may use different equations.

Bland J.M. and Altman D.G., 1986 Statistical methods for assessing agreement
between two methods of clinical measurement: Lancet, i, p. 307–310.

Clesceri, L.S., Greenberg, A.E., and Eaton, A.D., 1998, Standard
methods for the examination of water and wastewater, 20th edition:
Baltimore, Md, United Book Press, Inc., 1162 p.

Harvey, D., undated, Analytical chemistry 2.0: Analytical Sciences Digital Library: online at URL: http://www.asdlib.org/onlineArticles/ecourseware/Analytical

Helsel, D.R., and Hirsch, R.M., 2002, Statistical methods in water
resources: U.S. Geological Survey Techniques of Water-Resources
Investigations, book 4, chap. A3, 522 p.

1 2 3 4 5 |

leppott/baytrends033 documentation built on July 28, 2018, 10:30 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.