If ξ is known, k=(λ1−ξ)/λ2−2 and α=(1+k)(λ1−ξ); if ξ is unknown, k=(1−3τ3)/(1+τ3), α=(1+k)(2+k)λ2 and ξ=λ1−(2+k)λ2.
Lmom.genpar and par.genpar accept input as vectors of equal length. In f.genpar, F.genpar, invF.genpar and rand.genpar parameters (xi, alfa, k) must be atomic.
Returns
f.genpar gives the density f, F.genpar gives the distribution function F, invF.genpar gives the quantile function x, Lmom.genpar gives the L-moments (λ1, λ2, τ3, τ4), par.genpar
gives the parameters (xi, alfa, k), and rand.genpar generates random deviates.
Note
For information on the package and the Author, and for all the references, see nsRFA.