Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Say I run an experiment measuring some parameter A on a sample group of a population where A is a non-negative real number. Is there some way of knowing if my percentile results are reasonable? Ideally, I'd have confidence intervals around my percentiles to know their ranges in the population as a whole instead of just in the sample group.

TL;DR want confidence intervals for percentiles

share|improve this question

1 Answer 1

If your estimate of the of the $p$ quantile of the population is observation $np$ of the sorted sample (where $n$ is the number of observations) then a reasonable approximation of say the 95% confidence interval is from sorted observation $np - 1.96 \sqrt{np(1-p)}$ to sorted observation $np + 1.96 \sqrt{np(1-p)}$.

If $n$ is small then there are better approximations, both for the quantile itself which will typically involve interpolation between observations and for the confidence interval which can use the binomial distribution rather than the normal approximation to it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.