Learn R Programming

postHoc (version 0.1.3)

MedianBootCI: Confidence intervals for medians

Description

Confidence intervals for medians

Usage

MedianBootCI(y, g, Nboots = 9999, Coverage = 0.95, digits = 4)

Arguments

y

is a vector with the response.

g

is a single classification factor.

Nboots

number of bootstrap samples (default = 9999).

Coverage

the coverage probability of the confidence interval.

digits

the number of digits (devfault = 4) (default = 0.95) "none" does not adjust

Value

a matrix with three columns, the median, the lower bound and the upper bound of the confidence interval and one row for each level of g.

Examples

Run this code
# NOT RUN {
MedianBootCI (y = DeIdentifiedExample$Y,
                                  g = DeIdentifiedExample$Treatment)
# }

Run the code above in your browser using DataLab