Stats

apply_test_function(idata, func[, group, ...])

Apply a Bayesian test function to an InferenceData object.

compare(dataset_dict[, ic, method, ...])

Compare models based on PSIS-LOO loo or WAIC waic cross-validation.

hdi(ary[, hdi_prob, circular, multimodal, ...])

Calculate highest density interval (HDI) of array for given probability.

kde(x[, circular])

One dimensional density estimation.

loo(data[, pointwise, var_name, reff, scale])

Compute Pareto-smoothed importance sampling leave-one-out cross-validation (PSIS-LOO-CV).

loo_pit([idata, y, y_hat, log_weights])

Compute leave one out (PSIS-LOO) probability integral transform (PIT) values.

psislw(log_weights[, reff])

Pareto smoothed importance sampling (PSIS).

r2_score(y_true, y_pred)

R² for Bayesian regression models.

summary(data[, var_names, filter_vars, ...])

Create a data frame with summary statistics.

waic(data[, pointwise, var_name, scale, ...])

Compute the widely applicable information criterion.