# Geometric standard deviation

In probability theory and statistics, the geometric standard deviation (GSD) describes how spread out are a set of numbers whose preferred average is the geometric mean. For such data, it may be preferred to the more usual standard deviation. Note that unlike the usual arithmetic standard deviation, the geometric standard deviation is a multiplicative factor, and thus is dimensionless, rather than having the same dimension as the input values. Thus, the geometric standard deviation may be more appropriately called geometric SD factor. When using geometric SD factor in conjunction with geometric mean, it should be described as "the range from (the geometric mean divided by the geometric SD factor) to (the geometric mean multiplied by the geometric SD factor), and one cannot add/subtract "geometric SD factor" to/from geometric mean.

## Definition

If the geometric mean of a set of numbers A$_1$, A$_2$, ..., A$_n${\textstyle {A_{1}, A_{2}, ..., A_{n}}} is denoted as μ$_g${\textstyle \mu _{\mathrm {g} }}, then the geometric standard deviation is
$\sigma _{\mathrm {g} }=\exp {\sqrt {{1 \over n}\sum _{i=1}^{n}\left(\ln {A_{i} \over \mu _{\mathrm {g} }}\right)^{2}}}\,.$

## Derivation

If the geometric mean is
$\mu _{\mathrm {g} }={\sqrt[{n}]{A_{1}A_{2}\cdots A_{n}}}$
then taking the natural logarithm of both sides results in
$\ln \mu _{\mathrm {g} }={1 \over n}\ln(A_{1}A_{2}\cdots A_{n}).$
The logarithm of a product is a sum of logarithms (assuming A$_i${\textstyle A_{i}} is positive for all i{\textstyle i}), so
$\ln \mu _{\mathrm {g} }={1 \over n}\left[\ln A_{1}+\ln A_{2}+\cdots +\ln A_{n}\right].$
It can now be seen that $\ln \mu _{\mathrm {g} }$ is the arithmetic mean of the set $\{\ln A_{1},\ln A_{2},\dots ,\ln A_{n}\}$, therefore the arithmetic standard deviation of this same set should be
$\ln \sigma _{\mathrm {g} }={\sqrt {{1 \over n}\sum _{i=1}^{n}(\ln A_{i}-\ln \mu _{\mathrm {g} })^{2}}}\,.$
This simplifies to
$\sigma _{\mathrm {g} }=\exp {\sqrt {{1 \over n}\sum _{i=1}^{n}\left(\ln {A_{i} \over \mu _{\mathrm {g} }}\right)^{2}}}\,.$

## Geometric standard score

The geometric version of the standard score is
$z={{\ln x-\ln \mu _{\mathrm {g} }} \over \ln \sigma _{\mathrm {g} }}=\log _{\sigma _{\mathrm {g} }}\left({x \over \mu _{\mathrm {g} }}\right).$
If the geometric mean, standard deviation, and z-score of a datum are known, then the raw score can be reconstructed by
$x=\mu _{\mathrm {g} }{\sigma _{\mathrm {g} }}^{z}.$

## Relationship to log-normal distribution

The geometric standard deviation is used as a measure of log-normal dispersion analogously to the geometric mean. As the log-transform of a log-normal distribution results in a normal distribution, we see that the geometric standard deviation is the exponentiated value of the standard deviation of the log-transformed values, i.e. $\sigma _{\mathrm {g} }=\exp(\operatorname {stdev} (\ln A))$.
As such, the geometric mean and the geometric standard deviation of a sample of data from a log-normally distributed population may be used to find the bounds of confidence intervals analogously to the way the arithmetic mean and standard deviation are used to bound confidence intervals for a normal distribution. See discussion in log-normal distribution for details.