我想计算从该数据集获得的中位数周围的置信区间:
dat <- c(2.10, 2.35, 2.35, 3.10, 3.10, 3.15, 3.90, 3.90, 4.00, 4.80, 5.00, 5.00, 5.15, 5.35, 5.50, 6.00, 6.00, 6.25, 6.45)
描述性统计:
summary(dat)
Min. 1st Qu. Median Mean 3rd Qu. Max.
2.100 3.125 4.800 4.392 5.425 6.450
我找不到与 wilcoxon 测试结果一起呈现的置信区间是如何计算的:
wilcox.test(dat, conf.int = T, correct = T, exact = F, conf.level = .99)
Wilcoxon signed rank test with continuity correction
data: dat
V = 190, p-value = 0.0001419
alternative hypothesis: true location is not equal to 0
99 percent confidence interval:
3.450018 5.499933
sample estimates:
(pseudo)median
4.400028
我只想使用非参数方法估计具有置信区间的总体中位数。上面显示的置信区间与 Wilcoxon 符号秩检验有何关系?