fithpp {ppdiag} | R Documentation |
Fit a homogeneous poisson process to event data
Description
Compute maximum likelihood estimator of the rate of a homogeneous Poisson process for the given events.
Usage
fithpp(events, end = max(events))
Arguments
events |
vector containing the event times. |
end |
end of observation period, starting from 0 (default is last event) |
Value
a hpp object containing the events and the estimated parameter
Examples
pois_y <- pp_hpp(lambda = 1)
events <- pp_simulate(pois_y, end = 10)
fithpp(events)
[Package ppdiag version 0.1.1 Index]