diff --git a/doc/source/univariate.rst b/doc/source/univariate.rst index 450e165a40..e147c65ab3 100644 --- a/doc/source/univariate.rst +++ b/doc/source/univariate.rst @@ -311,8 +311,8 @@ A `Bernoulli distribution ` .. math:: P(X = k) = \begin{cases} - p & \quad \text{for } k = 0, \\ - 1 - p & \quad \text{for } k = 1. + 1 - p & \quad \text{for } k = 0, \\ + p & \quad \text{for } k = 1. \end{cases} .. code-block:: julia @@ -443,7 +443,7 @@ A `Negative binomial distribution