pypomp.models.UKMeasles.PanelPomp¶
- classmethod UKMeasles.PanelPomp(units: list[str], theta: PanelParameters, model: Literal['001', '001b', '001d', '002', '002d', '003'] = '001b', interp_method: Literal['shifted_splines', 'linear'] = 'shifted_splines', first_year: int = 1950, last_year: int = 1963, dt: float = 0.0027378507871321013, clean: bool = False)[source]¶
Returns a PanelPomp object for the UK Measles data.
- Parameters:
units (list of str) – List of units to include in the panel.
theta (PanelParameters) – Parameters for the panel model.
model ({"001", "001b", "001d", "002", "002d", "003"}) – The sub-model variant to use. See the class-level documentation for details on each variant.
interp_method ({"shifted_splines", "linear"}) – The method to use to interpolate the covariates.
first_year (int) – The first year of the data to use.
last_year (int) – The last year of the data to use.
dt (float) – The time step size to use for the model.
clean (bool) – If True, uses a copy of the data with suspicious values set to np.nan.
- Returns:
A PanelPomp object for the UK Measles data.
- Return type: