pypomp.Pomp.negbin

Pomp.negbin(autoregressive: bool = False, suppress_warnings: bool = True) float

Fit a Negative Binomial benchmark model and return its log-likelihood.

Fits an independent (or AR(1)) Negative Binomial model to the observation data as a statistical baseline. Wraps pypomp.benchmarks.negbin().

Parameters:
  • autoregressive (bool, optional) – If True, fit an AR(1) Negative Binomial model instead of the i.i.d. version. Defaults to False.

  • suppress_warnings (bool, optional) – If True, suppress per-unit warnings and issue a single summary warning instead. Defaults to True.

Returns:

Sum of the per-unit Negative Binomial log-likelihoods.

Return type:

float