rgammamixdpareto: The gamma mixture discrete Pareto distribution (GMDP)

Description Usage Arguments Details Value References Examples

View source: R/GMDP_distribution.R

Description

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

Usage

1
rgammamixdpareto(n, alpha, beta, delta, p)

Arguments

n

size of sample.

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.

Details

rgammamixdpareto generates random samples from GMDP distribution.

Value

vector of random samples from GMDP distribution.

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
data.df<-rgammamixdpareto(20,alpha=1.5, beta=2, delta=0.1, p=0.3)
data.df

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