SumCI {DescTools} | R Documentation |
Add Up Partial Confidence Intervals to a Total CI
Description
Starting with a response variable that obtains different confidence intervals (CI) when calculated with different explanatory variables, all the values of the response variable should be added up. This function returns the CI for the sum.
Usage
SumCI(x)
Arguments
x |
a matrix with 3 columns, containing the estimate in the first column followed by the lower and the upper confidence interval . |
Value
a vector with the sum and the lower, upper confidence bound of the confidence interval
Author(s)
Andri Signorell andri@signorell.net
References
See Also
Examples
x <- do.call(rbind,
tapply(d.pizza$delivery_min,
d.pizza$area, MeanCI))
SumCI(x)
[Package DescTools version 0.99.60 Index]