Functions and commands 357
Mode: Specifies which alternative hypothesis to use:
• 1:
1
<
2
• 2:
1
>
2
• 3:
1
≠
2
• Configuration: a string that controls what results are
shown and the order in which they appear. An empty
string "" displays the default: all results, including
headers. The options in the configuration string are
separated by spaces.
• h: header cells will be created
• acc: the test result, 0 or 1 to reject or fail to reject the null
hypothesis
• tZ: Test Z
• tM: the input Δ value
• prob: the lower-tail probability
• cZ: the critical Z-value associated with the input α-level
• cx1: the lower critical value of Δ associated with the
critical Z-value
• cx2: the upper critical value of Δ associated with the
critical Z-value
• std: the standard deviation
Example:
HypZ2mean(0.461368, 0.522851, 50, 50, 0.2887,
0.2887, 0.05, 1, "")
HypZ1prop The one-sample Z-test for a proportion.
HypZ1prop(x,n,
0
,,mode,
[”configuration”])
where x is the success count of the
sample
Mode: Specifies which alternative hypothesis to use:
• 1: <
0
• 2: >
0
• 3: ≠
0
x
x
x