# I made not be standard, but I'm a real deviant (math question)

**URL:** <https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772>\
**Category:** Factual Questions\
**Created:** [August 7, 2007, 6:41pm UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772 "2007-08-07T18:41:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdn](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tdn](https://boards.straightdope.com/u/tdn)\
**Post date:** [August 7, 2007, 6:41pm UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/1 "2007-08-07T18:41:27Z")

</div>

Talk to me like I’m four. Use small words. Talk to me like I need to count on my fingers.

> **[Standard deviation](https://en.wikipedia.org/wiki/Standard_deviation)**
>
> In statistics, the standard deviation is a measure of the amount of variation of the values of a variable about its (arithmetic) average. A low standard deviation indicates that the values of a set tend to be close to their average, while a high standard deviation indicates that the values are spread out over a wider range. Standard deviation may be abbreviated SD or std dev, and is most commonly represented in mathematical texts and equations by the lowercase Greek letter σ (sigma). In the cas...

I tried using this formula to figure out the standard deviation of an arbitray set of numbers, and tried checking my math with a coworker.

> [@math idiot](#):
>
> Let’s say we have 5 patients, who lost 20, 25, 28, 34, and 51% EBW. The average is (20 + 25 + 28 + 34 + 51)/5, or 31.6%. The differences between the data points and the mean are 11.6 and 19.4. The variance is (SQR(11.6) + SQR(19.4))/2, or (134.6 + 376.36)/2 or 255.48. The deviation is SQRT(255.48), or 15.98, rounded off to 16.

She said it looked right, but forwarded to a statits… stastist… Real Smart Guy. He said it was wrong, the answer should be 11.970797801316333. A test in SQL bears this out. But he won’t explain why.

Where did I go wrong? Can it be explained to me without using fancy mathematical nomenclature?

---

<div class="post-metadata">

**Author:** ![amarinth](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@amarinth](https://boards.straightdope.com/u/amarinth)\
**Post date:** [August 7, 2007, 7:01pm UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/2 "2007-08-07T19:01:36Z")

</div>

Here:

[QUOTE=tdn]  
The differences between the data points and the mean are 11.6 and 19.4.  
[/QUOTE]  
You need to include the differences between all the data points and the mean.

So, the differences between them are 11.6, 6.6, 3.6, 2.4, & 19.4. The variance is (11.6[sup]2[/sup]+6.6[sup]2[/sup]+3.6[sup]2[/sup]+2.4[sup]2[/sup]+19.4[sup]2[/sup])/(5-1)=143.3

& then the deviation is (143.3)[sup]1/2[/sup]

---

<div class="post-metadata">

**Author:** ![tdn](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tdn](https://boards.straightdope.com/u/tdn)\
**Post date:** [August 7, 2007, 8:16pm UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/3 "2007-08-07T20:16:00Z")

</div>

Ah. Thanks!

I was wondering how just the lowest and highest values could show anything meaningful.

As I have datasets with over 1000 values, I think I’ll just let SQL do the hard work for me.

---

<div class="post-metadata">

**Author:** ![David\_Simmons](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Simmons](https://boards.straightdope.com/u/David_Simmons)\
**Post date:** [August 8, 2007, 1:37am UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/4 "2007-08-08T01:37:00Z")

</div>

[QUOTE=tdn]  
Ah. Thanks!

I was wondering how just the lowest and highest values could show anything meaningful.

As I have datasets with over 1000 values, I think I’ll just let SQL do the hard work for me.  
[/QUOTE]  
Use a table of random numbers or some other method of selectring a random sample and choose a sample of 20 or so. Figure the statistical parameters of that sample to get a close estimate of the population parameters.

I suspect that will be closer than entering so many data points what with entering errors an all.

---

<div class="post-metadata">

**Author:** ![Enola\_Straight](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@Enola\_Straight](https://boards.straightdope.com/u/Enola_Straight)\
**Post date:** [August 8, 2007, 2:05am UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/5 "2007-08-08T02:05:52Z")

</div>

IIRC, the Mean is the average value of all the numbers, and the Standard Deviation is the average “distance” from that Mean.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [August 8, 2007, 2:31am UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/6 "2007-08-08T02:31:33Z")

</div>

> [@](#):
>
> IIRC, the Mean is the average value of all the numbers, and the Standard Deviation is the average “distance” from that Mean.

Sort of. To get the standard deviation, you first square all of the distances, then average them, and then take the square root. There are pros and cons of using this method compared to averaging the absolute values, and folks who use statistics a lot will argue about which to use when. The same is also true for mean vs. other measures of “typical value”.

---

<div class="post-metadata">

**Author:** ![CairoCarol](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cairocarol/32/3825_2.png) [@CairoCarol](https://boards.straightdope.com/u/CairoCarol)\
**Post date:** [August 8, 2007, 2:34am UTC](https://boards.straightdope.com/t/i-made-not-be-standard-but-im-a-real-deviant-math-question/414772/7 "2007-08-08T02:34:21Z")

</div>

Try saying “abominable statistics” ten times in a row, fast.
