# lmom: Calculate sample L-Moments In sld: Estimation and Use of the Quantile-Based Skew Logistic Distribution

## Description

Calculate sample L-Moments of a dataset

## Usage

 `1` ```lmom.sample(data,max.mom=3) ```

## Arguments

 `data` A vector containing a dataset `max.mom` The maximum order of L-Moment to estimate

## Details

This function is a wrapper around the `samlmu` function from Hosking's `lmom` package, to give different argument defaults. It calculates sample L Moments.

## Value

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).

## Author(s)

Robert King, [email protected], http://tolstoy.newcastle.edu.au/~rking/ and Paul van Staden

## References

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. http://CRAN.R-project.org/package=lmom

`sld`

## Examples

 ```1 2 3 4 5``` ```generated.data <- rsl(300,c(0,1,.4)) lmom.sample(data=generated.data,max.mom=3) data(PCB1) lmom.sample(PCB1,max.mom=3) ```

### Example output

```Loading required package: lmom
l_1         l_2         t_3
-0.16417520  0.47818477 -0.05196688
l_1         l_2         t_3
210.0000000  39.7927885   0.1044439
```

sld documentation built on May 2, 2019, 5:53 a.m.