pypomp.core.results.PanelPompPFilterResult¶
- class pypomp.core.results.PanelPompPFilterResult(method: str, execution_time: float | None, key: Array, timestamp: Timestamp = <factory>, theta: PanelParameters | None = None, logLiks: DataArray = <factory>, J: int = 0, reps: int = 1, thresh: float = 0.0, CLL_da: DataArray | None = None, ESS_da: DataArray | None = None, filter_mean: DataArray | None = None, prediction_mean: DataArray | None = None)[source]¶
Bases:
PanelPompBaseResultResult from PanelPomp.pfilter() method.
Attributes
- CLL_da: DataArray | None = None¶
Conditional log-likelihoods for each unit and time point. Dimensions: (“theta_idx”, “unit”, “rep”, “time”)
- ESS_da: DataArray | None = None¶
Effective Sample Size for each unit and time point. Dimensions: (“theta_idx”, “unit”, “rep”, “time”)
- filter_mean: DataArray | None = None¶
The mean of the filtering distribution for each state variable. Dimensions: (“theta_idx”, “unit”, “rep”, “state”, “time”)
- prediction_mean: DataArray | None = None¶
The mean of the predictive distribution for each state variable. Dimensions: (“theta_idx”, “unit”, “rep”, “state”, “time”)
- theta: PanelParameters | None = None¶
The panel parameter object used for the computation.
- logLiks: DataArray¶
Log-likelihoods for each parameter set, replicate, and unit. Dimensions: (“theta_idx”, “unit”, “rep”)
- timestamp: pd.Timestamp¶
The date and time when the result was created.
Methods
CLL([average])Return conditional log-likelihoods as a DataFrame.
ESS([average])Return Effective Sample Size as a DataFrame.
__init__(method, execution_time, key, ...)merge(*results)Merge multiple result objects of the same type.
print_summary([n])Print a summary of this result.
to_dataframe([ignore_nan])Convert panel pfilter result to DataFrame.
traces()Return pfilter results formatted as traces (long format).