distributions {InfNet}R Documentation

Simulates random numbers from Zero-truncated Poisson distribution, exponential, Logarithmic distribution (poly-logarithmic when alpha=1), poly logarithmic distribution and power law

Description

The considered pdf for the Zero-truncated Poisson distributionis is $P(N=k)=(lambda^k*exp^{-lambda})/(k!*(1-e^{-lambda})$. The power law pdf is: $k^{-param}$

Usage

rzerotpoisson(n, p)
newrexp(n, p)
rlog(n, param)
rpoly.log(n, param)
rpower.law(n, param)

Arguments

n Sample size
p Parameter
param Parameter distribution

[Package InfNet version 0.1 Index]