Page on RPubs: http://rpubs.com/wush978/RPPGen

Notation

Homogeneous Poisson Process

Definition

$$P[N(t) = k] = \frac{e^{-\lambda \tau} (\lambda \tau)^k}{k!}$$

$\lambda$ is called intensity.

Generator

The following r code generates the homogeneous poisson process with intensity lambda.

library(RPPGen)
gen_homo_poisson(1, 40)


wush978/RPPGen documentation built on May 4, 2019, 12:01 p.m.