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]
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 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
- [math]\displaystyle{ y=\sqrt{x} \, }[/math]
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 μ,
- [math]\displaystyle{ \operatorname{var}(X)=h(\mu), \, }[/math]
a suitable basis for a variance stabilizing transformation would be
- [math]\displaystyle{ y \propto \int^x \frac{1}{\sqrt{h(\mu)}} \, d\mu, }[/math]
where the arbitrary constant of integration and an arbitrary scaling factor can be chosen for convenience.
Example: relative variance
If X is a positive random variable and the variance is given as h(μ) = s2μ2 then the standard deviation is proportional to the mean, which is called fixed relative error. In this case, the variance-stabilizing transformation is
- [math]\displaystyle{ y = \int^x \frac{d\mu}{\sqrt{s^2\mu^2}} = \frac{1}{s} \ln(x) \propto \log(x)\,. }[/math]
That is, the variance-stabilizing transformation is the logarithmic transformation.
Example: absolute plus relative variance
If the variance is given as h(μ) = σ2 + s2μ2 then the variance is dominated by a fixed variance σ2 when ‹See Tfd›|μ| is small enough and is dominated by the relative variance s2μ2 when ‹See Tfd›|μ| is large enough. In this case, the variance-stabilizing transformation is
- [math]\displaystyle{ y = \int^x \frac{d\mu}{\sqrt{\sigma^2 + s^2\mu^2}} = \frac{1}{s} \operatorname{asinh} \frac{x}{\sigma / s} \propto \operatorname{asinh} \frac{x}{\lambda}\,. }[/math]
That is, the variance-stabilizing transformation is the inverse hyperbolic sine of the scaled value x / λ for λ = σ / s.
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 [math]\displaystyle{ X }[/math] be a random variable, with [math]\displaystyle{ E[X]=\mu }[/math] and [math]\displaystyle{ \operatorname{Var}(X)=\sigma^2 }[/math]. Define [math]\displaystyle{ Y=g(X) }[/math], where [math]\displaystyle{ g }[/math] is a regular function. A first order Taylor approximation for [math]\displaystyle{ Y=g(x) }[/math] is:
[math]\displaystyle{ Y = g(X) \approx g(\mu)+g'(\mu)(X-\mu) }[/math]
From the equation above, we obtain:
- [math]\displaystyle{ E[Y] \approx g(\mu) }[/math] and [math]\displaystyle{ \operatorname{Var}[Y] \approx \sigma^2g'(\mu)^2 }[/math]
This approximation method is called delta method.
Consider now a random variable [math]\displaystyle{ X }[/math] such that [math]\displaystyle{ E[X]=\mu }[/math] and [math]\displaystyle{ \operatorname{Var}[X]=h(\mu) }[/math]. 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 [math]\displaystyle{ g }[/math] such that [math]\displaystyle{ Y=g(X) }[/math] has a variance independent (at least approximately) of its expectation.
Imposing the condition [math]\displaystyle{ \operatorname{Var}[Y]\approx h(\mu)g'(\mu)^2=\text{constant} }[/math], this equality implies the differential equation:
- [math]\displaystyle{ \frac{dg}{d\mu}=\frac{C}{\sqrt{h(\mu)}} }[/math]
This ordinary differential equation has, by separation of variables, the following solution:
- [math]\displaystyle{ g(\mu)=\int \frac{C\,d\mu}{\sqrt{h(\mu)}} }[/math]
This last expression appeared for the first time in a M. S. Bartlett paper.[3]
References
- ↑ Everitt, B. S. (2002). The Cambridge Dictionary of Statistics (2nd ed.). CUP. ISBN 0-521-81099-X.
- ↑ Dodge, Y. (2003). The Oxford Dictionary of Statistical Terms. OUP. ISBN 0-19-920613-9. https://archive.org/details/oxforddictionary0000unse.
- ↑ Bartlett, M. S. (1947). "The Use of Transformations". Biometrics 3: 39–52. doi:10.2307/3001536.
Original source: https://en.wikipedia.org/wiki/Variance-stabilizing transformation.
Read more |