zTest
Catalog >
(Data list input)
zTest μ0,σ,v,n[,Hypoth]
(Summary stats input)
Performs a z test with frequency freqlist. A
summary of results is stored in the
stat.results variable. (See page 172.)
Test H
0
: μ = μ0, against one of the
following:
For H
a
: μ < μ0, set Hypoth<0
For H
a
: μ ≠ μ0 (default), set Hypoth=0
For H
a
: μ > μ0, set Hypoth>0
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 232.
Output variable Description
stat.z
(x − μ0) / (σ / sqrt(n))
stat.P Value Least probability at which the null hypothesis can be rejected
stat.x
Sample mean of the data sequence inList
stat.sx
Sample standard deviation of the data sequence. Only returned for Data input.
stat.n Size of the sample
zTest_1Prop
Catalog >
Output variable Description
stat.p0 Hypothesized population proportion
stat.z Standard normal value computedfor the proportion
stat.PVal Smallest level of significance at whichthe null hypothesis can be rejected
stat.Ç Estimated sample proportion
stat.n Size of the sample
zTest_2Prop
Catalog >
zTest_2Prop x1,n1,x2,n2[,Hypoth]
Alphabetical Listing 203