Skip to content

Commit 1336a2b

Browse files
committed
Updated the tutorial for reddit post
1 parent 2b4d0ab commit 1336a2b

File tree

4 files changed

+78
-10
lines changed

4 files changed

+78
-10
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Statistics/.DS_Store

0 Bytes
Binary file not shown.

Statistics/.ipynb_checkpoints/normal_Distribution_Area_Under_Curve-checkpoint.ipynb

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,35 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"## Graph Probability Density Function"
7+
"![](images/68_95_99_rule.png)"
88
]
99
},
1010
{
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"Probability Density Functions (PDF) do NOT show you the probability of events but their probability density. This notebook will show you how you can use the PDF to find the probability for a given <b>range</b> of numbers. This is basically an explanation of why the graph below makes sense. "
14+
"Most people commonly associate the normal distribution with the 68-95-99.7 rule which you can see in the image above. 68% of the data is within 1 standard deviation (σ) of the mean (μ), 95% of the data is within 2 standard deviations (σ) of the mean (μ), and 99.7% of the data is within 3 standard deviations (σ) of the mean (μ)."
1515
]
1616
},
1717
{
1818
"cell_type": "markdown",
1919
"metadata": {},
2020
"source": [
21-
"![](images/NormalDistribution.png)"
21+
"This notebook explains how those numbers were derived in the hope that they can be more interpretable for your future endeavors."
22+
]
23+
},
24+
{
25+
"cell_type": "markdown",
26+
"metadata": {},
27+
"source": [
28+
"## Graph Probability Density Function"
2229
]
2330
},
2431
{
2532
"cell_type": "markdown",
2633
"metadata": {},
2734
"source": [
28-
"The probability density function of a normal distribution with a mean (insert mean symbol) and variance (insert variance symbol) is: (INSERT EQUATION HERE)"
35+
"Probability Density Functions (PDF) do NOT show you the probability of events but their probability density. This notebook will show you how you can use the PDF to find the probability for a given <b>range</b> of numbers. This is basically an explanation of why the graph below makes sense. "
2936
]
3037
},
3138
{
@@ -45,7 +52,6 @@
4552
"metadata": {},
4653
"outputs": [],
4754
"source": [
48-
"import scipy.integrate as integrate\n",
4955
"import scipy.special as special\n",
5056
"from scipy.integrate import quad\n",
5157
"import numpy as np\n",
@@ -1260,6 +1266,34 @@
12601266
"\n",
12611267
"fig.savefig('images/68_95_99_rule.png', dpi = 1200)"
12621268
]
1269+
},
1270+
{
1271+
"cell_type": "markdown",
1272+
"metadata": {},
1273+
"source": [
1274+
"## Breaking it Down Further"
1275+
]
1276+
},
1277+
{
1278+
"cell_type": "markdown",
1279+
"metadata": {},
1280+
"source": [
1281+
"You can further break it down "
1282+
]
1283+
},
1284+
{
1285+
"cell_type": "markdown",
1286+
"metadata": {},
1287+
"source": [
1288+
"![](images/NormalDistribution.png)"
1289+
]
1290+
},
1291+
{
1292+
"cell_type": "code",
1293+
"execution_count": null,
1294+
"metadata": {},
1295+
"outputs": [],
1296+
"source": []
12631297
}
12641298
],
12651299
"metadata": {

Statistics/normal_Distribution_Area_Under_Curve.ipynb

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,35 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"## Graph Probability Density Function"
7+
"![](images/68_95_99_rule.png)"
88
]
99
},
1010
{
1111
"cell_type": "markdown",
1212
"metadata": {},
1313
"source": [
14-
"Probability Density Functions (PDF) do NOT show you the probability of events but their probability density. This notebook will show you how you can use the PDF to find the probability for a given <b>range</b> of numbers. This is basically an explanation of why the graph below makes sense. "
14+
"Most people commonly associate the normal distribution with the 68-95-99.7 rule which you can see in the image above. 68% of the data is within 1 standard deviation (σ) of the mean (μ), 95% of the data is within 2 standard deviations (σ) of the mean (μ), and 99.7% of the data is within 3 standard deviations (σ) of the mean (μ)."
1515
]
1616
},
1717
{
1818
"cell_type": "markdown",
1919
"metadata": {},
2020
"source": [
21-
"![](images/NormalDistribution.png)"
21+
"This notebook explains how those numbers were derived in the hope that they can be more interpretable for your future endeavors."
22+
]
23+
},
24+
{
25+
"cell_type": "markdown",
26+
"metadata": {},
27+
"source": [
28+
"## Graph Probability Density Function"
2229
]
2330
},
2431
{
2532
"cell_type": "markdown",
2633
"metadata": {},
2734
"source": [
28-
"The probability density function of a normal distribution with a mean (insert mean symbol) and variance (insert variance symbol) is: (INSERT EQUATION HERE)"
35+
"Probability Density Functions (PDF) do NOT show you the probability of events but their probability density. This notebook will show you how you can use the PDF to find the probability for a given <b>range</b> of numbers. This is basically an explanation of why the graph below makes sense. "
2936
]
3037
},
3138
{
@@ -45,7 +52,6 @@
4552
"metadata": {},
4653
"outputs": [],
4754
"source": [
48-
"import scipy.integrate as integrate\n",
4955
"import scipy.special as special\n",
5056
"from scipy.integrate import quad\n",
5157
"import numpy as np\n",
@@ -1260,6 +1266,34 @@
12601266
"\n",
12611267
"fig.savefig('images/68_95_99_rule.png', dpi = 1200)"
12621268
]
1269+
},
1270+
{
1271+
"cell_type": "markdown",
1272+
"metadata": {},
1273+
"source": [
1274+
"## Breaking it Down Further"
1275+
]
1276+
},
1277+
{
1278+
"cell_type": "markdown",
1279+
"metadata": {},
1280+
"source": [
1281+
"You can further break it down "
1282+
]
1283+
},
1284+
{
1285+
"cell_type": "markdown",
1286+
"metadata": {},
1287+
"source": [
1288+
"![](images/NormalDistribution.png)"
1289+
]
1290+
},
1291+
{
1292+
"cell_type": "code",
1293+
"execution_count": null,
1294+
"metadata": {},
1295+
"outputs": [],
1296+
"source": []
12631297
}
12641298
],
12651299
"metadata": {

0 commit comments

Comments
 (0)