mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
bpo-36018: Add documentation link to "random variable" (GH-12114)
https://bugs.python.org/issue36018
This commit is contained in:
parent
f684d83d86
commit
9add4b3317
1 changed files with 7 additions and 5 deletions
|
@ -471,9 +471,11 @@ A single exception is defined:
|
||||||
:class:`NormalDist` objects
|
:class:`NormalDist` objects
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
A :class:`NormalDist` is a a composite class that treats the mean and standard
|
:class:`NormalDist` is a tool for creating and manipulating normal
|
||||||
deviation of data measurements as a single entity. It is a tool for creating
|
distributions of a `random variable
|
||||||
and manipulating normal distributions of a random variable.
|
<http://www.stat.yale.edu/Courses/1997-98/101/ranvar.htm>`_. It is a
|
||||||
|
composite class that treats the mean and standard deviation of data
|
||||||
|
measurements as a single entity.
|
||||||
|
|
||||||
Normal distributions arise from the `Central Limit Theorem
|
Normal distributions arise from the `Central Limit Theorem
|
||||||
<https://en.wikipedia.org/wiki/Central_limit_theorem>`_ and have a wide range
|
<https://en.wikipedia.org/wiki/Central_limit_theorem>`_ and have a wide range
|
||||||
|
@ -530,7 +532,7 @@ of applications in statistics, including simulations and hypothesis testing.
|
||||||
|
|
||||||
Using a `probability density function (pdf)
|
Using a `probability density function (pdf)
|
||||||
<https://en.wikipedia.org/wiki/Probability_density_function>`_,
|
<https://en.wikipedia.org/wiki/Probability_density_function>`_,
|
||||||
compute the relative likelihood that a random sample *X* will be near
|
compute the relative likelihood that a random variable *X* will be near
|
||||||
the given value *x*. Mathematically, it is the ratio ``P(x <= X <
|
the given value *x*. Mathematically, it is the ratio ``P(x <= X <
|
||||||
x+dx) / dx``.
|
x+dx) / dx``.
|
||||||
|
|
||||||
|
@ -544,7 +546,7 @@ of applications in statistics, including simulations and hypothesis testing.
|
||||||
|
|
||||||
Using a `cumulative distribution function (cdf)
|
Using a `cumulative distribution function (cdf)
|
||||||
<https://en.wikipedia.org/wiki/Cumulative_distribution_function>`_,
|
<https://en.wikipedia.org/wiki/Cumulative_distribution_function>`_,
|
||||||
compute the probability that a random sample *X* will be less than or
|
compute the probability that a random variable *X* will be less than or
|
||||||
equal to *x*. Mathematically, it is written ``P(X <= x)``.
|
equal to *x*. Mathematically, it is written ``P(X <= x)``.
|
||||||
|
|
||||||
Instances of :class:`NormalDist` support addition, subtraction,
|
Instances of :class:`NormalDist` support addition, subtraction,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue