From 6208fe893127d0c435f23dcd0866e90d283104c4 Mon Sep 17 00:00:00 2001 From: GStechschulte Date: Fri, 17 Nov 2023 09:36:22 +0100 Subject: [PATCH] return data and idata for demonstration purposes --- bambi/interpret/effects.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bambi/interpret/effects.py b/bambi/interpret/effects.py index 2acd4b8ed..c2effdeb5 100644 --- a/bambi/interpret/effects.py +++ b/bambi/interpret/effects.py @@ -713,7 +713,8 @@ def comparisons( # early return since 'PredictiveDifferences' does not need to be called if return_idata: - return get_posterior(response.name_obs, idata, comparisons_data) + # return get_posterior(response.name_obs, idata, comparisons_data) + return comparisons_data, idata # returns empty array if model predictions do not have multiple dimensions response_dim_key = response.name + "_dim"