powered by
Confidence intervals for medians
MedianBootCI(y, g, Nboots = 9999, Coverage = 0.95, digits = 4)
is a vector with the response.
is a single classification factor.
number of bootstrap samples (default = 9999).
the coverage probability of the confidence interval.
the number of digits (devfault = 4) (default = 0.95) "none" does not adjust
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.
# NOT RUN { MedianBootCI (y = DeIdentifiedExample$Y, g = DeIdentifiedExample$Treatment) # }
Run the code above in your browser using DataLab