CrossCutDistribution¶
- class CrossCutDistribution(distribution)¶
A distribution with cross-cut drawable features.
Methods
drawConditionalPDF
(referencePoint)Draw the PDF of the conditional distribution.
Draw the PDF of the marginal distribution.
- __init__(distribution)¶
Create a distribution with cross-cut drawable features.
- Parameters:
- distributionot.Distribution
A distribution.
- drawConditionalPDF(referencePoint)¶
Draw the PDF of the conditional distribution.
Within the grid, duplicate X and Y axes labels are removed, so that the minimum amount of labels are printed, reducing the risk of overlap.
Each i-th graphics of the diagonal of the plot present the conditional distribution: X | Xi=referencePoint[i].
Each (i,j)-th graphics of the diagonal of the plot present the conditional distribution: X | Xi=referencePoint[i], Xi=referencePoint[j] for i different from j.
- Parameters:
- referencePointot.Point
The conditioning point value.
- drawMarginalPDF()¶
Draw the PDF of the marginal distribution.
Within the grid, duplicate X and Y axes labels are removed, so that the minimum amount of labels are printed, reducing the risk of overlap.
Each i-th graphics of the diagonal of the plot present the marginal i-th distribution X[i].
Each (i,j)-th graphics of the diagonal of the plot present the marginal distribution (X[i], X[j]) for i different from j.