dgammamixdpareto: The gamma mixture discrete Pareto distribution (GMDP)

Description Usage Arguments Details Value References Examples

View source: R/GMDP_distribution.R

Description

Density function for gamma mixture discrete Pareto distribution with parameters α >0, β > 0, δ ≥ 0 and p in (0,1).

Usage

1
dgammamixdpareto(data, alpha, beta, delta, p, log.p = FALSE)

Arguments

data

vector (X,N) representing observation from GMDP model.

alpha

numeric parameter which must be greater than 0.

beta

numeric parameter which must be greater than 0.

delta

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

p

numeric parameter between 0 and 1.

log.p

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

Details

dgammamixdpareto is the density function of GMDP model.

Value

vector of densities.

References

Amponsah, C. K., Kozubowski, T. J. and Panorska, A. K. (2019). A bivariate distribution with gamma mixture discrete Pareto margins . In print. https://scholarworks.unr.edu/bitstream/handle/11714/2065/Amponsah_unr_0139M_12378.pdf?sequence=1&isAllowed=y

Examples

1
2
3
data.df<-rgammamixdpareto(20,alpha=1.5, beta=2, delta=0.1, p=0.3)
den<- dgammamixdpareto(data.df,alpha=1.5, beta=2, delta=0.1, p=0.3)
den

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