# Quartiles in Statistics

Quartiles in statistics, Let’s talk about quartiles and their importance. The quartiles for the corresponding distribution of x are three variate values of the variable, say x, that divide the series (frequency) into four equal halves.

Naive Bayes Classification in R » Prediction Model »

## Quartiles in Statistics

There are three quartiles namely Q1, Q2, and Q3.

Q1 is called the lower quartile and Q3, the upper quartile.

25% of the numbers are lower than Q1, 25% are higher than Q3, and the remaining 50% are in the middle between Q1 and Q3.

Q2 is the same as median because it divides the series into two equal sections.

Principal component analysis (PCA) in R »

Quartiles are commonly utilized in economics and business because of their importance. They can also be used to figure out the shape of a distribution.

### How to calculate quartiles mathematically?

The formula for calculating ith quartile (i=1,2,3) for a continuous distribution having K classes is,

Where,

Q1= ith quartile which is to be calculated

L0=Lower limit of the ith quartile class

N=Total of all frequencies

C=Cumulative frequency of the class just above the quartile class

F=Frequency of the quartile class

I=Class interval

KNN Algorithm Machine Learning » Classification & Regression »

• 5k