Calculating Averages and Standard Deviations

Andrew J. Pounds, Ph.D.

Department of Chemistry, Mercer University

Introduction

For MANY of the labs you will be completing at Mercer you will need to not only calculate averages, but also standard deviations. While there is vey little confusion about how to calculate averages, there has historically been confusion over how to calculate standard deviations. It is the intent of this document to clarify some of these terms and supply you with the equations you will need for the laboratory.

Averages

Basic Theory

For a variable $x$, the average (denoted $\bar x$) is calculated via Eqn 1

\begin{displaymath}
\bar x = \frac{\sum_{i=0}^Nx_i}{N}
\end{displaymath} (1)

where the $x_i$ denote each member of the set of $N$ items.

Example

Assume that one has the following set of data shown in Table 1.

Table 1: Sample Data
$i$ $x$
1 20.02
2 20.11
3 21.05
4 20.66
5 19.59
6 20.87

Then $\bar x$ is calculated as...
\begin{displaymath}
\bar x = \frac{\sum_{i=1}^Nx_i}{N} =
\frac{
20.02+
20.11+
21.05+
20.66+
19.59+
20.87}{6} = 20.38
\end{displaymath} (2)

Standard Deviations

Basic Theory

There are two kinds of standard deviations often used in the sciences. Namely these are the sample standard deviation (Eqn. 3) and the population standard deviation (Eqn. 4.
\begin{displaymath}
s = \sqrt{\frac{\sum_{i=1}^N(x_i-\bar x)^2}{N-1}}
\end{displaymath} (3)


\begin{displaymath}
\sigma = \sqrt{\frac{\sum_{i=1}^N(x_i-\mu)^2}{N}}
\end{displaymath} (4)

In CHM 112 we will be dealing mainly with the sample standard deviation. This is for several reasons, but primarily because the population standard deviation requires that we know the expected value of a variable, $\mu$, from the population distribution.

Example - Sample Standard Deviation

Using Eqn 3, the data from Table 1, and the results from Eqn. 2, one computes the sample standard deviation as follows.

\begin{eqnarray*}
s & = & \sqrt{\frac{\sum_{i=1}^N(x_i-\bar x)^2}{N-1}} \\
& =...
....38)^2}{6-1}} \\
& = & \sqrt{\frac{1.594}{5}} \\
& = & 0.565
\end{eqnarray*}

More on the meaning of all this later...

Example - Population Standard Deviation

Coming soon!

About this document ...

Calculating Averages and Standard Deviations

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.70)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -no_navigation -local_icons -split 0 avgstd.tex

The translation was initiated by Andrew Pounds on 2007-02-01


Andrew Pounds 2007-02-01