library(DGB)
Computes confidence interval for a difference of population medians in a 2-level within-subjects design.
Arguments:
- alpha: alpha level for 1-alpha confidence
- y1: vector of scores for level 1
- y2: vector of scores for level 2
Values:
- sample medians, SE of difference, lower limit, upper limit
alpha = .05 y1 = c(21, 4, 9, 12, 35, 18, 10, 22, 24, 1, 6, 8, 13, 16, 19) y2 = c(67, 28, 30, 28, 52, 40, 25, 37, 44, 10, 14, 20, 28, 40, 51) ci.median.ps(alpha, y1, y2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.