diff --git a/3-central-limit-testing/demo-hypothesis-testing.ipynb b/3-central-limit-testing/demo-hypothesis-testing.ipynb index 3f2d2fa..7173955 100644 --- a/3-central-limit-testing/demo-hypothesis-testing.ipynb +++ b/3-central-limit-testing/demo-hypothesis-testing.ipynb @@ -406,7 +406,7 @@ "outputs": [], "source": [ "# Remark that we use the t-distribution here!\n", - "p = p = stats.t.sf(sm, loc=m0, scale=ss/np.sqrt(n), df=n-1)\n", + "p = stats.t.sf(sm, loc=m0, scale=ss/np.sqrt(n), df=n-1)\n", "print(\"p-value: %.5f\" % p)\n", "if(p < a):\n", " print(\"p < a: reject H0\")\n", @@ -527,7 +527,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.2" + "version": "3.11.4" }, "orig_nbformat": 2 },