ddpareto: The discrete Pareto distribution

Description Usage Arguments Details Value References Examples

View source: R/discrete_pareto.R

Description

Probability mass function for discrete Pareto distribution with parameters δ ≥ 0 and p in (0,1).

Usage

1
ddpareto(N, delta, p, log.p = FALSE)

Arguments

N

A vector of random sample from discrete Pareto.

delta

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

p

A numeric parameter between 0 and 1

log.p

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

Details

ddpareto gives the probability mass.

Value

vector representing probabilities P(N=n).

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
prob<-ddpareto(seq(1,10,1),delta=0.2,p=0.6)
prob

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