The Wayback Machine - https://web.archive.org/web/20240812041336/https://www.geeksforgeeks.org/statistics-formulas/
Open In App

Statistics Formulas

Last Updated : 31 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Statistics is a branch of mathematics that deals with numerical data analysis. It presents the data in an organized manner. Statistics is a study of a collection of data, analysis it, interpretation, and presentation of data in a well-organized form. It allows us to interpret various results from the given data and forecast many possibilities.

The theory of statistics defines a function of a sample where the function is completely independent of the sample’s distribution. Statistics helps to find various measures of central tendencies and the deviation of different observations from the center.


Statistics-Formulas

Statistics Formulas


Let’s discuss the statistics formulas that find the measures of central tendencies and deviations.

Statistics Formula

Statistics formulae include mean, median, mode as well as standard deviation. Mean tells the average of the data, median tells the middle of the center value of the data, median tells the most frequent value in the data.

Let’s learn about these terms and their formulae in more detail.

Statistics Formula List

StatisticFormulaDescription of Variables
Mean?ˉ=∑???xˉ=n∑xi​​??xi​: data points, ?n: total number of points
MedianMiddle value when data is orderedData is sorted and middle value is identified
ModeValue that appears most frequentlyData points analyzed for frequency
Variance?2=∑(??−?ˉ)2?−1s2=n−1∑(xi​−xˉ)2​??xi​: individual score, ?ˉxˉ: sample mean, ?n: sample size
Standard Deviation?=∑(??−?ˉ)2?−1s=n−1∑(xi​−xˉ)2​​??xi​: individual score, ?ˉxˉ: sample mean, ?n: sample size

Mean

Mean is one of the measures of central tendency. It finds the average value for the given data/observations. Arithmetic mean is defined as the sum of all the numbers in the data divided by the total count of numbers.

The formula for finding the mean is given by,

Arithmetic mean (\bar{x}   ) = ∑x/n

Where ∑x is summation of all observations.

n represents total count of all numbers/observations.

Median

Median is also one of the measures of central tendency. It gives the middle value in the given ordered data. The formula for finding the median is given by,

Median = [(n + 1)/2]th term

Where n is the total count of numbers/observations.

The above formula is applicable only when n is odd.

If n is even then median is calculated by the formula 

Median = [(n/2)th term + [(n/2) + 1]th term]/2

Note: The above formulas can be applied only when the data is ordered. So before calculating median the data should be ordered either in ascending or descending order.

Mode

Mode specifies the most repeating element in the given data. It specifies the value that occurs mostly.

Variance

Variance measures the variability of the given data from the mean. It is the expectation of the squared deviation of a random variable from its sample mean. Variance is equal to the square of standard deviation. The formula for calculating variance is given by,

Variance (σ2) = \frac{∑(x - \bar{x})^2}{n}

Where x is the observations given

\bar{x}    is the mean of the given data

n represents total count of observations.

Standard Deviation

Standard deviation measures the amount of variation/dispersion of a set of values. Dispersion tells how much data is spread out. A lower standard deviation indicates that data is close to the center. The higher value of standard deviation represents that data spread is more.

Standard Deviation (σ) = \sqrt{\frac{∑(x-\bar{x})^2}{n}}\sqrt{\frac{∑(x-\bar{x})^2}{n}}

Standard Deviation = √{Variance}

Sample Problems on Statistics

Q1: Find the mean for the given data 10, 20, 60, 40, 25, 35

Solution:

Given data,

10, 20, 60, 40, 25, 35

n = 6

Arithmetic mean (\bar{x}   ) = ∑x/n

= (10 + 20 + 60 + 40 + 25 + 35)/6

= 190/6

= 31.66

Mean for the given data is 31.66

Q2: Find the median for the given data 10, 20, 60, 40, 25, 35

Solution:

Given data is not ordered. So in order to calculate median value the data should be ordered.

Here the given data is ordered in ascending order.

10, 20, 25, 35, 40, 60

n = 6

n is even, median formula is,

Median = [(n/2)th term + [(n/2) + 1]th term ]/2

= [(6/2)th term + [(6/2) + 1]th term]/2

= (3rd term + 4th term)/2

= (25 + 35)/2

= 30

Median for the given data is 30.

Q3: Find the median for the given data 10, 20, 60, 40, 25, 35, 50

Solution:

Given data is not ordered. So in order to calculate median value the data should be ordered.

Here the given data is ordered in ascending order.

10, 20, 25, 35, 40, 50, 60

n = 7

n is odd, median formula is,

Median = [(n + 1)/2]th term

= [(7 + 1)/2]th term

= 4th term

= 35

Median for the given data is 35.

Q4: Find the mode for the data 1, 2, 2, 2, 3, 3, 4

Solution:

