Learn R Programming

lmomco (version 1.7.3)

pwm.beta2alpha: Conversion of Beta to Alpha Probability-Weighted Moments (PWMs) or Alpha to Beta PWMs

Description

Conversion of Beta to Alpha Probability-Weighted Moments (PWMs) by pwm.beta2alpha() or Alpha to Beta PWMs by pwm.alpha2beta(). The relations between the $\alpha$ and $\beta$ PWMs are

$$\alpha_r = \sum^r_{k=0} (-1)^k {r \choose k} \beta_k$$

and

$$\beta_r = \sum^r_{k=0} (-1)^k {r \choose k} \alpha_k$$

Lastly, note that the $\beta$ are almost exclusively used in the literature. Since each is a linear combination of the other, they are equivalent in meaning but not numerically.

Usage

pwm.beta2alpha(pwm)

pwm.alpha2beta(pwm)

Arguments

pwm
A vector of beta probability-weighted moments.

Value

  • A vector of the $\alpha_r$. Note that convention is the have a $\alpha_0$, but this is placed in the first index i=1 vector. Alternatively, a vector of the $\beta_r$.

References

Hosking, J.R.M., 1986, The theory of probability weighted moments: Research Report RC12210, IBM Research Division, Yorktown Heights, New York, reissued with corrections April 1989, 160 p.

See Also

pwm, pwm2lmom

Examples

Run this code
X <- rnorm(100)
pwm(X)$betas
pwm.beta2alpha(pwm(X)$betas)
pwm.alpha2beta(pwm.beta2alpha(pwm(X)$betas))

Run the code above in your browser using DataLab