File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/stats/wilcoxon/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ for ( i = 0; i < arr.length; i++ ) {
3838out = wilcoxon ( arr ) ;
3939console . log ( out . print ( ) ) ;
4040/* e.g., =>
41- One-Sample Wilcoxon signed rank test
41+ One-Sample Wilcoxon signed rank test
4242
43- Alternative hypothesis: Median of `x` is not equal to 0
43+ Alternative hypothesis: Median of `x` is not equal to 0
4444
45- pValue: 0.7714
46- statistic: 2438.5
45+ pValue: 0.7714
46+ statistic: 2438.5
4747
48- Test Decision: Fail to reject null in favor of alternative at 5% significance level
48+ Test Decision: Fail to reject null in favor of alternative at 5% significance level
4949*/
5050
5151// Test whether distribution has median of five:
@@ -54,12 +54,12 @@ out = wilcoxon( arr, {
5454} ) ;
5555console . log ( out . print ( ) ) ;
5656/* e.g, =>
57- One-Sample Wilcoxon signed rank test
57+ One-Sample Wilcoxon signed rank test
5858
59- Alternative hypothesis: Median of `x` is not equal to 5
59+ Alternative hypothesis: Median of `x` is not equal to 5
6060
61- pValue: 0.0529
62- statistic: 1961.5
61+ pValue: 0.0529
62+ statistic: 1961.5
6363
64- Test Decision: Fail to reject null in favor of alternative at 5% significance level
64+ Test Decision: Fail to reject null in favor of alternative at 5% significance level
6565*/
You can’t perform that action at this time.
0 commit comments