pypomp.panel.panel.PanelPomp.negbin¶
- PanelPomp.negbin(autoregressive: bool = False, suppress_warnings: bool = True) DataFrame¶
Fits a Negative Binomial model to the observation data for each unit and returns a DataFrame with the estimated log-likelihoods for each unit and the total.
- Parameters:
- Returns:
- A DataFrame with columns ‘unit’ and ‘logLik’ containing results for each unit
and their sum (labeled as ‘[[TOTAL]]’ in the first row).
- Return type:
pd.DataFrame