MedianBootCI: Confidence intervals for medians

Description Usage Arguments Value Author(s) Examples

View source: R/GroupClustering.R

Description

Confidence intervals for medians

Usage

1
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.

Author(s)

Rodrigo Labouriau

Examples

1
2
MedianBootCI (y = DeIdentifiedExample$Y,
                                  g = DeIdentifiedExample$Treatment)

postHoc documentation built on July 1, 2020, 7:22 p.m.