rdpareto: The discrete Pareto distribution

Description Usage Arguments Details Value References Examples

View source: R/discrete_pareto.R

Description

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

Usage

1
rdpareto(n, delta, p)

Arguments

n

size of sample.

delta

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

p

numeric parameter between 0 and 1.

Details

rdpareto generates random sample from discrete Pareto distribution.

Value

vector of samples generate from discrete Pareto distribution.

References

Buddana, A. and Kozubowski, T. J. (2014). Discrete Pareto distribution. Journal of Economics and Quality Control, 29(2):143-156. https://doi.org/10.1515/eqc-2014-0014

Examples

1
2
N<-rdpareto(20, delta=0.2, p=0.3)
N

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