204 Alphabetical Listing
zTest_2Prop
Catalog >
Computes a two-proportion z test. A
summary of results is stored in the
stat.results variable. (See page 172.)
x1 and x2 are non-negative integers.
Test H
0
: p1 = p2, against one of the
following:
For H
a
: p1 > p2, set Hypoth>0
For H
a
: p1 ≠ p2 (default), set Hypoth=0
For H
a
: p < p0, 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 Standard normal value computedfor the difference of proportions
stat.PVal Smallest level of significance at whichthe null hypothesis can be rejected
stat.Ç1 First sample proportion estimate
stat.Ç2 Second sample proportion estimate
stat.Ç Pooled sample proportion estimate
stat.n1, stat.n2 Number of samples takenin trials 1 and2
zTest_2Samp
Catalog >
zTest_2Samp σ
1
,σ
2
,List1,List2[,Freq1
[,Freq2[,Hypoth]]]
(Data list input)
zTest_2Samp σ
1
,σ
2
,v1,n1,v2,n2[,Hypoth]
(Summary stats input)
Computes a two-sample z test. A summary
of results is stored in the stat.results
variable. (See page 172.)
Test H
0
: μ1 = μ2, against one of the
following:
For H
a
: μ1 < μ2, set Hypoth<0
For H
a
: μ1 ≠ μ2 (default), set Hypoth=0
For H
a
: μ1 > μ2, Hypoth>0