@zukhruf/statistics 0.8.204 → 0.8.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"holm.d.ts","sourceRoot":"","sources":["../../src/multiple-testing/holm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"holm.d.ts","sourceRoot":"","sources":["../../src/multiple-testing/holm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAY5E,qBAAa,IAAK,YAAW,sBAAsB;IACjD,MAAM,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAW3C;CACF"}
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
// p-values by n - k + 1, takes the running maximum in that order, so an
|
|
4
4
|
// adjusted value is never below the one before it, and caps each value at 1.
|
|
5
5
|
// A test is significant at level alpha when its adjusted value is at most
|
|
6
|
-
// alpha
|
|
7
|
-
//
|
|
6
|
+
// alpha, p <= alpha, as a level-alpha test rejects (Casella and Berger 2002,
|
|
7
|
+
// 8.3.26) and as statsmodels decides: its Holm step rejects where
|
|
8
|
+
// p <= alpha / (n - k + 1), which is the adjusted value <= alpha. These are
|
|
9
|
+
// the values of statsmodels 0.15.0 multipletests(pValues, method="holm")[1],
|
|
10
|
+
// to the last bit (ADR 0003).
|
|
8
11
|
export class Holm {
|
|
9
12
|
adjust(pValues) {
|
|
10
13
|
const order = pValues
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"holm.js","sourceRoot":"","sources":["../../src/multiple-testing/holm.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,2EAA2E;AAC3E,wEAAwE;AACxE,6EAA6E;AAC7E,0EAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"holm.js","sourceRoot":"","sources":["../../src/multiple-testing/holm.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,2EAA2E;AAC3E,wEAAwE;AACxE,6EAA6E;AAC7E,0EAA0E;AAC1E,6EAA6E;AAC7E,kEAAkE;AAClE,4EAA4E;AAC5E,6EAA6E;AAC7E,8BAA8B;AAC9B,MAAM,OAAO,IAAI;IACf,MAAM,CAAC,OAA0B;QAC/B,MAAM,KAAK,GAAG,OAAO;aAClB,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;aACzC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;QACzC,MAAM,QAAQ,GAAa,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;QAClE,IAAI,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;QACvC,KAAK,MAAM,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;YACvD,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;YAC3D,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zukhruf/statistics",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.206",
|
|
4
4
|
"description": "The percentile bootstrap, NumPy's quantile methods, and the sum, mean, nanmean and std of NumPy in JavaScript, to the last bit: resamples with a random generator that the caller gives, the percentile interval of their statistic, and NumPy's pairwise sum.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"@stdlib/blas-ext-base-gsumpw": "^0.3.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@zukhruf/parameterized-test": "^0.8.
|
|
46
|
+
"@zukhruf/parameterized-test": "^0.8.206"
|
|
47
47
|
}
|
|
48
48
|
}
|