Sometimes you want to determine the quintile for a population, such as the median (0.5 or 50% quantile). You might also want the interval estimate. This script will compute the point estimate and the interval estimate for you.

I will use the **Big Class** data table to demonstrate how to use this script. I will first estimate the 95% confidence interval for the median of the **height** of students and then estimate the 80% confidence interval for the 75% percentile of the **weight** of students.

- Open your data table with the data column containing the sample.
- Open and run the script.
- I desire a 95% confidence interval for the median, so enter
**0.5** for the quantile (default) and **0.95** for the confidence (default). - Select
**height** and click **Response**.

You see the additional information at the bottom of the platform. Note that the actual confidence is reported with the interval.

Repeating this demonstration for the other case,

- Run the script.
- Enter
**0.75** for the quantile and **0.8** for the confidence. - Select
**weight** and click **Response**.

Reference:

Confidence Intervals for Percentiles and Medians