docs/lc.median.bs.md

Linear Contrast of Medians (Between Subjects)

ci.lc.median.bs

Computes a confidence interval for a linear contrast of medians in a between-subjects design using sample medians and their standard errors (the sample median and standard error for each group can be obtained from the ci.median.os function).

Arguments: - alpha: alpha level for 1-alpha confidence - m: vector of sample medians - se: vector of standard errors - v: vector of contrast coefficients

Values: - estimate of linear contrast, SE of linear contrast, lower limit, upper limit

alpha = .01
m = c(7, 11, 6.5, 20)
var = c(.76, 1.18, .43, 1.7)
se = sqrt(var)
v = c(.5, .5, -.5, -.5)
ci.lc.median.bs(alpha, m, se, v)
##      Estimate       SE       LL       UL
## [1,]    -4.25 1.008712 -6.84827 -1.65173


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