pypomp.core.pomp.Pomp.negbin

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

Fits a Negative Binomial model to the observation data and returns the log-likelihood.

This is a wrapper around pypomp.benchmarks.negbin.

Parameters:
  • autoregressive (bool, optional) – If True, fits an AR(1) model. Defaults to False (iid).

  • suppress_warnings (bool, optional) – If True, suppresses individual warnings from statsmodels/optimization and issues a summary warning instead. Defaults to True.

Returns:

The sum of the log-likelihoods.

Return type:

float