Skip to content

Commit 301e929

Browse files
author
Joseph Damiba
committed
adding reference links
1 parent 98dcce4 commit 301e929

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/python/box-plots.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ fig.show()
7373

7474
### Choosing The Algorithm For Computing Quartiles
7575

76-
By default, quartiles for box plots are computed using a linear algorithm method (see #10 listed on [http://www.amstat.org/publications/jse/v14n3/langford.html](http://www.amstat.org/publications/jse/v14n3/langford.html) for more details). However, you can also choose to use an `exclusive` or an `inclusive` algorithm to compute quartiles.
76+
By default, quartiles for box plots are computed using a linear algorithm method (see #10 listed on [http://www.amstat.org/publications/jse/v14n3/langford.html](http://www.amstat.org/publications/jse/v14n3/langford.html) and [https://en.wikipedia.org/wiki/Quartile](https://en.wikipedia.org/wiki/Quartile) for more details).
77+
78+
However, you can also choose to use an `exclusive` or an `inclusive` algorithm to compute quartiles.
7779

7880
The *exclusive* algorithm uses the median to divide the ordered dataset into two halves. If the sample is odd, it does not include the median in either half. Q1 is then the median of the lower half and Q3 is the median of the upper half.
7981

@@ -181,7 +183,9 @@ fig = go.Figure(data=[go.Box(y=[0, 1, 1, 2, 3, 5, 8, 13, 21],
181183
fig.show()
182184
```
183185

184-
### Choosing The Algorithm For Computing Quartiles
186+
### Modifying The Algorithm For Computing Quartiles
187+
188+
For an explanation of how each algorithm works, see [Choosing The Algorithm For Computing Quartiles](#choosing-the-algorithm-for-computing-quartiles).
185189

186190
```python
187191
import plotly.graph_objects as go

0 commit comments

Comments
 (0)