mcratio: Ratio of Uncertainty to Variability

View source: R/mcratio.R

mcratioR Documentation

Ratio of Uncertainty to Variability

Description

Provides measures of variability, uncertainty, and both combined for an ‘⁠mc⁠’ or an ‘⁠mcnode⁠’ object.

Usage

mcratio(x, pcentral = 0.5, pvar = 0.975, punc = 0.975, na.rm = FALSE)

Arguments

x

an ‘⁠mc⁠’ or an ‘⁠mcnode⁠’ object.

pcentral

the quantile for the central tendency.

pvar

the quantile for the measure of variability.

punc

the quantile for the measure of uncertainty.

na.rm

logical; should NA values be stripped before computation?

Details

Given quantiles A, B, C, D defined as:

A

the ‘⁠(100*pcentral)⁠’th percentile of uncertainty for the ‘⁠(100*pcentral)⁠’th percentile of variability

B

the ‘⁠(100*pcentral)⁠’th percentile of uncertainty for the ‘⁠(100*pvar)⁠’th percentile of variability

C

the ‘⁠(100*punc)⁠’th percentile of uncertainty for the ‘⁠(100*pcentral)⁠’th percentile of variability

D

the ‘⁠(100*punc)⁠’th percentile of uncertainty for the ‘⁠(100*pvar)⁠’th percentile of variability

the following ratios are estimated: Variability Ratio: B/A; Uncertainty Ratio: C/A; Overall Uncertainty Ratio: D/A.

Value

A matrix.

References

Ozkaynak, H., Frey, H.C., Burke, J., Pinder, R.W. (2009) "Analysis of coupled model uncertainties in source-to-dose modeling of human exposures to ambient air pollution: A PM2.5 case study", Atmospheric Environment, 43(9), 1641-1649.

Examples

data(total)
mcratio(total, na.rm=TRUE)

mc2d documentation built on Oct. 23, 2026, 1:06 a.m.