Manual

Functions and commands 369
Mode: Specifies which alternative hypothesis to use:
1: <
0
2: >
0
3:
0
Example:
HypT1mean(0.461368, 0.2776, 50, 0.5, 0.05, 1)
returns {1, -.9462…, 0.4614, 0.8277…, 1.6448…,
0.5671…}
HypT2mean The two-sample T-test for means. Returns a list containing (in
order):
0 or 1 to reject or fail to reject the null hypothesis
The test T-value
The test value
The upper-tail probability
The degrees of freedom
The upper critical T-value associated with the input α-level
The critical value of associated with the critical T-
value
HypT2mean((x
1
,x
2
,s
1
,s
2
n
1
,n
2
,pooled,mode)
Pooled: Specifies whether or not the samples are pooled
0: not pooled
1: pooled
Mode: Specifies which alternative hypothesis to use:
1:
1
<
2
2:
1
>
2
3:
1
2
Example:
HypT2mean(0.461368, 0.522851, 0.2776,
0.2943,50, 50, 0.05, 0, 1)
returns {1, -1.0746…,
-0.0614…, 0.8574…, 97.6674…, 1.6606…, 0.0335…}
x
x