Calculating Arithmetic Mean

Arithmetic mean is the simple average of all observations and is calculated by adding all the observations and dividing it by the total number of observations.

We can calculate arithmetic mean for both the population and the sample.

Population Mean

This is the arithmetic mean of all observations in the population. The formula for population mean is given below:

Sample Mean

This is the arithmetic mean of all observations in the sample of the population. The formula for sample mean is given below:

Notice the difference in notations between the two formulas:

Xi represents the observations in both formulas.

The number of observations in the population is represented by capital N, while the number of observations in the sample is represented by small n.

Example

Population Dataset: 1.5, 2.5, 3, 2.3, 4.3, 5.6, 4.2, 6.7, 5.9, 1.2, 5.4, 9.8, 8.5, 5.5, 2.9, 1.7, 8.8, 6.2, 9.5, 3.8

We can draw a sample from the above data set.

Sample Dataset: 2.5, 5.6, 1.2, 9.8, 8.8

Some observations:

  • As you can see, there is a lot of difference in population mean and sample mean. This can happen for small data sets or if the sample is not drawn correctly.
  • Arithmetic mean is very sensitive to extreme values as a very large or small value can significantly pull the mean on either side.
  • For arithmetic mean, the sum of deviations from the mean is always zero, i.e.,
  • Arithmetic mean is preferred over median and mode, as it uses all information about the observations such as size and magnitude.
  • There can be only one arithmetic mean for a data set.

Related Downloads

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)
JOIN 30,000 DATA PROFESSIONALS

Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book comes with PDFs, detailed explanations, step-by-step instructions, data files, and complete downloadable R code for all examples.