berg_sk_kt: The BerG Skewness and Kurtosis

Description Usage Arguments Value Author(s) References Examples

Description

Skewness and kurtosis for the BerG distribution with parameters mu and phi.

Usage

1
2
3
skberg(mu, phi)

ktberg(mu, phi)

Arguments

mu

numeric; non-negative mean.

phi

numeric; the dispersion index (greather than abs(mu - 1)).

Value

The functions skberg and ktberg returns the skewness and kurtosis of the BerG distribution respectively.

Author(s)

Rodrigo M. R. Medeiros <rodrigo.matheus@live.com>

References

Bourguignon, M. & Medeiros, R. (2020). A simple and useful regression model for fitting count data

Examples

1
2
3
4
# For mu = 2 and phi = 2.5, the skewness and kurtosis of the BerG
# distribution are, respectively,
skberg(mu = 2, phi = 2.5)
ktberg(mu = 2, phi = 2.5)

rdmatheus/bergrm documentation built on Oct. 1, 2020, 4:38 a.m.