Learn R Programming

QBAsyDist (version 0.1.2)

momALoD: Method of moments (MoM) estimation for the quantile-based asymmetric logistic distribution.

Description

Parameter estimation in the quantile-based asymmetric logistic distribution by using method of moments are studied in Gijbels et al. (2019a).

Usage

momALoD(y, alpha = NULL)

Arguments

y

This is a vector of quantiles.

alpha

This is the index parameter \(\alpha\). If \(\alpha\) is unknown, indicate NULL which is the default option. In this case, the sample skewness will be used to estimate \(\alpha\). If \(\alpha\) is known, then the value of \(\alpha\) has to be specified in the function.

Value

momALoD provides the method of moments estimates of the unknown parameters of the distribution.

References

Gijbels, I., Karim, R. and Verhasselt, A. (2019a). On quantile-based asymmetric family of distributions: properties and inference. International Statistical Review, https://doi.org/10.1111/insr.12324.

Examples

Run this code
# NOT RUN {
# Example
y=rnorm(100)
momALoD(y=y,alpha=0.5) # If alpha is known with alpha=0.5
momALoD(y=y) # If alpha is unknown

# }

Run the code above in your browser using DataLab