Statistics Methods
statistics.NormalDist.overlap()
Measure the shared area of two normal probability densities, from zero to one, requiring positive standard deviations.
Formal Syntax & Structure
python syntaxpython
distribution.overlap(other)Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| other | NormalDist | Second normal distribution. |
Return Value
float
Floating-point result; finite precision and domain restrictions apply.
Working Example
Example Snippetpython
import statisticsprint(statistics.NormalDist(5, 2).overlap(statistics.NormalDist(5, 2)))