In my previous blog post I showed how to fit power and loglinear nonhomogeneous Poisson process (NHPP) models to temporal data.

The following R code fits these same two models, but this time using the spatstat package.

Skip to content
# Tag: piecewise NHPP

## R code for fitting a nonhomogeneous temporal Poisson process model using the spatstat package

## R code for fitting a piecewise NHPP model

The following R code implements a piecewise Weibull NHPP model. In the context of repairable systems a Weibull NHPP model is also known as the Crow-AMSAA model.

Technical details of the piecewise NHPP model are given in: Guo, H., Mettas, A., Sarakakis, G., and Niu, P. (2010), *Piecewise NHPP Models with Maximum Likelihood Estimation for Repairable Systems*, Reliability and Maintainability Symposium (RAMS), 2010 Proceedings. Continue reading R code for fitting a piecewise NHPP model