# Why half-life and 1 standard devation = 68%?

**URL:** <https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710>\
**Category:** Factual Questions\
**Created:** [July 3, 2011, 1:39pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710 "2011-07-03T13:39:53Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![Crackrat](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@Crackrat](https://boards.straightdope.com/u/Crackrat)\
**Post date:** [July 4, 2011, 12:48am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/21 "2011-07-04T00:48:47Z")

</div>

> [@RadicalPi](#):
>
> Here’s something I’ve always wanted to know. Why would anyone do this? What is the rationale for squaring everything like this? What happens when you do this? Color me clueless here.

> **[Root mean square](https://en.wikipedia.org/wiki/Root_mean_square)**
>
> In mathematics, the root mean square (abbrev. RMS, RMS or rms) of a set of values is the square root of the set's mean square.
> Given a set 
>   
>     
>       
>         
> x
>           
> i
>           
>         
>       
>     
> {\\displaystyle x\_{i}}
>   
> , its RMS is denoted as either 
>   
>     
>       
>         
> x
>           
>             
> R
> M
> S
>             
>           
>         
>       
>     
> {\\displaystyle x\_{\\mathrm {RMS} }}
>   
> or 
>   
> Th...

Plenty of examples, including average electrical power, amplifier power efficiency, and others from physics and engineering.

---

<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:** [July 4, 2011, 3:10am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/22 "2011-07-04T03:10:58Z")

</div>

The simplest motivation for RMS is that you need to do something to the deviations to make them all positive (or you’re just going to get 0 for the average deviation), and a square is the simplest smooth function that does that.

Quoth **ultrafilter** :

> [@](#):
>
> The reason we prefer the standard deviation to a measure like this is that it contains information about the entire distribution. I can create multiple distributions that have the same interquartile range but very different standard deviations; on the other hand, if two distributions have the same standard deviation, there’s only so far apart that their interquartile ranges can be.

Not true. I could take two Lorentzian distributions with completely different interquartile ranges, and truncate them way the heck out on the tails so they both have finite but extremely large standard deviations. If I choose my truncation points correctly, I can give them exactly the same standard deviation as each other, without any significant change to their (very different from each other) interquartile ranges. There’s literally no limit on how different the interquartile ranges can be, for two distributions with the same standard deviation.

And the fact that standard deviation is significantly effected by the entire data set can sometimes be a bug, not a feature. Sometimes you want to ignore, or at least deweight, the outliers.

---

<div class="post-metadata">

**Author:** ![Measure\_for\_Measure](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/measure_for_measure/32/557_2.png) [@Measure\_for\_Measure](https://boards.straightdope.com/u/Measure_for_Measure)\
**Post date:** [July 4, 2011, 7:03am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/23 "2011-07-04T07:03:23Z")

</div>

> [@Chronos](#):
>
> The simplest motivation for RMS is that you need to do something to the deviations to make them all positive (or you’re just going to get 0 for the average deviation), and a square is the simplest smooth function that does that.

…of course absolute value is conceptually clearer and Mean Absolute Deviation is more intuitive as well. But the calculus tends to be a lot messier than for squares. (And if you’re running a regression, AAD tends to produce ambiguous intercepts, IIRC. But that can be finessed, IME. )

High speed computers (like, oh, the 386) can make some of these issues go away. Working with median absolute deviations is sometimes known as robust regression, as it resists undue effects from outliers. I opine that AAD and MAD deserve more attention.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [July 4, 2011, 8:14am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/24 "2011-07-04T08:14:46Z")

</div>

> [@Chronos](#):
>
> The simplest motivation for RMS is that you need to do something to the deviations to make them all positive (or you’re just going to get 0 for the average deviation), and a square is the simplest smooth function that does that.

I think the simplest motivation for RMS is the Pythagorean Theorem. You can think of random variables as vectors in a high-dimensional Euclidean space, with the RMS of a variable being its length.

Furthermore, one dimension of that space will correspond to constant variables, while the perpendicular dimensions correspond to variables of mean zero. Thus, every variable will uniquely decompose into the sum of two components, a constant variable component and a mean-zero variable component. The lengths of these two components are the variable’s mean and standard deviation, respectively.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [July 4, 2011, 8:33am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/25 "2011-07-04T08:33:46Z")

</div>

> [@Indistinguishable](#):
>
> You can think of random variables as vectors in a high-dimensional Euclidean space, with the RMS of a variable being its length.

(E.g., variables measured over a population of size N, being lists of N numbers, are quite readily thought of as N-dimensional vectors with the indicator variables for each member of the population comprising an orthogonal, equal-length basis. Taking unit length to be that of the constant unit variable, every variable’s length becomes identified with its RMS, by the familiar Pythagorean Theorem. [Granted, one might occasionally want to consider non-Euclidean norms as well, but the advantages of the Euclidean norm and attendant theory of angles are familiar, at least from a geometric perspective])

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 4, 2011, 4:26pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/26 "2011-07-04T16:26:08Z")

</div>

> [@Indistinguishable](#):
>
> Granted, one might occasionally want to consider non-Euclidean norms as well, but the advantages of the Euclidean norm and attendant theory of angles are familiar, at least from a geometric perspective

And this is a large part of the reason why people like least squares: we understand what’s going on geometrically.

---

<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:** [July 4, 2011, 4:27pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/27 "2011-07-04T16:27:53Z")

</div>

I would say that’s the most _fundamental_ motivation for it, but most people don’t regard N-dimensional vector spaces as “simple”. Of course, similar motivations also lead to the Gaussian distribution being so widespread: The standard deviation is, in some real sense, the most natural width measure for the Gaussian (but not so natural for other distributions).

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [July 4, 2011, 4:44pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/28 "2011-07-04T16:44:24Z")

</div>

> [@Chronos](#):
>
> I would say that’s the most _fundamental_ motivation for it, but most people don’t regard N-dimensional vector spaces as “simple”. Of course, similar motivations also lead to the Gaussian distribution being so widespread: The standard deviation is, in some real sense, the most natural width measure for the Gaussian (but not so natural for other distributions).

As I mentioned up in post 19, other distributions have other measures as being most natural, by the way.

---

<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:** [July 4, 2011, 5:36pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/29 "2011-07-04T17:36:00Z")

</div>

Oh, and Gaussian distributions and standard deviations are also related to the practice of using least-squares fitting to get a best-fit line (or other curve). Least-squares fitting is the optimum fitting routine for data with Gaussian errors.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [July 4, 2011, 6:51pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/30 "2011-07-04T18:51:37Z")

</div>

> [@Andy\_L](#):
>
> In the same way that L2 is the natural measure for dispersion of a gaussian distribution, L1 is the natural measure for a Laplacian distribution, and Linf is for the uniform distribution.

This sounds interesting. What exactly is meant by it, though? Could you say some more about the sense in which these various norms are the natural measures of dispersion for these various distributions?

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [July 4, 2011, 7:05pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/31 "2011-07-04T19:05:41Z")

</div>

(Specifically, I was curious as to whether the sense of the correspondence was that there is some principled, uniform way of turning norms into distributions which turns the L1, L2, and L-infinity norms into the Laplacian, Gaussian, and uniform distributions, respectively. On reflection, though, I suppose the sense is actually the converse, that turning distributions into norms in such and such a way (apparently, via maximum likelihood whatnot) sends those distributions to those norms, but with other distributions being sent to those same norms as well)

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [July 4, 2011, 7:12pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/32 "2011-07-04T19:12:29Z")

</div>

> [@Indistinguishable](#):
>
> This sounds interesting. What exactly is meant by it, though? Could you say some more about the sense in which these various norms are the natural measures of dispersion for these various distributions?

The standard deviation L2, is proportional to the free parameter describing the dispersion in the equation for the gaussian distribution, the mean absolute deviation (L1) is proportional to the free parameter describing the spread in a Laplacian distribution, and the maximum absolute deviation is equal to the range of the uniform distribution (from mean to maximum or minimum value).

Also, if you minimize L2 in a curve fitting problem, you get an unbiased estimate if the noise in your data is gaussian distributed, if you minimize L1 you get an unbiased estimate if the noise is Laplacian, and if you minimize Linf you get an unbiased estimate if the noise is uniform, while if you use the “wrong” norm for the noise, you’ll probably get bad estimates.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 4, 2011, 7:14pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/33 "2011-07-04T19:14:58Z")

</div>

> [@Indistinguishable](#):
>
> This sounds interesting. What exactly is meant by it, though? Could you say some more about the sense in which these various norms are the natural measures of dispersion for these various distributions?

I’m guessing that it has to do with maximum likelihood estimation of their parameters (assuming that the uniform distribution is on [0, heta]). The dispersion parameter of the normal distribution is \sigma^2, and the maximum likelihood estimator is the mead squared deviation. The dispersion parameter of the Laplace distribution is denoted as b, and its maximum likelihood estimator is the mean absolute deviation. The dispersion parameter of the uniform is heta, and its maximum likelihood estimator is proportional to the maximum observation.

It’s a nice way of looking at things, but it doesn’t really tell you how to assign measures of dispersion to other distributions. There is a general notion of a [dispersion parameter](http://www.stat.sfu.ca/~raltman/stat402/402L25.pdf) for exponential families, but that still doesn’t cover something like a Pareto or a Cauchy.

On preview: Beaten like a dead horse. Oh well.

**Chronos** : I’ve been looking for the result that I mentioned, but I can’t find anything. It may be that it’s specific to exponential families, or that I’m just making it up, but I’ll keep digging.

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [July 4, 2011, 7:21pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/34 "2011-07-04T19:21:40Z")

</div>

> [@ultrafilter](#):
>
> On preview: Beaten like a dead horse. Oh well.

I appreciated seeing your description anyway - it’s nice to see things expressed in slightly different ways. Leads to more robust understanding…

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 4, 2011, 7:32pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/35 "2011-07-04T19:32:07Z")

</div>

> [@Andy\_L](#):
>
> Also, if you minimize L2 in a curve fitting problem, you get an unbiased estimate if the noise in your data is gaussian distributed, if you minimize L1 you get an unbiased estimate if the noise is Laplacian, and if you minimize Linf you get an unbiased estimate if the noise is uniform, while if you use the “wrong” norm for the noise, you’ll probably get bad estimates.

For a linear model where the errors have zero mean, equal variances and no correlation, the least squares estimate is the best linear unbiased estimator by the [Gauss-Markov theorem](https://secure.wikimedia.org/wikipedia/en/wiki/Gauss%E2%80%93Markov_theorem).

Note that a linear model is linear in the parameters, not the variables. Anything of the form g(y) = \beta\_0 + \beta\_1f\_1(x) + \beta\_2f\_2(x) + … + \beta\_kf\_k(x) is linear as long as the functions g, f\_1, f\_2, …, f\_k are known.

Edit: Also, a [variant](https://secure.wikimedia.org/wikipedia/en/wiki/Generalized_least_squares) of least squares is BLUE when the covariance matrix of the errors is known (or known up to a constant) but not diagonal.

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [July 4, 2011, 7:38pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/36 "2011-07-04T19:38:05Z")

</div>

> [@ultrafilter](#):
>
> For a linear model where the errors have zero mean, equal variances and no correlation, the least squares estimate is the best linear unbiased estimator by the [Gauss-Markov theorem](https://secure.wikimedia.org/wikipedia/en/wiki/Gauss%E2%80%93Markov_theorem).
> 
> Note that a linear model is linear in the parameters, not the variables. Anything of the form g(y) = \beta\_0 + \beta\_1f\_1(x) + \beta\_2f\_2(x) + … + \beta\_kf\_k(x) is linear as long as the functions g, f\_1, f\_2, …, f\_k are known.

You’re right - I was oversimplifying. The fact that L2 estimate gives good results (by its own standard) for a wide range of noise types is another reason why L2 is so useful.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [July 4, 2011, 7:43pm UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/37 "2011-07-04T19:43:33Z")

</div>

> [@Andy\_L](#):
>
> The standard deviation L2, is proportional to the free parameter describing the dispersion in the equation for the gaussian distribution, the mean absolute deviation (L1) is proportional to the free parameter describing the spread in a Laplacian distribution, and the maximum absolute deviation is equal to the range of the uniform distribution (from mean to maximum or minimum value).

This proportionality argument has no substance, though; for Gaussian distributions, the the L1 deviation is _also_ proportional to the dispersion parameter, as the L1 deviation is proportional to the L2 deviation [as sqrt(2/π)σ], and so on for the rest of it. Indeed, tautologically, any measure of dispersion will be proportional to any dispersion parameter in any distribution where it is well-defined, where “measure of dispersion” and “dispersion parameter” are both understood to be things which scale in the natural way as the distribution is stretched wider or thinner (and the family of distributions being considered only varies in this way).

The maximum likelihood estimation argument is more compelling.

---

<div class="post-metadata">

**Author:** ![Andy\_L](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andy\_L](https://boards.straightdope.com/u/Andy_L)\
**Post date:** [July 5, 2011, 11:12am UTC](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710/38 "2011-07-05T11:12:05Z")

</div>

> [@Indistinguishable](#):
>
> This proportionality argument has no substance, though; for Gaussian distributions, the the L1 deviation is _also_ proportional to the dispersion parameter, as the L1 deviation is proportional to the L2 deviation [as sqrt(2/π)σ], and so on for the rest of it. Indeed, tautologically, any measure of dispersion will be proportional to any dispersion parameter in any distribution where it is well-defined, where “measure of dispersion” and “dispersion parameter” are both understood to be things which scale in the natural way as the distribution is stretched wider or thinner (and the family of distributions being considered only varies in this way).
> 
> The maximum likelihood estimation argument is more compelling.

Yep. I should have said what ultrafilter said in post 33.

[Previous page](https://boards.straightdope.com/t/why-half-life-and-1-standard-devation-68/587710.md?page=1)
