petgamma: The Exponentially Tilted Gamma (ETG) distribution

Description Usage Arguments Details Value References Examples

View source: R/Exp_Tilted_Gamma.R

Description

Probability distribution function of ETG with parameters α,β ≥ 0 and κ \in [0,1].

Usage

1
petgamma(X, alpha, beta, K, lower.tail = TRUE, log.p = FALSE)

Arguments

X

A vector of random sample from ETG.

alpha

A shape parameter which must be numeric greater than or equal to 0.

beta

A scale parameter which must be numeric greater than or equal to 0.

K

A numeric parameter between 0 and 1

lower.tail

logical; if TRUE (default), probabilities are P(X≤q n), otherwise, $P[N> n]$.

log.p

logical; if TRUE, probabilities p are given as log(p).

Details

petgamma gives the probability distribution.

Value

vector representing densities P(X=x).

References

Amponsah, C. K. and Kozubowski, T. J. (2021). A computational approach to estimation of discrete Pareto parameters. Preprint

Examples

1
2
prob <- petgamma(seq(0.1,1,0.1),alpha=0.2,beta=10, K=0.2)
prob

camponsah/BivMixDist documentation built on Nov. 15, 2021, 3:11 a.m.