Sample Mean Formula

Sample Mean Formula

Formula

All Formulas

Summary

The sample mean formulas calculates the average value of sample data.

Formula Terms
Expression Description
The sample mean.
The value of the element at the -th position.
The number of data points

How to use

To calculate the sample mean, sum all the data points in a sample space and then divide by the number of elements. For example, to calculate the sample mean of the sample data , sum together all of the data points and divide by the number of elements.

Examples

Example 1

This example shows how to calculate the mean of a data set shown below.

Steps

  1. Set up the formula.

  2. Substitute the data values into the numerator and the size of the dataset into the denominator. In this case, there are six elements in the dataset so .

  3. Calculate the sum of the values.

  4. Calculate the result of the division.

    The sample mean is .

Example 2

This example shows how to calculate the mean of a data set shown below.

Steps

  1. Start by setting up the formula.

  2. Substitute the data values into the numerator and the size of the dataset into the denominator. In this case, there are five elements in the dataset so .

  3. Calculate the sum of the values.

  4. Calculate the result of the division.

    The mean of the dataset is .

Related Formulas

The population mean formula gives the average value of the whole population.