Skip to content

Commit c1718bf

Browse files
committed
add large brackets to nmixture in vignette
1 parent 9a71a0a commit c1718bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vignettes/Introduction_to_nimbleEcology.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ Define $y_t$ as the number of individuals counted at the site on sampling occasi
442442

443443
The probability of the data given the parameters is:
444444
\[
445-
P(\mathbf{y} | \lambda, \mathbf{p}) = \sum_{N = 1}^\infty \lbrace{ P(N | \lambda) \prod_{t = 1}^T P(y_t | N)}\rbrace
445+
P(\mathbf{y} | \lambda, \mathbf{p}) = \sum_{N = 1}^\infty \left[ P(N | \lambda)
446+
\prod_{t = 1}^T P(y_t | N) \right]
446447
\]
447448
where $P(N | \lambda)$ is a Poisson probability and $P(y_t | N)$ is a binomial probability. That is, $y_t \sim \mbox{Binomial}(N, p_t)$, and the $y_t$s are independent.
448449

0 commit comments

Comments
 (0)