GitHub #154 Description of VAR inconsistent
I stated that the heights are equally probable, which they are not.
This commit is contained in:
@@ -513,7 +513,7 @@
|
||||
"\n",
|
||||
"$$\\mathit{VAR}(X) = E[(X - \\mu)^2]$$\n",
|
||||
"\n",
|
||||
"Ignoring the squaring for a moment, you can see that the variance is the *expected value* for how much the sample space $X$ varies from the mean $\\mu:$ ($X-\\mu)$. I will explain the purpose of the squared term later. We have the formula for the expected value $E[X] = \\sum\\limits_{i=1}^n p_ix_i$, and we will assume that any height is equally probable, so we can substitute that into the equation above to get\n",
|
||||
"Ignoring the squaring for a moment, you can see that the variance is the *expected value* for how much the sample space $X$ varies from the mean $\\mu:$ ($X-\\mu)$. I will explain the purpose of the squared term later. We have the formula for the expected value $E[X] = \\sum\\limits_{i=1}^n p_ix_i$ so we can substitute that into the equation above to get\n",
|
||||
"\n",
|
||||
"$$\\mathit{VAR}(X) = \\frac{1}{n}\\sum_{i=1}^n (x_i - \\mu)^2$$\n",
|
||||
" \n",
|
||||
|
||||
Reference in New Issue
Block a user