library(DGB)
Computes a confidence interval for a linear function of within-subject medians.
Args: - alpha: alpha value for 1-alpha confidence - m: rx1 vector of sample medians for within-subject conditions - h: rx1 vector coefficients of linear function - V: rxr covariance matrix of within-subject sample medians
Values: - estimate of linear function, SE of linear function, lower limit, upper limit
alpha = .05 m = c(4.53, 2.03, 2.13) h = c(1, -.5, -.5) V = matrix(c(.132,.0118,.0147,.0118,.0250,.0124,.0147,.0124,.0292), nrow = 3, ncol = 3) ci.lc.median.ws(alpha, m, h, V)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.