From a82d862bba42ac8d86714bd0a3f674014a162262 Mon Sep 17 00:00:00 2001 From: Bert Van Vreckem Date: Mon, 21 Aug 2023 09:02:24 +0200 Subject: [PATCH] Fix typo (credit: Burak Mikail Balci) --- 3-central-limit-testing/demo-hypothesis-testing.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 },