Everything2
Near Matches
Ignore Exact
Full Text
Everything2

standard deviation

created by ModernAngel

(idea) by dorward (1.7 mon) (print)   ?   (I like it!) 2 C!s Sat Apr 01 2000 at 13:09:18

A parameter that indicates the way in which a probability function or a probability density function is centred around its mean.

In other words how far away (on average) a result is from the mean.

To calculate:
  • Add together all items
  • Divide the total by the number of items
  • This is the mean
  • Subtract each item from the mean
  • Multiply each result by itself
  • Add all these results together
  • Divide by the total number of items
  • This is the Variance
  • The square root of the Variance is the standard deviation
The smaller it is (in proportion to the mean) the more likely the mean is to be a useful result and the less likely there are to be a few very high or very low results making the mean a bad representation of the data.

(idea) by Professor Pi (1.2 wk) (print)   ?   (I like it!) 3 C!s Mon Jan 08 2001 at 16:46:47

There are two commonly used definitions of the standard deviation.

The population standard deviation:

σx=(1/N × Σdi2)½

and the sample standard deviation:

σx=(1/(N-1) × Σdi2)½

where: σx is the standard deviation, N is the number of measurements, and di is the difference between measurement i and the mean.

Both methods are frequently used. The sample standard deviation corrects the tendency to understate the uncertainty in measurements, especially when the sample size is small. This can be understood for the extreme case where there is only one measurement available (N=1). In this case the population standard deviation gives the absurd result σx=0, whereas the sample standard deviation is undefined (0/0); a proper representation of the ignorance of the standard deviation after just one measurement.

For practical purposes, the difference between the two definitions is insignificant. However, when you calculate the standard deviation, you need to be aware of the two definitions and report the one you are using. Also keep this in mind when you are using the standard deviation function in your favorite spreadsheet; e.g. Excel uses the STDEV function for the sample standard deviation and STDEVP function for the population standard deviation.


Measurement Measured value Deviation di2 i xi di=xi-xmean
1 17 0.8 0.64 2 15 -1.2 1.44 3 16 -0.2 0.04 4 17 0.8 0.64 5 16 -0.2 0.04 __ ____ xmean = 16.2 Σdi2= 2.80
In this example, the population standard deviation is: σx=(1/5 × 2.80)½=0.75, and the sample standard deviation is: σx=(1/4 × 2.80)½=0.84.

Use the sample standard deviation for calculating confidence intervals.


(idea) by Oneiromancer (2.1 wk) (print)   ?   (I like it!) Wed Feb 20 2002 at 20:39:46

Here is a formula for the standard deviation (from the mean), given a normalized density distribution f(x). Note that if the density distribution is valid, N is essentially infinite so the two versions of the standard deviation are essentially identical.

First, we will need to establish how to take averages of things in density distributions. For any distribution on x 'foo', and a property 'baz' which is a function of x,
Average(foo(x), baz(x)) = ∫foo(x)*baz(x) dx
with the integral taken on the whole domain of foo*.

The Standard Deviation of foo(x) = √ ((Average(foo(x), x2) - Average(foo(x), x)2)

Note that this is functionally identical to the infinite case of the formulation given in Professor Pi's writeup, but completely mangled so that it is easy to compute and difficult to see why it works.

*If you don't see why that works, consider the simplest nontrivial case, Average(f(x), x). Just think of it as grouping the elements together when adding them up: let's suppose f(3) = 2 so we add two instances of 3 (i.e. 2*3) to the running total. Fortunately, since foo(x) is normalized, we've already divided by the number of points in the distribution. If you test this with an arbitrary function, make sure that it is normalized. For example, f(x) = x on the domain (0,1) doesn't work. However, f(x) = 2x on the same domain does.


Also note that aside from the standard deviation from the mean (which is the subject of the node up to this point) there is, distinctly, the standard deviation of the mean. This is used when you are sampling a distribution and are attempting to determine how well you have constrained the mean of that distribution from your sampling.

Also, you can calculate the standard deviation from any other statistical estimate one can imagine, not just the mean. The standard deviation from the median, for example. Just take the mean-under-quadrature of the difference.


printable version
chaos

90% of people think they are of above average intelligence Statistics every writer should know Confidence Interval Variance
999,999,999,999,999 Bottles of Beer on the Wall Grading on a curve Σ Smallest number greater than 0
Putting God to the test The Statistics Project Gaussian Distribution Standard deviation from the median
z-score Oral sex normal distribution statistical clustering
t-test Book most owned by American libraries with the word "fuck" in the title mean Incentivizing antisocial behavior
The Bell Curve AOLserver Brian Eno IQ
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes to live by:
Parenting
You are precious to me. Did you know that?
Ark of the Covenant
Unicorn
Alan Keyes
meter
156/98
natural law
you can only make me dizzy if you're spinning me in leaves or snowflakes
Placozoa
Questions for those who don't like capitalism
Music of the Spheres
Factual Faction for the Freedom of Fine Facts
New Writeups
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
This page courtesy of The Everything Development Company