Skip to content

Commit

Permalink
Fix typo (credit: Burak Mikail Balci)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertvv committed Aug 21, 2023
1 parent 6b9f8c6 commit a82d862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3-central-limit-testing/demo-hypothesis-testing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -527,7 +527,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.11.4"
},
"orig_nbformat": 2
},
Expand Down

0 comments on commit a82d862

Please sign in to comment.