Learn R Programming

exdqlm (version 0.3.0)

get_gamma_bounds: Bounds for the exAL shape parameter gamma

Description

Returns valid lower/upper bounds (L, U) for the shape parameter gamma of the standardized extended Asymmetric Laplace (exAL), given p0 in (0,1).

Usage

get_gamma_bounds(p0)

Value

A numeric vector of length 2 named c("L","U").

Arguments

p0

Numeric scalar in (0, 1); typically the target quantile level.

Details

This is a user-facing convenience wrapper around the C++ routine get_gamma_bounds_cpp(), which performs the actual computation.

Examples

Run this code
get_gamma_bounds(0.5)
get_gamma_bounds(0.9)

Run the code above in your browser using DataLab