Functions and commands 359
• 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-value
• cp2: The upper critical value of associated with the
critical Z-value
Example:
HypZ2prop(21, 26, 50, 50, 0.05, 1, "")
HypT1mean The one-sample t-test for a mean.
HypT1mean( ,s,n,
0
,mode,[”configuration”])
Mode: Specifies which alternative hypothesis to use:
• 1: <
0
• 2: >
0
• 3: ≠
0
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
• tT: the test T-value
• tM: the input value
• prob: the lower-tail probability
• df: the degrees of freedom
• cT: the critical T-value associated with the input α-level
• cx1: the lower critical value of the mean associated with
the critical T-value
• cx2: the upper critical value of the mean associated with
the critical T-value
Example:
HypT1mean(0.461368, 0.2776, 50, 0.5, 0.05, 1,
"")
x
x