Skip to content

Commit 01bf219

Browse files
authored
bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226)
* Change the source for the SAT data to a primary source. * Fix typo in the standard deviation * Clarify that the binomial probabalities are just for the Python room.
1 parent 884eb89 commit 01bf219

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/statistics.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -734,10 +734,10 @@ of applications in statistics.
734734
:class:`NormalDist` readily solves classic probability problems.
735735

736736
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:
741741

742742
.. doctest::
743743

@@ -781,7 +781,7 @@ For example, an open source conference has 750 attendees and two rooms with a
781781
500 person capacity. There is a talk about Python and another about Ruby.
782782
In previous conferences, 65% of the attendees preferred to listen to Python
783783
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?
785785

786786
.. doctest::
787787

0 commit comments

Comments
 (0)