A-Z Popular Blog Statistics Search »
Data
 Advertisements
Related Guides
Statistics
Key Concepts
Statistics
Data Analysis

How a Quartile is Calculated

 , December 09, 2017
A quartile is a set of data that has been divided into four sets of equal size based on median values. This is done to rank data into four categories as an easy way for people to understand where a value lies relative to everything else. Quartiles are calculated using medians and algorithms for sorting sets of data.

Method 1

There are different methods for calculating quartiles that mostly differ in their treatment of the median itself. The following is a reasonable way to calculate a quartile.
1. Sort the set of data
2. Identify the median
3. Split the set in two halves using the median. If there are an even number of values, split the set exactly in half. If their are an odd number of values, include the median in both sets.
4. Repeat step #3 on the halves to produce quarters.
The values are now sorted into four quartiles. Notice the overlapping median values.
The 3rd and 4th quartile are commonly merged into a middle quartile as follows.

Method 2

It is also common to exclude the median when dividing odd numbered sets. To do this, repeat the same steps above except that the median is excluded when dividing the sets in half in step #3. This results in no overlap in the quartiles.
Overview: Quartile
Type
DefinitionA set of data that has been divided into four sets of equal size based on ranked and ordered values.
Related Concepts

Statistical Analysis

This is the complete list of articles we have written about statistical analysis.
Cohort
Data Science
Distributions
Exponential Growth
Forecasting
Growth
Misuse of Statistics
Negative Correlation
Populations
Positive Correlation
Research
Samples
Statistics
Structured Data
More ...
If you enjoyed this page, please consider bookmarking Simplicable.
 

Statistical Analysis

A list of basic statistical analysis techniques.

Misuse of Statistics

Patterns of mistakes in statistics.

Cohort

A definition of cohort with examples.

Natural Experiment

The definition of natural experiment with examples.

Random Error

The definition of random error with examples.

Positive Correlation

The definition of positive correlation with examples and comparisons.

Negative Correlation

The definition of negative correlation with examples.

Alternative Hypothesis

The definition of alternative hypothesis with examples.

Secondary Research

The definition of secondary research with examples.

Data Science

A list of data science techniques and considerations.

Data Science vs Information Science

The difference between data science and information science.

Data Wrangling

An overview of data wrangling.

Metrics vs Measurements

The difference between a metric and a measurement.

Analytics

A definition of analytics with examples.

Data Profiling

A definition of data profiling with examples.

Backtesting

A definition of backtesting with examples.

Data-Driven Business

The common types of data-driven business.

Continuous Data vs Discrete Data

The difference between continuous and discrete data.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map