Here the most repeated value is 2 which occurred three times.

So the mode for the given data is 2.

Q5: Find the variance for the data 1, 2, 5, 4, 8, 4

Solution:

Given data,

1, 2, 5, 4, 8, 4

n = 6

Arithmetic mean (\bar{x}   ) = ∑x/n

= (1 + 2 + 5 + 4 + 8 + 4)/6

= 24/6

= 4

\bar{x}    = 4

Variance (σ2) = \frac{∑(x-\bar{x})^2}{n}

= [(1 – 4)2 + (2 – 4)2 + (5 – 4)2 + (4 – 4)2 + (8 – 4)2 + (4 – 4)2]/6

= (9 + 4 + 1 + 0 + 16 + 0)/6

= 30/6

= 5

Variance for the given data is 5.

Q6: Find the variance for the data 1, 2, 5, 4, 8

Solution:

Given data,

1, 2, 5, 4, 8

n = 5

Arithmetic mean (\bar{x}   ) = ∑x/n

= (1 + 2 + 5 + 4 + 8)/5

= 20/5

= 4

\bar{x}    = 4

Standard Deviation (σ) = \sqrt{\frac{∑(x-\bar{x})^2}{n}} = \sqrt{\frac{(1-4)^2+(2-4)^2+(5-4)^2+(4-4)^2+(8-4)^2}{5}} = \sqrt{\frac{9+4+1+0+16}{5}} = \sqrt{\frac{30}{5}}

= √6

Standard deviation for the given data is 2.45




Similar Reads

Trigonometry Formulas - List of All Trigonometric Identities and Formulas
Trigonometry formulas are equations that relate the sides and angles of triangles. They are essential for solving a wide range of problems in mathematics, physics, engineering and other fields. Here are some of the most common types of trigonometry formulas: Basic definitions: These formulas define the trigonometric ratios (sine, cosine, tangent, e
10 min read
Basic Excel Formulas
Functions in Excel are the predefined formulas that have their specific meaningful work. They make our task easy and quick like finding the sum, count, average, maximum value, and minimum values for a range of cells. For example, the SUM function will calculate the sum of the range passed to it as an argument. Functions increase productivity while
1 min read
Formulas of Ionic Compounds
The study of the modern periodic table shows all the elements dhows their own kind of nature. Among them, most of the atoms of the elements cannot exist freely in a stable state. Hence, for the purpose of obtaining stability, they share their valence electron with the atoms of other elements. This sharing of electrons forms a bond and they obtain s
6 min read
How to calculate Sum and Average of numbers using formulas in MS Excel?
Everyday in school, offices, business sectors or any other field lots of information are there that are required to store for future use. For anyone, it is very difficult to remember that information for a long time. Earlier data and information are stored in a form of a register, file, or by paperwork but finding it may be difficult for us. It tak
4 min read
Area and Perimeter Formulas
Area and Perimeter Formulas are the fundamental formulas in Mensuration that help us calculate the area and perimeter for any geometric shape in mathematics. Area and Perimeter Formulas have equal importance in real life for various calculations like finding the area of land or finding the perimeter of land for boundaries and many more. In this art
10 min read
What are Cosine Formulas?
Trigonometry is a discipline of mathematics that studies the relationships between the lengths of the sides and angles of a right-angled triangle. Trigonometric functions, also known as goniometric functions, angle functions, or circular functions, are functions that establish the relationship between an angle to the ratio of two of the sides of a
8 min read
Perimeter Formulas for Geometric Shapes
Perimeter Formulas are the mathematical Formulas used to calculate the total boundary length of any geometrical shape. In mathematics or in daily lives geometry and geometrical shapes always play an essential role. Starting from a simple tray to a big building, we are always surrounded by geometry in different shapes and sizes. The shape and surfac
7 min read
Octagon Formulas
Geometry is a mathematical branch that is about the study of shapes. The category of shapes is divided into two viz. flat shapes and solid shapes. Geometry deals with the study of the area, perimeter, volume, and other parameters of these shapes by giving standard formulas. The article explains the octagon formula which gives the formula of area an
5 min read
Temperature Conversion Formulas
Temperature can be measured in various scales like Celsius, Fahrenheit, and Kelvin scales. We can able to convert the temperature measured on one scale to other by using Temperature Conversion Formulas. Temperature Conversion Formulas refer to changing the value of temperature in one scale/unit to another unit/scale. There are mainly three temperat
4 min read
Parallelogram Formulas
Geometry is a field of study which it is about shapes and their properties. The shapes are studied on the basis of their dimensions, composition, angles, and other properties. The field deals with the calculation of area, volume, perimeter, and other parameters of a particular shape. What is a parallelogram?A parallelogram is a flat or two-dimensio
4 min read
three90RightbarBannerImg