Skip to content

Commit 78c7a2c

Browse files
committed
Merge branch 'master' of https://github.com/stan-dev/docs
2 parents eb93e6a + 7ea3056 commit 78c7a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/functions-reference/unbounded_discrete_distributions.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ alternative parameterization directly in terms of the log mean.
9393

9494
The first parameterization is for $\mu \in \mathbb{R}^+$ and $\phi \in
9595
\mathbb{R}^+$, which for $n \in \mathbb{N}$ is defined as \[
96-
\text{NegBinomial2}(n \, | \, \mu, \phi) = \binom{n + \phi - 1}{y} \,
97-
\left( \frac{\mu}{\mu+\phi} \right)^{\!y} \, \left(
96+
\text{NegBinomial2}(n \, | \, \mu, \phi) = \binom{n + \phi - 1}{n} \,
97+
\left( \frac{\mu}{\mu+\phi} \right)^{\!n} \, \left(
9898
\frac{\phi}{\mu+\phi} \right)^{\!\phi} \!. \]
9999

100100
The mean and variance of a random variable $n \sim

0 commit comments

Comments
 (0)