detgamma: The Exponentially Tilted Gamma (ETG) distribution

Description Usage Arguments Details Value References Examples

View source: R/Exp_Tilted_Gamma.R

Description

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

Usage

1
detgamma(X, alpha, beta, K, 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

log.p

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

Details

detgamma gives the probability density(ies).

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 <- detgamma(seq(0.1,5,0.1),alpha=0.2,beta=10, K=0.2)
prob

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