pypomp.PanelPomp.ESS

PanelPomp.ESS(index: int = -1, average: bool = False) DataFrame

Get Effective Sample Size for the specified history index.

Parameters:
  • index (int, optional) – History index. Defaults to -1 (the last result).

  • average (bool, optional) – Whether to average ESS values over replicates. Defaults to False.

Returns:

Tidy DataFrame of ESS values. The columns appear in the following order:

  1. theta_idx: The index of the parameter set.

  2. unit: The unit identifier.

  3. rep: The replicate index (only if average=False).

  4. time: The observation time point.

  5. ESS: The Effective Sample Size value.

Return type:

pd.DataFrame