Dear all,

I want to find out the confidence intervals of the median earnings by different years.

Unfortunately, the centile command has no by-option so that something like:

Code:
centile earnings, by (year)
does not work.

I also thought about the or ci command, but as far as I'm aware it does not allow to calculate the confidence interval of medians.

Any help would be appreciated.