qrPwlm: Probability Weighted L-moment Skewness and Kurtosis

Description Usage Arguments Details Value References Examples

View source: R/qrPwlm.R

Description

Calculate the skew and kurtosis statistics based on probability weighted moments, via simulation method.

Usage

1
qrPwlm(x, n = NULL, mu = NULL, sigma = NULL, fd = NULL, sd = NULL)

Arguments

x

The vector of values for the calculation of Skewness and Kurtosis.

n

The number of samples drawn in the simulation. The higher this value, the greater accuracy.

mu

vector of means.

sigma

vector of standard deviations.

fd

A string that specifies the parent distribution.

sd

A string that specifies the sub-family distribution.

Details

This function computes the L-moment measures of skew and kurtosis, which may be computed via linear combinations of probability-weighted moments (Greenwood, Landwehr, Matalas and Wallis, 1979).

Value

The tau3(skew) and tau4(kurtosis) values of the L-moment.

References

Greenwood, J. A., Landwehr, J. M., Matalas, N. C., & Wallis, J. R. (1979). Probability weighted moments: definition and relation to parameters of several distributions expressable in inverse form. Water Resources Research, 15(5), 1049-1054.

Examples

1
qrPwlm(n = 1000, mu = 0.5, sigma = 1, fd = 't2', sd = 't2')

cdfquantreg documentation built on May 19, 2017, 6:51 a.m.

Search within the cdfquantreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.