Skip to content

Commit 62e55df

Browse files
committed
fix: use correct alternative hypothesis
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c49f8e2 commit 62e55df

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

lib/node_modules/@stdlib/stats/base/ztest/two-sample/results/to-string/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The function supports the following options:
8181
8282
Two-sample Z-test
8383
84-
Alternative hypothesis: True mean is less than 1.0
84+
Alternative hypothesis: True difference in means is less than 1.0
8585
8686
pValue: 0.0406
8787
statistic: 9.9901

lib/node_modules/@stdlib/stats/base/ztest/two-sample/results/to-string/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ interface Options {
9999
*
100100
* Two-sample Z-test
101101
*
102-
* Alternative hypothesis: True mean is less than 1.0
102+
* Alternative hypothesis: True difference in means is less than 1.0
103103
*
104104
* pValue: 0.0406
105105
* statistic: 9.9901

lib/node_modules/@stdlib/stats/base/ztest/two-sample/results/to-string/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var format = require( '@stdlib/string/format' );
4040
*
4141
* Two-sample Z-test
4242
*
43-
* Alternative hypothesis: True mean is less than 1.0
43+
* Alternative hypothesis: True differences in means is less than 1.0
4444
*
4545
* pValue: 0.0406
4646
* statistic: 9.9901
@@ -124,7 +124,7 @@ function toString( results, opts ) { // eslint-disable-line stdlib/no-redeclare
124124
'',
125125
results.method,
126126
'',
127-
format( 'Alternative hypothesis: True mean is %s %0.'+dgts+'f', alt, results.nullValue ),
127+
format( 'Alternative hypothesis: True difference in means is %s %0.'+dgts+'f', alt, results.nullValue ),
128128
'',
129129
format( ' pValue: %0.'+dgts+'f', results.pValue ),
130130
format( ' statistic: %0.'+dgts+'f', results.statistic ),

lib/node_modules/@stdlib/stats/base/ztest/two-sample/results/to-string/test/test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tape( 'the function throws an error if provided a `digits` option which is not a
9999
}
100100
});
101101

102-
tape( 'the function throws an error if provided a `digits` option which is not a boolean', function test( t ) {
102+
tape( 'the function throws an error if provided a `decision` option which is not a boolean', function test( t ) {
103103
var results;
104104
var values;
105105
var i;
@@ -153,7 +153,7 @@ tape( 'the function serializes a results object to a string (rejected)', functio
153153
'',
154154
'Two-sample Z-test',
155155
'',
156-
'Alternative hypothesis: True mean is not equal to 0.0000',
156+
'Alternative hypothesis: True difference in means is not equal to 0.0000',
157157
'',
158158
' pValue: 0.0132',
159159
' statistic: 2.4773',
@@ -190,7 +190,7 @@ tape( 'the function serializes a results object to a string (not rejected)', fun
190190
'',
191191
'Two-sample Z-test',
192192
'',
193-
'Alternative hypothesis: True mean is not equal to 0.0000',
193+
'Alternative hypothesis: True difference in means is not equal to 0.0000',
194194
'',
195195
' pValue: 0.0132',
196196
' statistic: 2.4773',
@@ -227,7 +227,7 @@ tape( 'the function serializes a results object to a string (two-sided)', functi
227227
'',
228228
'Two-sample Z-test',
229229
'',
230-
'Alternative hypothesis: True mean is not equal to 0.0000',
230+
'Alternative hypothesis: True difference in means is not equal to 0.0000',
231231
'',
232232
' pValue: 0.0132',
233233
' statistic: 2.4773',
@@ -264,7 +264,7 @@ tape( 'the function serializes a results object to a string (less)', function te
264264
'',
265265
'Two-sample Z-test',
266266
'',
267-
'Alternative hypothesis: True mean is less than 0.0000',
267+
'Alternative hypothesis: True difference in means is less than 0.0000',
268268
'',
269269
' pValue: 0.0132',
270270
' statistic: 2.4773',
@@ -301,7 +301,7 @@ tape( 'the function serializes a results object to a string (greater)', function
301301
'',
302302
'Two-sample Z-test',
303303
'',
304-
'Alternative hypothesis: True mean is greater than 0.0000',
304+
'Alternative hypothesis: True difference in means is greater than 0.0000',
305305
'',
306306
' pValue: 0.0132',
307307
' statistic: 2.4773',
@@ -340,7 +340,7 @@ tape( 'the function supports displaying the test decision (decision=true)', func
340340
'',
341341
'Two-sample Z-test',
342342
'',
343-
'Alternative hypothesis: True mean is not equal to 0.0000',
343+
'Alternative hypothesis: True difference in means is not equal to 0.0000',
344344
'',
345345
' pValue: 0.0132',
346346
' statistic: 2.4773',
@@ -379,7 +379,7 @@ tape( 'the function supports not displaying the test decision (decision=false)',
379379
'',
380380
'Two-sample Z-test',
381381
'',
382-
'Alternative hypothesis: True mean is less than 0.0000',
382+
'Alternative hypothesis: True difference in means is less than 0.0000',
383383
'',
384384
' pValue: 0.0132',
385385
' statistic: 2.4773',
@@ -416,7 +416,7 @@ tape( 'the function supports specifying the number of displayed digits (digits=2
416416
'',
417417
'Two-sample Z-test',
418418
'',
419-
'Alternative hypothesis: True mean is not equal to 0.00',
419+
'Alternative hypothesis: True difference in means is not equal to 0.00',
420420
'',
421421
' pValue: 0.01',
422422
' statistic: 2.48',

0 commit comments

Comments
 (0)