lmom.sample | R Documentation |
Calculate sample L-Moments of a dataset
lmom.sample(data,max.mom=3)
data |
A vector containing a dataset |
max.mom |
The maximum order of L-Moment to estimate |
This function is a wrapper around the samlmu
function from
Hosking's lmom
package, to give different argument defaults.
It calculates sample L Moments.
A vector of length max.mom
. The first two elements are the first two
L moments. If max.mom
is greater than two, the following elements are
the corresponding L moment ratios (the L Moment divided by the 2nd L Moment).
Robert King, robert.king.newcastle@gmail.com, https://github.com/newystats and Paul van Staden
Hosking, J. R. M. (1990). L-moments: analysis and estimation of distributions using linear combinations of order statistics. Journal of the Royal Statistical Society, Series B, 52, 105–124.
Hosking, J. R. M., and Wallis, J. R. (1997). Regional frequency analysis: an approach based on L-moments. Cambridge University Press.
J. R. M. Hosking (2014). L-moments. R package, version 2.2. https://cran.r-project.org/package=lmom
sld
generated.data <- rsl(300,c(0,1,.4)) lmom.sample(data=generated.data,max.mom=3) data(PCB1) lmom.sample(PCB1,max.mom=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.