Skip to content

Commit 24ef4fd

Browse files
committed
update langford link
1 parent 9548c3f commit 24ef4fd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/lib/stats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ exports.median = function(data) {
7777
/**
7878
* interp() computes a percentile (quantile) for a given distribution.
7979
* We interpolate the distribution (to compute quantiles, we follow method #10 here:
80-
* http://www.amstat.org/publications/jse/v14n3/langford.html).
80+
* http://jse.amstat.org/v14n3/langford.html).
8181
* Typically the index or rank (n * arr.length) may be non-integer.
8282
* For reference: ends are clipped to the extreme values in the array;
8383
* For box plots: index you get is half a point too high (see

src/traces/box/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ module.exports = {
275275
'Sets the method used to compute the sample\'s Q1 and Q3 quartiles.',
276276

277277
'The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3',
278-
'as computed using method #10 (listed on http://www.amstat.org/publications/jse/v14n3/langford.html).',
278+
'as computed using method #10 (listed on http://jse.amstat.org/v14n3/langford.html).',
279279

280280
'The *exclusive* method uses the median to divide the ordered dataset into two halves',
281281
'if the sample is odd, it does not include the median in either half -',

test/plot-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15905,7 +15905,7 @@
1590515905
"valType": "string"
1590615906
},
1590715907
"quartilemethod": {
15908-
"description": "Sets the method used to compute the sample's Q1 and Q3 quartiles. 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). The *exclusive* method 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 the median of the upper half. The *inclusive* method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.",
15908+
"description": "Sets the method used to compute the sample's Q1 and Q3 quartiles. The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3 as computed using method #10 (listed on http://jse.amstat.org/v14n3/langford.html). The *exclusive* method 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 the median of the upper half. The *inclusive* method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.",
1590915909
"dflt": "linear",
1591015910
"editType": "calc",
1591115911
"valType": "enumerated",
@@ -69496,7 +69496,7 @@
6949669496
]
6949769497
},
6949869498
"quartilemethod": {
69499-
"description": "Sets the method used to compute the sample's Q1 and Q3 quartiles. 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). The *exclusive* method 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 the median of the upper half. The *inclusive* method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.",
69499+
"description": "Sets the method used to compute the sample's Q1 and Q3 quartiles. The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3 as computed using method #10 (listed on http://jse.amstat.org/v14n3/langford.html). The *exclusive* method 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 the median of the upper half. The *inclusive* method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half.",
6950069500
"dflt": "linear",
6950169501
"editType": "calc",
6950269502
"valType": "enumerated",

0 commit comments

Comments
 (0)