pypomp.core.results.PompPFilterResult

class pypomp.core.results.PompPFilterResult(method: str, execution_time: float | None, key: Array, timestamp: Timestamp = <factory>, theta: list[dict] = <factory>, 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: PompBaseResult

Result from Pomp.pfilter() method.

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 pfilter result to DataFrame.

traces()

Return traces DataFrame for this pfilter result.

Attributes

CLL_da

Conditional log-likelihoods for each unit and time point.

ESS_da

Effective Sample Size for each unit and time point.

J

The number of particles used for filtering.

filter_mean

The mean of the filtering distribution for each state variable.

prediction_mean

The mean of the predictive distribution for each state variable.

reps

The number of replicates for each parameter set.

thresh

The resampling threshold used by the filter.

logLiks

Log-likelihoods for each parameter set and replicate.

theta

The list of parameter sets used for the computation.

method

The name of the method that produced this result (e.g., 'pfilter', 'mif').

execution_time

Total execution time in seconds.

key

The JAX random key used for this execution.

timestamp

The date and time when the result was created.