Variance-stabilizing transformation explained

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]

Overview

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 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

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 μ,

\operatorname{var}(X)=h(\mu),

a suitable basis for a variance stabilizing transformation would be

y\propto\intx

1
\sqrt{h(\mu)
} \, d\mu,

where the arbitrary constant of integration and an arbitrary scaling factor can be chosen for convenience.

Example: relative variance

If is a positive random variable and for some constant, s, the variance is given as then the standard deviation is proportional to the mean, which is called fixed relative error. In this case, the variance-stabilizing transformation is

y=\intx

d\mu
\sqrt{s2\mu2
} = \frac \ln(x) \propto \log(x)\,.That is, the variance-stabilizing transformation is the logarithmic transformation.

Example: absolute plus relative variance

If the variance is given as then the variance is dominated by a fixed variance when is small enough and is dominated by the relative variance when is large enough. In this case, the variance-stabilizing transformation is

y=\intx

d\mu
\sqrt{\sigma2+s2\mu2
}= \frac \operatorname \frac\propto \operatorname \frac\,.That is, the variance-stabilizing transformation is the inverse hyperbolic sine of the scaled value for .

Example: pearson correlation

The Fisher transformation is a variance stabalizing transformation for the pearson correlation coefficient.

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

X

be a random variable, with

E[X]=\mu

and

\operatorname{Var}(X)=\sigma2

.Define

Y=g(X)

, where

g

is a regular function. A first order Taylor approximation for

Y=g(x)

is:

Y=g(X)g(\mu)+g'(\mu)(X-\mu)

From the equation above, we obtain:

E[Y]g(\mu)

and

\operatorname{Var}[Y]\sigma2g'(\mu)2

This approximation method is called delta method.

Consider now a random variable

X

such that

E[X]=\mu

and

\operatorname{Var}[X]=h(\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

g

such that

Y=g(X)

has a variance independent (at least approximately) of its expectation.

Imposing the condition

\operatorname{Var}[Y]h(\mu)g'(\mu)2=constant

, this equality implies the differential equation:
dg=
d\mu
C
\sqrt{h(\mu)
}

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

g(\mu)=\int

Cd\mu
\sqrt{h(\mu)
}

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

References

  1. Book: Everitt, B. S. . 2002 . The Cambridge Dictionary of Statistics . 2nd . CUP . 0-521-81099-X .
  2. Book: Dodge, Y. . 2003 . The Oxford Dictionary of Statistical Terms . OUP . 0-19-920613-9 . registration .
  3. Bartlett . M. S. . 1947 . The Use of Transformations . Biometrics . 3 . 39–52 . 10.2307/3001536 .