From 11259dc83a517568fbbfcceccb8185ebce98b54b Mon Sep 17 00:00:00 2001 From: Adeva1 Date: Tue, 17 Jun 2025 16:49:16 -0500 Subject: [PATCH 1/2] Corrected p-value comparison for null hypothesis rejection --- 0020 Shapiro-Wilk test for Normality.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0020 Shapiro-Wilk test for Normality.ipynb b/0020 Shapiro-Wilk test for Normality.ipynb index 4118364..377c988 100644 --- a/0020 Shapiro-Wilk test for Normality.ipynb +++ b/0020 Shapiro-Wilk test for Normality.ipynb @@ -143,7 +143,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Since this p value is much larger than the significance level, we reject the null hypothesis that this sample comes from a normal distribution." + "Since this p value is much smaller than the significance level, we reject the null hypothesis that this sample comes from a normal distribution." ] }, { @@ -252,7 +252,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Since this p value is much larger than the significance level, we retain the null hypothesis that this sample comes from a normal distribution." + "Since this p value is much larger than the significance level, we accept the null hypothesis that this sample comes from a normal distribution." ] } ] From 784821ebcb6c6151f6732960f10aba800b7c46ca Mon Sep 17 00:00:00 2001 From: Adeva1 Date: Thu, 19 Jun 2025 10:00:18 -0500 Subject: [PATCH 2/2] Changed 'accepted the null hypothesis to 'fail to reject --- 0020 Shapiro-Wilk test for Normality.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0020 Shapiro-Wilk test for Normality.ipynb b/0020 Shapiro-Wilk test for Normality.ipynb index 377c988..24e3784 100644 --- a/0020 Shapiro-Wilk test for Normality.ipynb +++ b/0020 Shapiro-Wilk test for Normality.ipynb @@ -252,7 +252,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Since this p value is much larger than the significance level, we accept the null hypothesis that this sample comes from a normal distribution." + "Since this p value is much larger than the significance level, we fail to reject the null hypothesis that this sample comes from a normal distribution." ] } ]