Generate diagnostic tools for different point process models, including quantile-quantile plot, ks plot, raw residual and pearson residual.
pp_diag(object, events) # S3 method for default pp_diag(object, events) # S3 method for hp pp_diag(object, events) # S3 method for mmhp pp_diag(object, events) # S3 method for mmpp pp_diag(object, events) # S3 method for hpp pp_diag(object, events)
object | a point process model |
---|---|
events | event times |
Invisibly returns NULL. Outputs plots and summary of diagnostics to console
#> #> Raw residual: 0.2583418 #> Pearson residual: 0.2583418 #> #> One-sample Kolmogorov-Smirnov test #> #> data: r #> D = 0.11131, p-value = 0.5289 #> alternative hypothesis: two-sided #>