Sample Mean Formula

Formula

Summary

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

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

Usage

The sample mean formula calculates the average value of sample data. 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 .