Skip to content

Commit e7f4316

Browse files
authoredOct 28, 2022
Update Chapter 04 - Expectation.ipynb
missing two minus signs for the covariance matrix of the multinomial distribution.
1 parent 080d204 commit e7f4316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Chapter 04 - Expectation.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@
278278
"\\mathbb{E}(X) = np = n(p_1, \\dots, p_k)\n",
279279
"\\quad \\text{and} \\quad\n",
280280
"\\mathbb{V}(X) = \\begin{pmatrix}\n",
281-
"np_1(1 - p_1) & -np_1p_2 & \\cdots & np_1p_k \\\\\n",
282-
"-np_2p_1 & np_2(1 - p_2) & \\cdots & np_2p_k \\\\\n",
281+
"np_1(1 - p_1) & -np_1p_2 & \\cdots & -np_1p_k \\\\\n",
282+
"-np_2p_1 & np_2(1 - p_2) & \\cdots & -np_2p_k \\\\\n",
283283
"\\vdots & \\vdots & \\ddots & \\vdots \\\\\n",
284284
"-np_kp_1 & -np_kp_2 & \\cdots & np_k(1 - p_k)\n",
285285
"\\end{pmatrix} $$\n",

0 commit comments

Comments
 (0)
Please sign in to comment.