fpower: Folded Power Transformation

Description Usage Arguments Value Examples

Description

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, λ, ε) = \frac{p+ε}{1-p+ε}^λ

where λ is the power and ε is a positive offset that ensures that \frac{p+ε}{1-p+ε} is greater than 0 and finite.

Usage

1
fpower(p, lambda, eps)

Arguments

p

Mortality proportion

lambda

Power lambda for the power transformation

eps

If eps>0 phat is replaced by \frac{p+ε}{1+ε} before applying the power transformation.

Value

The transformed values of fpower(p).

Examples

1
2
p <- (0:10)/10
ytrans <- fpower(p, lambda=0.25, eps=1/450)

qra documentation built on Oct. 29, 2021, 9:06 a.m.