From 5129d67ad36f1c67edd27d18455e1406fbe34c29 Mon Sep 17 00:00:00 2001 From: BoBernhardsson Date: Mon, 28 Sep 2015 22:08:58 -0500 Subject: [PATCH] Corrected formulas Corrected typos in descriptions of Bernoulli and Negative Binomial Distributions --- doc/source/univariate.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/univariate.rst b/doc/source/univariate.rst index 450e165a4..e147c65ab 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