diff --git a/docs/examples/notebooks/learn/UsingCalculators.ipynb b/docs/examples/notebooks/learn/UsingCalculators.ipynb index f78f33ef05..f955384d6d 100644 --- a/docs/examples/notebooks/learn/UsingCalculators.ipynb +++ b/docs/examples/notebooks/learn/UsingCalculators.ipynb @@ -385,7 +385,7 @@ } ], "source": [ - "p_sb, p_b, p_s = asymp_calc.pvalues(teststat, sb_dist, b_dist)\n", + "p_sb, p_b, p_s = toy_calc.pvalues(teststat, sb_dist, b_dist)\n", "\n", "print(f'CL_sb = {p_sb}')\n", "print(f'CL_b = {p_b}')\n", @@ -415,7 +415,7 @@ } ], "source": [ - "p_exp_sb, p_exp_b, p_exp_s = asymp_calc.expected_pvalues(sb_dist, b_dist)\n", + "p_exp_sb, p_exp_b, p_exp_s = toy_calc.expected_pvalues(sb_dist, b_dist)\n", "\n", "print(f'exp. CL_sb = {p_exp_sb}')\n", "print(f'exp. CL_b = {p_exp_b}')\n",