confidence interval for mean and median for non-normal groups

Dear all,
I don't know how to find the confidence intervals for mean and median for non-normal groups with R, as shown below, kruskal.test() function does not offer the confidence interval, also it works for mean CI, and Wilcox.test() works just for the binary group and offer just median CI. Could anyone help and thanks in advance?

set.seed (1)
group  =  rep(c('A','B','C','D'), 100)
y =  rnorm (400 , 100 , 15) + 10*( group == 'B') + 20*( group == 'C') + 30*( group == 'D')


	Kruskal-Wallis rank sum test

data:  group by y
Kruskal-Wallis chi-squared = 399, df = 399, p-value = 0.4906

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.