# Variance-stabilizing transformation

In applied statistics, a variance-stabilizing transformation is a data transformation that is specifically chosen either to simplify considerations in graphical exploratory data analysis or to allow the application of simple regression-based or analysis of variance techniques.[1]

The aim behind the choice of a variance-stabilizing transformation is to find a simple function ƒ to apply to values x in a data set to create new values y = ƒ(x) such that the variability of the values y is not related to their mean value. For example, suppose that the values x are realizations from different Poisson distributions: i.e. the distributions each have different mean values μ. Then, because for the Poisson distribution the variance is identical to the mean, the variance varies with the mean. However, if the simple variance-stabilizing transformation

${\displaystyle y={\sqrt {x}}\,}$

is applied, the sampling variance associated with observation will be nearly constant: see Anscombe transform for details and some alternative transformations.

While variance-stabilizing transformations are well known for certain parametric families of distributions, such as the Poisson and the binomial distribution, some types of data analysis proceed more empirically: for example by searching among power transformations to find a suitable fixed transformation. Alternatively, if data analysis suggests a functional form for the relation between variance and mean, this can be used to deduce a variance-stabilizing transformation.[2] Thus if, for a mean μ,

${\displaystyle \operatorname {var} (X)=g(\mu ),\,}$

a suitable basis for a variance stabilizing transformation would be

${\displaystyle y=\int ^{x}{\frac {1}{\sqrt {g(v)}}}\,dv,}$

where the arbitrary constant of integration can be chosen for convenience.

## Relationship to the delta method

Here, the delta method is presented in a rough way, but it is enough to see the relation with the variance-stabilizing transformations. To see a more formal approach see delta method.

Let ${\displaystyle X}$ a random variable, with ${\displaystyle E[X]=\mu }$ and ${\displaystyle Var(X)=\sigma ^{2}}$. Define ${\displaystyle Y=g(X)}$, where ${\displaystyle g}$ is a regular function. A first order Taylor approximation for ${\displaystyle Y=g(x)}$ is:

${\displaystyle Y=g(X)\approx g(\mu )+g'(\mu )(X-\mu )}$

From the equation above, we obtain:

${\displaystyle E[Y]=g(\mu )}$ and ${\displaystyle Var[Y]=\sigma ^{2}g'(\mu )^{2}}$ This approximation method is called delta method.

Consider now a random variable ${\displaystyle X}$ such that ${\displaystyle E[X]=\mu }$ and ${\displaystyle Var[X]=kh(\mu )}$. Notice the relation between the variance and the mean, which implies, for example, heteroscedasticity in a linear model. Therefore, the goal is to find a function ${\displaystyle g}$ such that ${\displaystyle Y=g(X)}$ has a variance independent (at least approximately) of its expectation.

Imposing the condition ${\displaystyle Var[Y]\approx kh(\mu )g'(\mu )^{2}=constant}$, this equality implies the differential equation:

${\displaystyle {\frac {dg}{d\mu }}={\frac {C}{\sqrt {h(\mu )}}}}$

This ordinary differential equation has, by separation of variables, the following solution:

${\displaystyle g(\mu )=\int {\frac {Cd\mu }{\sqrt {h(\mu )}}}}$

This last expression appeared for the first time in a M. S. Bartlett paper.[3]

## References

1. ^ Everitt, B.S. (2002) The Cambridge Dictionary of Statistics (2nd Edition), CUP. ISBN 0-521-81099-X
2. ^ Dodge, Y. (2003) The Oxford Dictionary of Statistical Terms, OUP. ISBN 0-19-920613-9
3. ^ Bartlett, M.S. (1947) The use of transformations. Biometrics, 3, 39-52. doi:10.2307/3001536