Manual

Functions and commands 367
Example:
HypZ1mean(0.461368, 50, 0.5, 0.2887, 0.05, 1)
returns {1, -.9462…, 0.4614, 0.8277…, 1.6448…,
0.5671…}
HYPZ2mean The two-sample Z-test for means. Returns a list containing (in
order):
0 or 1 to reject or fail to reject the null hypothesis
The test Z-value
The test value
The upper-tail probability
The upper critical Z-value associated with the input α-level
The critical value of associated with the critical Z-
value
HypZ2mean( , , n
1
,n
2
,
1
,
2
,,mode)
Mode: Specifies which alternative hypothesis to use:
1:
1
<
2
2:
1
>
2
3:
1
2
Example:
HypZ2mean(0.461368, 0.522851, 50, 50, 0.2887,
0.2887, 0.05, 1)
returns {1, -1.0648…, -0.0614…,
0.8565…, 1.6448…, 0.0334…}
HypZ1prop The one-proportion Z-test. Returns a list containing (in order):
0 or 1 to reject or fail to reject the null hypothesis
The test Z-value
The test value
The upper-tail probability
The upper critical Z-value associated with the input α-level
The critical value of associated with the critical Z-value
HypZ1prop(x,n,
0
,,mode)
x
x
x
1
x
2