momATD: Method of moments (MoM) estimation for the quantile-based...

Description Usage Arguments Value References Examples

View source: R/ATD.R

Description

Parameter estimation in the quantile-based asymmetric Student's-t distribution by using method of moments are discussed in Gijbels et al. (2019a). We here used the first four sample moments to estimate parameter θ=(μ,φ,α,ν) under the assumption that the first four population moments exist, which needs to assume ν>4.

Usage

1
momATD(y, alpha = NULL)

Arguments

y

This is a vector of quantiles.

alpha

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

Value

momATD 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

1
2
3
4
# Example
y=rnorm(100)
momATD(y=y,alpha=0.5) # If alpha is known with alpha=0.5
momATD(y=y) # If alpha is unknown

QBAsyDist documentation built on Sept. 4, 2019, 1:05 a.m.

Related to momATD in QBAsyDist...