358 Functions and commands
• 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:0 or 1 to reject or fail to reject the null hypothesis
• tZ: the test Z-value
• tP: the test proportion of successes
• prob: the lower-tail probability
• cZ: The critical Z-value associated with the input α-level
• cp1: the lower critical proportion of successes associated
with the critical Z-value
• cp2: the upper critical proportion of successes associated
with the critical Z-value
• std: the standard deviation
Example:
HypZ1prop(21, 50, 0.5, 0.05,1, "")
HypZ2prop The two-sample Z-test for comparing two proportions.
HypZ2prop(x
1
,x
2
,n
1
,n
2
,mode,
[”configuration”])
where x
1
and x
2
are the success
counts of the two samples
)
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: 0 or 1 to reject or fail to reject the null hypothesis
• tZ: the test Z-value
• tP: the test value