Skip to content

Commit

Permalink
Merge fixes from @faridcher
Browse files Browse the repository at this point in the history
Resolves #14.
  • Loading branch information
mavam committed Mar 12, 2016
2 parents 37b6c98 + b0a8912 commit 24fdba3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.out
*.sw?
*.toc
*.gz
figs/*
!figs/relationships.pdf
stat-cookbook.pdf
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.4
0.2
13 changes: 10 additions & 3 deletions 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 Expand Up @@ -224,7 +231,7 @@ \subsection{Continuous Distributions}
& \frac{\Gamma\left(\frac{\nu+1}{2}\right)}
{\sqrt{\nu\pi}\Gamma\left(\frac{\nu}{2}\right)}
\left(1+\frac{x^2}{\nu}\right)^{-(\nu+1)/2}
& 0 %\; \nu > 1
& 0 \quad \nu > 1
& \begin{cases}
\displaystyle\frac{\nu}{\nu-2} & \nu > 2 \\
\infty & 1 < \nu \le 2
Expand Down Expand Up @@ -1209,7 +1216,7 @@ \section{Bayesian Inference}
\item Kernel: part of a density that depends on $\theta$
\item Posterior mean $\bar\theta_n
= \int\theta f(\theta\giv x^n)\,d\theta
= \frac{\int\theta\Lln(\theta)f(\theta)}
= \frac{\int\theta\Lln(\theta)f(\theta)d\theta}
{\int\Lln(\theta)f(\theta)\,d\theta}$
\end{itemize}

Expand Down

0 comments on commit 24fdba3

Please sign in to comment.