Commit 1b0ce852 authored by Raymond Hettinger's avatar Raymond Hettinger

SF# 1635892: Fix docs for betavariate's input parameters .

parent 0682a52e
...@@ -185,7 +185,7 @@ these equations can be found in any statistics text. ...@@ -185,7 +185,7 @@ these equations can be found in any statistics text.
\begin{funcdesc}{betavariate}{alpha, beta} \begin{funcdesc}{betavariate}{alpha, beta}
Beta distribution. Conditions on the parameters are Beta distribution. Conditions on the parameters are
\code{\var{alpha} > -1} and \code{\var{beta} > -1}. \code{\var{alpha} > 0} and \code{\var{beta} > 0}.
Returned values range between 0 and 1. Returned values range between 0 and 1.
\end{funcdesc} \end{funcdesc}
......
...@@ -569,7 +569,7 @@ class Random(_random.Random): ...@@ -569,7 +569,7 @@ class Random(_random.Random):
def betavariate(self, alpha, beta): def betavariate(self, alpha, beta):
"""Beta distribution. """Beta distribution.
Conditions on the parameters are alpha > -1 and beta} > -1. Conditions on the parameters are alpha > 0 and beta > 0.
Returned values range between 0 and 1. Returned values range between 0 and 1.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment