From 049df3ccb4d34abacd42aa8945ff23ac1df121aa Mon Sep 17 00:00:00 2001 From: AFg6K7h4fhy2 <127630341+AFg6K7h4fhy2@users.noreply.github.com> Date: Wed, 19 Feb 2025 10:21:11 -0500 Subject: [PATCH] initial commit for sbc p-values pr --- forecasttools/sbc_plots.py | 2 +- forecasttools/sbc_utils.py | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 forecasttools/sbc_utils.py diff --git a/forecasttools/sbc_plots.py b/forecasttools/sbc_plots.py index 43f68e2..7094a82 100644 --- a/forecasttools/sbc_plots.py +++ b/forecasttools/sbc_plots.py @@ -1,5 +1,5 @@ """ -Plots for the simulation based calibration +Plots for the simulation based calibration. """ import itertools diff --git a/forecasttools/sbc_utils.py b/forecasttools/sbc_utils.py new file mode 100644 index 0000000..7479bcd --- /dev/null +++ b/forecasttools/sbc_utils.py @@ -0,0 +1,8 @@ +""" +Contains utilities, including calculation of p-values, +related to the simulation based calibration functionality. +""" + + +def compute_sbc_pvalues(simulations, num_samples): + pass