Skip to content

Commit ea517aa

Browse files
authored
docs: fix REPL examples in stats/ttest
PR-URL: #2707 Signed-off-by: Snehil Shah <snehilshah.989@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 9147f69 commit ea517aa

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/ttest/docs

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/ttest/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
significance level
129129

130130
// Choose custom significance level:
131-
> arr = [ 2, 4, 3, 1, 0 ];
131+
> var arr = [ 2, 4, 3, 1, 0 ];
132132
> out = {{alias}}( arr, { 'alpha': 0.01 } );
133133
> table = out.print()
134134
One-sample t-test
@@ -144,7 +144,7 @@
144144
significance level
145145

146146
// Test for a mean equal to five:
147-
> var arr = [ 4, 4, 6, 6, 5 ];
147+
> arr = [ 4, 4, 6, 6, 5 ];
148148
> out = {{alias}}( arr, { 'mu': 5 } )
149149
{
150150
rejected: false,

0 commit comments

Comments
 (0)