Conguration: 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 conguration 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: 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)
●
1: π
1
< π
2
●
2: π
1
> π
2
●
3: π
1
≠ π
2
Conguration: 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 conguration 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: the test Z-value
●
tP: the test Δπ value
●
prob: the lower-tail probability
●
cZ: the critical Z-value associated with the input α-level
●
cp1: the lower critical value of Δπ associated with the critical Z-valueassociated with the critical Z-value
●
cp2: the upper critical value of Δπ of associated with the critical Z-value
Example:
HypZ2prop(21, 26, 50, 50, 0.05, 1, "")
396 Chapter 22 Functions and commands
Komentarze do niniejszej Instrukcji