pgammamixdpareto: The gamma mixture discrete Pareto distribution (GMDP)

Description Usage Arguments Details Value References Examples

View source: R/GMDP_distribution.R

Description

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

Usage

1
pgammamixdpareto(data, alpha, beta, delta, p, lower.tail = TRUE, 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.

lower.tail

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

log.p

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

Details

pgammamixdpareto is the distribution function of GMDP model.

Value

vector of probabilities.

References

Amponsah, C. K., Kozubowski, T. J. and Panorska, A. K. (2019). A bivariate distribution with gamma mixture discrete Pareto marginals . 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)
prob<- pgammamixdpareto(data.df,alpha=1.5, beta=2, delta=0.1, p=0.3)
prob

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