bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-… · python/cpython@41f4dc3 (original) (raw)

`@@ -734,10 +734,10 @@ of applications in statistics.

`

734

734

`` :class:NormalDist readily solves classic probability problems.

``

735

735

``

736

736

`` For example, given `historical data for SAT exams

``

737

``

`` -

https://blog.prepscholar.com/sat-standard-deviation`_ showing that scores

``

738

``

`-

are normally distributed with a mean of 1060 and a standard deviation of 192,

`

739

``

`-

determine the percentage of students with test scores between 1100 and

`

740

``

`-

1200, after rounding to the nearest whole number:

`

``

737

`` +

https://nces.ed.gov/programs/digest/d17/tables/dt17_226.40.asp`_ showing

``

``

738

`+

that scores are normally distributed with a mean of 1060 and a standard

`

``

739

`+

deviation of 195, determine the percentage of students with test scores

`

``

740

`+

between 1100 and 1200, after rounding to the nearest whole number:

`

741

741

``

742

742

`.. doctest::

`

743

743

``

`@@ -781,7 +781,7 @@ For example, an open source conference has 750 attendees and two rooms with a

`

781

781

`500 person capacity. There is a talk about Python and another about Ruby.

`

782

782

`In previous conferences, 65% of the attendees preferred to listen to Python

`

783

783

`talks. Assuming the population preferences haven't changed, what is the

`

784

``

`-

probability that the rooms will stay within their capacity limits?

`

``

784

`+

probability that the Python room will stay within its capacity limits?

`

785

785

``

786

786

`.. doctest::

`

787

787

``