qglindley: Quantile Function of a Generalized Lindley Distribution

Quantile Generalized Lindley DistributionR Documentation

Quantile Function of a Generalized Lindley Distribution

Description

Gives the quantile function value of a univariate Generalized Lindley Distribution.

Usage

qglindley(p, alpha, beta, gamma, lower.tail = TRUE, log.p = FALSE)

Arguments

p

value or vector to apply on the quantile function.

alpha

value of parameter.

beta

value of parameter.

gamma

value of parameter.

lower.tail

logical; if TRUE (default). probabilites are P[X ≤ x], otherwise P[X > x].

log.p

logical; if FALSE (default), probabilities are expected in p, otherwise log[probabilities] are expected.

Author(s)

CASTRO, M. O.; MONTALVO, G. S. A.

Examples

## Quantile Function

## A value
qglindley(0.59, alpha = 2, beta = 5, gamma = 3)

## A vector
qglindley(c(0.50, 0.75), alpha = 2, beta = 5, gamma = 3)

matheuscastro43/finiteMix documentation built on March 30, 2022, 12:49 p.m.