|
4 | 4 | "cell_type": "markdown", |
5 | 5 | "metadata": {}, |
6 | 6 | "source": [ |
7 | | - "## Graph Probability Density Function" |
| 7 | + "" |
8 | 8 | ] |
9 | 9 | }, |
10 | 10 | { |
11 | 11 | "cell_type": "markdown", |
12 | 12 | "metadata": {}, |
13 | 13 | "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 (μ)." |
15 | 15 | ] |
16 | 16 | }, |
17 | 17 | { |
18 | 18 | "cell_type": "markdown", |
19 | 19 | "metadata": {}, |
20 | 20 | "source": [ |
21 | | - "" |
| 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" |
22 | 29 | ] |
23 | 30 | }, |
24 | 31 | { |
25 | 32 | "cell_type": "markdown", |
26 | 33 | "metadata": {}, |
27 | 34 | "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. " |
29 | 36 | ] |
30 | 37 | }, |
31 | 38 | { |
|
45 | 52 | "metadata": {}, |
46 | 53 | "outputs": [], |
47 | 54 | "source": [ |
48 | | - "import scipy.integrate as integrate\n", |
49 | 55 | "import scipy.special as special\n", |
50 | 56 | "from scipy.integrate import quad\n", |
51 | 57 | "import numpy as np\n", |
|
1260 | 1266 | "\n", |
1261 | 1267 | "fig.savefig('images/68_95_99_rule.png', dpi = 1200)" |
1262 | 1268 | ] |
| 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 | + "" |
| 1289 | + ] |
| 1290 | + }, |
| 1291 | + { |
| 1292 | + "cell_type": "code", |
| 1293 | + "execution_count": null, |
| 1294 | + "metadata": {}, |
| 1295 | + "outputs": [], |
| 1296 | + "source": [] |
1263 | 1297 | } |
1264 | 1298 | ], |
1265 | 1299 | "metadata": { |
|
0 commit comments