Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
14bab7ab
Commit
14bab7ab
authored
Mar 07, 2019
by
Raymond Hettinger
Committed by
Miss Islington (bot)
Mar 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NormalDist.overlap() only needs one example (GH-12218)
parent
16e6f7de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
17 deletions
+4
-17
Doc/library/statistics.rst
Doc/library/statistics.rst
+4
-17
No files found.
Doc/library/statistics.rst
View file @
14bab7ab
...
...
@@ -553,23 +553,10 @@ of applications in statistics.
Compute the `overlapping coefficient (OVL)
<http://www.iceaaonline.com/ready/wp-content/uploads/2014/06/MM-9-Presentation-Meet-the-Overlapping-Coefficient-A-Measure-for-Elevator-Speeches.pdf>`_
between two normal distributions.
Measures the agreement between two normal probability distributions.
Returns a value between 0.0 and 1.0 giving the overlapping area for
two probability density functions.
In this `example from John M. Linacre
<https://www.rasch.org/rmt/rmt101r.htm>`_ about 80% of each
distribution overlaps the other:
.. doctest::
>>> N1 = NormalDist(2.4, 1.6)
>>> N2 = NormalDist(3.2, 2.0)
>>> ovl = N1.overlap(N2)
>>> f'{ovl * 100.0 :.1f}%'
'80.4%'
between two normal distributions, giving a measure of agreement.
Returns a value between 0.0 and 1.0 giving `the overlapping area for
two probability density functions
<https://www.rasch.org/rmt/rmt101r.htm>`_.
Instances of :class:`NormalDist` support addition, subtraction,
multiplication and division by a constant. These operations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment