Learn R Programming

lmomco (version 2.2.5)

parsla: Estimate the Parameters of the Slash Distribution

Description

This function estimates the parameters of the Slash distribution from the trimmed L-moments (TL-moments) having trim level 1. The relations between distribution parameters and TL-moments are shown under lmomsla.

Usage

parsla(lmom, ...)

Arguments

lmom
A TL-moment object from TLmoms with trim=1.
...
Other arguments to pass.

Value

An R list is returned.

References

Rogers, W.H., and Tukey, J.W., 1972, Understanding some long-tailed symmetrical distributions: Statistica Neerlandica, v. 26, no. 3, pp. 211--226.

See Also

TLmoms, lmomsla, cdfsla, pdfsla, quasla

Examples

Run this code
## Not run: 
# par1 <- vec2par(c(-100, 30), type="sla")
# X   <- rlmomco(500, par1)
# lmr <- TLmoms(X, trim=1)
# par2 <- parsla(lmr)
# F <- seq(0.001,.999, by=0.001)
# plot(qnorm(pp(X)), sort(X), pch=21, col=8,
#      xlab="STANDARD NORMAL VARIATE",
#      ylab="QUANTILE")
# lines(qnorm(F), quasla(F, par1), lwd=3)
# lines(qnorm(F), quasla(F, par2), col=2)
# ## End(Not run)

Run the code above in your browser using DataLab