Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f474ed3

Browse files
author
Joseph Damiba
committed
fixing up content
1 parent e247af1 commit f474ed3

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

_posts/plotly_js/statistical/box/2020-01-09-precomputed-quartiles copy.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
name: Precomputed Quartiles
2+
name: Using Precomputed Values For Quartiles
33
arrangement: horizontal
44
language: plotly_js
55
suite: box
6-
order: 13
6+
order: 14
77
sitemap: false
8+
markdown_content: |
9+
Instead of using one of the built-in algorithms to compute quartiles, you might want to precompute the values of the quartiles. This could be because you have a large data set and computing quartiles at runtime would slow down your application, or if you want to use a different algorithm than the ones that are provided. In this case, omit the `quartilemethod` attribute and pass in the values you want to use directly.
810
---
911

1012
Plotly.newPlot('myDiv', [

_posts/plotly_js/statistical/box/2020-01-09-quartile-methods.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
name: Inclusive, Exclusive, and Linear Quartiles
2+
name: Choosing the Algorithm Used To Compute Quartiles
33
arrangement: horizontal
44
language: plotly_js
55
suite: box
6-
order: 14
6+
order: 13
77
sitemap: false
88
markdown_content: |
9-
- The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3, as computed using method #10 listed on http://www.amstat.org/publications/jse/v14n3/langford.html).,
10-
- The *exclusive* method uses the median to divide the ordered dataset into two halves. If the sample is odd, it does not includes the median in either half.
11-
- The *inclusive* method also uses the median to divide the ordered dataset into two halves. If the sample is odd, it includes the median in both halves.
9+
The `quartilemethod` attribute controls the algorithm that is used to compute quartiles for box plots.
10+
11+
- The *linear* algorithm uses the 25th percentile for Q1 and 75th percentile for Q3, as computed using method #10 listed at [http://www.amstat.org/publications/jse/v14n3/langford.html](http://www.amstat.org/publications/jse/v14n3/langford.html).
12+
- The *exclusive* algorithm uses the median to divide the ordered dataset into two halves. If the sample is odd, it does not includes the median in either half.
13+
- The *inclusive* algorithm also uses the median to divide the ordered dataset into two halves. However, if the sample is odd, it includes the median in both halves.
1214
---
1315
Plotly.newPlot('myDiv', {
1416
"data": [{

0 commit comments

Comments
 (0)