Handles the bootstrap computation and the bootstrapped p-value.
bootstrap_gof_test(obj_value, bs_obj_values, alpha, bs_gof_p_ci)A vec that has
Test Statistic
Low CI
Upper CI - BS
A double that contains the optimized objective function value.
A vec that contains the objective function values under bootstrap.
A double that indicates the confidence.
A bool that indicates whether CIs should be included or not.