Class InferNhppFit
TWO NONPARAMETRIC ESTIMATORS. The step-function estimator Lambdabar(t)
counts the arrivals in (0,t]. It is unbiased for Lambda(t) and, a Poisson
count having its mean as variance, carries the approximate pointwise interval
Lambdabar(t) -/+ z sqrt(Lambdabar(t)), whose width grows with t: from one path
the count by time t is the only information about Lambda(t), so the estimate
is NOT consistent as T grows. For simulation the piecewise-linear estimator
of Leemis (1991) interpolates it; its derivative is constant on each gap
between arrivals, which is exactly an NHPP schedule (see
NHPP.fit(double[], double)).
THE POWER LAW. Lambda(t) = (a t)^b has the closed-form maximum likelihood estimator b = N/(N ln T - sum ln T_i), a = N^(1/b)/T, and the inverse of the observed information matrix gives Wald intervals.
Port of MATLAB infer_nhpp_leemis.m and infer_nhpp_powerlaw.m.
Reference: B. L. Nelson, L. M. Leemis (2020). The ease of fitting but futility of testing a nonstationary Poisson process from one sample path. Proc. Winter Simulation Conference, 266-276; L. M. Leemis (1991). Nonparametric estimation of the cumulative intensity function for a nonhomogeneous Poisson process. Management Science 37(7), 886-900.
- Since:
- LINE 3.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOutcome ofinfer_nhpp_leemis(double[], double).static final classOutcome ofinfer_nhpp_powerlaw(double[], double). -
Method Summary
Modifier and TypeMethodDescriptionstatic InferNhppFit.LeemisResultinfer_nhpp_leemis(double[] times, double T) Leemis estimator at the knots, with the 95% interval.static InferNhppFit.LeemisResultinfer_nhpp_leemis(double[] times, double T, double[] tq, double alpha) Nonparametric integrated-rate estimate of an NHPP from one sample path.static InferNhppFit.PowerLawResultinfer_nhpp_powerlaw(double[] times, double T) Power-law fit with 95% Wald intervals.static InferNhppFit.PowerLawResultinfer_nhpp_powerlaw(double[] times, double T, double alpha) Maximum likelihood power-law NHPP fit, Lambda(t) = (a t)^b, from one sample path.
-
Method Details
-
infer_nhpp_leemis
Leemis estimator at the knots, with the 95% interval. -
infer_nhpp_leemis
public static InferNhppFit.LeemisResult infer_nhpp_leemis(double[] times, double T, double[] tq, double alpha) Nonparametric integrated-rate estimate of an NHPP from one sample path.- Parameters:
times- distinct arrival epochs in (0,T]T- the observation horizontq- query points in [0,T], or null for the knots [0, times, T]alpha- significance level of the pointwise interval- Returns:
- the step-function and piecewise-linear estimates at tq
-
infer_nhpp_powerlaw
Power-law fit with 95% Wald intervals. -
infer_nhpp_powerlaw
public static InferNhppFit.PowerLawResult infer_nhpp_powerlaw(double[] times, double T, double alpha) Maximum likelihood power-law NHPP fit, Lambda(t) = (a t)^b, from one sample path.- Parameters:
times- arrival epochs in (0,T]T- the observation horizonalpha- significance level of the Wald intervals- Returns:
- the estimates, observed information and intervals
-