Propagation of errors for isotope ratios
stat_SDprop.Rdstat_SDprop function for propagation of descriptive and predictive
(Poisson) error statistics for isotope ratios (R).
Arguments
- ion1
A numeric vector constituting the single ion count rate of the heavy isotope if argument predicted is set to
FALSE, otherwise counts are required.- ion2
A numeric vector constituting the single ion count rate of the light isotope if argument predicted is set to
FALSE, otherwise counts are required.- type
A character string for the type of uncertainty estimate:
"sd", standard deviation;"rsd", relative standard deviation in per mille;"se", standard error of the mean;"rse", relative standard error of the mean in per mille.- predicted
Logical indicating whether sd is descriptive
FALSE, or based on predicted Poisson valueTRUE.
Details
Isotope ratios are based on two measured variables, i.e., two isotopes of a single chemical species. The combined variable compounds the uncertainty associated with the individual measurement. Hence error propagation is required to obtain a reliable estimate of the uncertainty associated with the compounded variable (i.e. isotope ratio).