pypomp.Pomp.ESS¶
- Pomp.ESS(index: int = -1, average: bool = False) DataFrame¶
Return effective sample sizes from a particle filter run.
- Parameters:
index (int, optional) – Position in
results_historyto retrieve. Defaults to-1(the most recent run). The indexed result must be apfilter()result withESS=True.average (bool, optional) – If
True, average the ESS over replicates using arithmetic mean. Defaults toFalse.
- Returns:
Tidy DataFrame of ESS values. The columns appear in the following order:
theta_idx: The index of the parameter set.rep: The replicate index (only ifaverage=False).time: The observation time point.ESS: The Effective Sample Size value.
- Return type: