momentATD: Moments estimation for the quantile-based asymmetric...

Description Usage Arguments Value References Examples

View source: R/ATD.R

Description

Mean, variance, skewness, kurtosis and moments about the location parameter (i.e., αth quantile) of the quantile-based asymmetric Student's-t distribution defined in Gijbels et al. (2019a) useful for quantile regression with location parameter equal to μ, scale parameter φ and index parameter α.

Usage

1
2
3
4
5
6
7
8
9
meanATD(mu, phi, alpha, nu)

varATD(mu, phi, alpha, nu)

skewATD(alpha, nu)

kurtATD(alpha, nu)

momentATD(phi, alpha, nu, r)

Arguments

mu

This is the location parameter μ.

phi

This is the scale parameter φ.

alpha

This is the index parameter α.

nu

This is the degrees of freedom parameter ν, which must be positive.

r

This is a value which is used to calculate the rth moment (r\in\{1,2,3,4\}) about μ.

Value

meanATD provides the mean, varATD provides the variance, skewATD provides the skewness, kurtATD provides the kurtosis, and momentATD provides the rth moment about the location parameter μ of the quantile-based asymmetric Student's-t 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
5
6
# Example
meanATD(mu=0,phi=1,alpha=0.5,nu=10)
varATD(mu=0,phi=1,alpha=0.5,nu=10)
skewATD(alpha=0.5,nu=10)
kurtATD(alpha=0.5,nu=10)
momentATD(phi=1,alpha=0.5,nu=10,r=1)

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