File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
lib/node_modules/@stdlib/stats/base/ztest/one-sample/results
struct-factory/docs/types Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 18
18
19
19
// TypeScript Version: 4.1
20
20
21
+ /**
22
+ * Alternative hypothesis.
23
+ */
24
+ type Alternative = 'two-sided' | 'greater' | 'less' ;
25
+
21
26
/**
22
27
* Interface describing test results.
23
28
*/
@@ -30,7 +35,7 @@ interface Results<T> {
30
35
/**
31
36
* Alternative hypothesis.
32
37
*/
33
- alternative ?: string ;
38
+ alternative ?: Alternative ;
34
39
35
40
/**
36
41
* Significance level.
@@ -85,7 +90,7 @@ declare class ResultsStruct<T> {
85
90
/**
86
91
* Alternative hypothesis.
87
92
*/
88
- alternative : string ;
93
+ alternative : Alternative ;
89
94
90
95
/**
91
96
* Significance level.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ interface Results<T> {
30
30
/**
31
31
* Alternative hypothesis.
32
32
*/
33
- alternative ?: string ;
33
+ alternative ?: number ;
34
34
35
35
/**
36
36
* Significance level.
@@ -85,7 +85,7 @@ declare class Struct<T> {
85
85
/**
86
86
* Alternative hypothesis.
87
87
*/
88
- alternative : string ;
88
+ alternative : number ;
89
89
90
90
/**
91
91
* Significance level.
@@ -116,11 +116,6 @@ declare class Struct<T> {
116
116
* Standard error of the mean.
117
117
*/
118
118
sd : number ;
119
-
120
- /**
121
- * Test method.
122
- */
123
- method : string ;
124
119
}
125
120
126
121
/**
You can’t perform that action at this time.
0 commit comments