alcdfstd: CDF of standard asymmetric Laplace distribution

Description Usage Arguments Details Value References See Also Examples

View source: R/ORI.R

Description

This function computes the CDF of standard asymmetric Laplace distribution i.e. AL(0, 1 ,p).

Usage

1
alcdfstd(x, p)

Arguments

x

scalar value.

p

quantile level or skewness parameter, p in (0,1).

Details

Computes the CDF of a standard asymmetric Laplace distribution.

CDF(x) = F(x) = P(X ≤ x)

where X is a random variable that follows AL(0, 1 ,p).

Value

Returns the cumulative probability value from the CDF of an asymmetric Laplace distribution.

References

Rahman, M. A. (2016). “Bayesian Quantile Regression for Ordinal Models.” Bayesian Analysis, 11(1): 1-24. DOI: 10.1214/15-BA939

Yu, K., and Zhang, J. (2005). “A Three-Parameter Asymmetric Laplace Distribution.” Communications in Statistics - Theory and Methods, 34(9-10), 1867-1879. DOI: 10.1080/03610920500199018

See Also

asymmetric Laplace distribution

Examples

1
2
3
4
5
6
7
set.seed(101)
x <-  -0.5428573
p <- 0.25
output <- alcdfstd(x, p)

# output
#   0.1663873

bqror documentation built on Nov. 22, 2021, 1:07 a.m.

Related to alcdfstd in bqror...