ci_median: Confidence interval for median by inverting sign test

View source: R/ci_median.R

ci_medianR Documentation

Confidence interval for median by inverting sign test

Description

Confidence interval for median by inverting sign test

Usage

ci_median(d, x, conf.level = 0.95, tol = 0.01)

Arguments

d

a data frame

x

unquoted name of column of data

conf.level

level for CI (as decimal), default 95 percent

tol

ends of CI determined to within this accuracy, default 0.01

Value

lower and upper limits

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

d=data.frame(z=1:20)
d1=data.frame(z=1:5)
ci_median(d,z)
ci_median(d1,z)
ci_median(datasets::mtcars, mpg)


nxskok/smmr documentation built on Jan. 17, 2024, 3:26 p.m.