The Pearson residuals (RP) test

Pearson residuals can be used for both spatial and space-time point process models. The Pearson residual is a normalized version of the raw residual, which is defined simply as the number of points in a bin minus the expected number of points in that bin.