The following R code demonstrates how to fit a nonhomogeneous Poisson process (NHPP) model to temporal data.

The R code may be used to fit 1) a NHPP model with a loglinear intensity function, with the intensity at time *t* defined by , or 2) a NHPP model with a power law intensity function, with the intensity at time *t* defined by . The latter NHPP model is sometimes referred to as the Crow-AMSAA model.

Continue reading R code for fitting a nonhomogeneous temporal Poisson process model