fpower | R Documentation |
The name “folded Power Transformation” is used because this does for power transformations what Tukey's folded logarithm does for the logarithmic tranformation. The function calculates
f(p, \lambda, \epsilon) = \frac{p+\epsilon}{1-p+\epsilon}^\lambda
where \lambda
is the power and \epsilon
is a positive
offset that ensures that \frac{p+\epsilon}{1-p+\epsilon}
is
greater than 0 and finite.
fpower(p, lambda, eps)
p |
Mortality proportion |
lambda |
Power |
eps |
If |
The transformed values of fpower(p)
.
p <- (0:10)/10
ytrans <- fpower(p, lambda=0.25, eps=1/450)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.