Skip to contents

Prints a summary of the NHPP model results.

Usage

# S3 method for class 'nhpp'
print(x, ...)

Arguments

x

An object of class nhpp.

...

Additional arguments (not used).

Value

Invisibly returns the input object.

Examples

time <- c(200, 400, 600, 800, 1000)
event <- c(3, 5, 4, 7, 6)
result <- nhpp(time, event)
print(result)
#> Non-Homogeneous Poisson Process (NHPP)
#> ---------------------------------------
#> Model Type: Power Law 
#> Estimation Method: MLE 
#> Number of observations: 5
#> 
#> Parameters:
#>   Beta: 1.2014 (SE = 0.1181)
#>   Lambda: 0.0063
#> 
#> Goodness of Fit:
#>   Log-likelihood: 15.87
#>   AIC: -27.75
#>   BIC: -28.53