Skip to content

Commit 9dd10f3

Browse files
authored
Fix documentation forestplot (#2385)
In the forestplot the central points are the median not the mean. At least, this is what it seems from the code of forest plot. Furthermore, I have fixed a typo in the formula
1 parent eb692cb commit 9dd10f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arviz/plots/forestplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def plot_forest(
5555
Specify the kind of plot:
5656
5757
* The ``kind="forestplot"`` generates credible intervals, where the central points are the
58-
estimated posterior means, the thick lines are the central quartiles, and the thin lines
59-
represent the :math:`100\times`(`hdi_prob`)% highest density intervals.
58+
estimated posterior median, the thick lines are the central quartiles, and the thin lines
59+
represent the :math:`100\times(hdi\_prob)\%` highest density intervals.
6060
* The ``kind="ridgeplot"`` option generates density plots (kernel density estimate or
6161
histograms) in the same graph. Ridge plots can be configured to have different overlap,
6262
truncation bounds and quantile markers.

0 commit comments

Comments
 (0)