Skip to content

Commit

Permalink
Use matrix instead of scalar form for multinomial
Browse files Browse the repository at this point in the history
Expectation and variance of multinomial distribution are a matrix and
not a scalar.
  • Loading branch information
faridcher authored and mavam committed Mar 12, 2016
1 parent 3b30e26 commit b0a8912
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion stat-cookbook.tex
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ \subsection{Discrete Distributions}
(1-p+pe^s)^n \\[3ex]

Multinomial & \mult & & \dmult \quad \sum_{i=1}^k x_i = n&
np_i & np_i(1-p_i) &
\left( {\begin{array}{*{20}{c}}
{n{p_1}}\\
\vdots \\
{n{p_k}}
\end{array}} \right) & \left( {\begin{array}{*{20}{c}}
{n{p_1}(1 - {p_1})}&{ - n{p_1}{p_2}}\\
{ - n{p_2}{p_1}}& \ddots
\end{array}} \right) &
\left( \sum_{i=0}^k p_i e^{s_i} \right)^n \\[3ex]

Hypergeometric & \hyper &
Expand Down

0 comments on commit b0a8912

Please sign in to comment.