docs/ratio.median.is.md

Ratio of Medians from Two (Independent) Samples

ci.ratio.median.is

Computes confidence interval for a ratio of population medians of ratio scale measurements in a 2-group design.

Arguments: - alpha: alpha level for 1-alpha confidence - y1: vector of scores for group 1 - y2: vector of scores for group 2

Values: - medians, median ratio, lower limit, upper limit

alpha = .05
group2 = c(32, 39, 26, 35, 43, 27, 40, 37, 34, 29, 49, 42, 40)
group1 = c(36, 44, 47, 42, 49, 39, 46, 31, 33, 48)
ci.ratio.median.is(alpha, group1, group2)
##      Median1 Median2 Median1/Median2       LL       UL
## [1,]      43      37        1.162162 0.927667 1.455933


cwendorf/dgb documentation built on May 3, 2022, 9:35 p.m.