# Quartiles

{% hint style="success" %}
It splits the data into quarters.
{% endhint %}

**Steps to transform data into quartiles:**

1. Sort the numbers.&#x20;
2. Cut the list into quarters.&#x20;
3. Start to Q1, Q2, Q3 to end.&#x20;

**The Quartiles also divide the data into divisions of 25%, so:**

* Quartile 1 (Q1) can be called the **25th percentile**
* Quartile 2 (Q2) can be called the **50th percentile**
* Quartile 3 (Q3) can be called the **75th percentile**

### Ranges

The range of data is the difference between the maximum and the minimum element in the dataset. The **interquartile range** is the difference between the **first** and **third** quartile.


---

# 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/quartiles.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.
