Skip to content

Commit 02043e3

Browse files
Fix typos and trailing whitespace
1 parent 47fd61e commit 02043e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pymc/distributions/discrete.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -695,21 +695,21 @@ def NegBinom(a, m, x):
695695
p &= \frac{\alpha}{\mu + \alpha} \\
696696
n &= \alpha
697697
698-
If it is parametrized in terms of n and p, the negative binomial describes the probability to have x failures
699-
before the n-th success, given the probability p of success in each trial. and its pmf is
700-
698+
If it is parametrized in terms of n and p, the negative binomial describes the probability to have x failures
699+
before the n-th success, given the probability p of success in each trial. Its pmf is
700+
701701
.. math::
702-
702+
703703
f(x \mid n, p) =
704704
\binom{x + n - 1}{x}
705705
(p)^n (1 - p)^x
706-
706+
707707
Parameters
708708
----------
709709
alpha: float
710710
Gamma distribution shape parameter (alpha > 0).
711711
mu: float
712-
Gamma distribution mean (mu > 0).
712+
Gamma distribution mean (mu > 0).
713713
p: float
714714
Alternative probability of success in each trial (0 < p < 1).
715715
n: float

0 commit comments

Comments
 (0)