arviz.from_dict

arviz.from_dict(posterior=None, *, posterior_predictive=None, sample_stats=None, prior=None, prior_predictive=None, sample_stats_prior=None, observed_data=None, coords=None, dims=None)[source]

Convert Dictionary data into an InferenceData object.

Parameters
posteriordict
posterior_predictivedict
sample_statsdict

“log_likelihood” variable for stats needs to be here.

priordict
prior_predictivedict
observed_datadict
coordsdict[str, iterable]

A dictionary containing the values that are used as index. The key is the name of the dimension, the values are the index values.

dimsdict[str, List(str)]

A mapping from variables to a list of coordinate names for the variable.

Returns
InferenceData object