With two samples
nB as size,
muB as means and
sigmaB as standard deviations I can calculate the 95% confidence interval of each mean, but also the confidence interval of the difference between the means.
Could I do the same when the estimator is the median?
That is, summary data
Med A and
Med B for the respective medians, and
Q1B for first quartiles and
Q3B for the third quartiles and I also have the sizes of the samples
nB. Is there a formula (from these summary) allowing me to calculate the confidence intervals of the two medians but also that of their difference? Or could I estimate it by bootstrap (with R preferably)?