# Percentiles

{% hint style="success" %}
The value below which a percentage of data falls.
{% endhint %}

{% hint style="info" %}
If you are the fourth tallest person in a group of 20, then 80% of people are shorter than you. That means you are at the 80th percentile. If your height is 1.85m then "1.85m" is the 80th percentile height in that group.
{% endhint %}

Each dataset has **three quartiles**, which are the percentiles that divide the dataset into **four** **parts:**

* **First Quartile** is the sample 25th percentile. It divides roughly 25% of the smallest items from the rest of the dataset.
* **Second Quartile** is the sample 50th percentile or the median. Approximately 25% of the items lie between the first and second quartiles and another 25% between the second and third quartiles.
* **Third Quartile** is the sample 75th percentile. It divides roughly 25% of the largest items from the rest of the dataset.

### Estimating Percentiles

![](/files/-LzIli3qR5A6Ei9wa5gn)

{% hint style="info" %}
A total of 10,000 people visited the shopping mall over 12 hours. The 30th percentile occurs after about 6.5 hours. The visits at 11 hours were about 9,500, which is the 95th percentile.
{% endhint %}

#### References

{% embed url="<https://www.mathsisfun.com/data/percentiles.html>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai.nuhil.net/statistics/percentiles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
