climepi.epimod.ParameterizedSuitabilityModel.fit_temperature_responses#

ParameterizedSuitabilityModel.fit_temperature_responses(step=None, thin=1, **kwargs_sample)[source]#

Fit the model to data.

Parameters:
  • step (callable, optional) – A callable that returns a pymc step method for sampling. If None, the default step method (DEMetropolisZ) is used.

  • thin (int, optional) – Only keep one in every thin samples. Default is 1 (no thinning).

  • **kwargs_sample (dict, optional) – Keyword arguments to pass to pymc.sample().

Returns:

dict – A dictionary with fitted trait names as keys, and arviz.InferenceData objects giving posterior distributions of response curve parameters for that trait as corresponding values.