With two samples A and B having nA and nB as size, muA and muB as means and sigmaA 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 Q1A and Q1B for first quartiles and Q3A and Q3B for the third quartiles and I also have the sizes of the samples nA and 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)?