Merge pull request #222 from tthomto/master
correcting the math in covariance example - missing fraction.
This commit is contained in:
commit
de5f6eda77
@ -448,8 +448,8 @@
|
||||
"$$\\begin{aligned}\n",
|
||||
"\\sigma_{H,W} &= \\mathbb E\\big[(H-\\mu_H)(W-\\mu_W)\\big] \\\\\n",
|
||||
"&= \\frac{1}{N}\\sum_{i=1}^n (H_i-\\mu_H)(W_i-\\mu_W) \\\\\n",
|
||||
"&= (1.8-1.8)(70.1-73.5) + (2-1.8)(91.2-73.5) + (1.7-1.8)(59.5-73.5)\\, +\\\\\n",
|
||||
"&\\, \\, \\, \\, \\, (1.9-1.8)(93.2-73.5) + (1.6-1.8)(53.5-73.5) \\\\\n",
|
||||
"&= \\frac{1}{5}[(1.8-1.8)(70.1-73.5) + (2-1.8)(91.2-73.5) + (1.7-1.8)(59.5-73.5)\\, +\\\\\n",
|
||||
"&\\, \\, \\, \\, \\, (1.9-1.8)(93.2-73.5) + (1.6-1.8)(53.5-73.5)] \\\\\n",
|
||||
"&= 2.18\n",
|
||||
"\\end{aligned}$$\n",
|
||||
"\n",
|
||||
|
Loading…
Reference in New Issue
Block a user