20021201
7-9-3
Tests
2-Sample
Z
Test
Command:
TwoSampleZTest
䡺
Description:
Tests a hypothesis relative to the population mean of two populations when the
standard deviations of the two populations are known. A 2-Sample
Z
Test is
used for normal distributions.
Z
=
o
1
–
o
2
σ
n
1
1
2
σ
n
2
2
2
+
o
1
: mean of sample 1 data
o
2
: mean of sample 2 data
σ
1
: population standard deviation of sample 1
σ
2
: population standard deviation of sample 2
n
1
: size of sample 1
n
2
: size of sample 2
Command Syntax
Syntax 1 (list format)
“
µ
1
condition”,
σ
1
value,
σ
2
value, List(1), List(2), Freq(1) (or 1), Freq(2) (or 1)
* “Freq” can be omitted. Doing so sets “1” for “Freq”.
Syntax 2 (parameter format)
“
µ
1
condition”,
σ
1
value,
σ
2
value,
o
1
value,
n
1
value,
o
2
value,
n
2
value
Definition of Terms
µ
1
condition : population mean value test conditions (“
≠
” specifies two-tail test,
“<” specifies one-tail test where sample 1 is less than sample 2, “>”
specifies one-tail test where sample 1 is greater than sample 2).
σ
1
:
population standard deviation of sample 1 (
σ
1
> 0)
σ
2
:
population standard deviation of sample 2 (
σ
2
> 0)
List(1) :
list where sample 1 data is located
List(2) :
list where sample 2 data is located
Freq(1) :
frequency of sample 1 (1 or list name)
Freq(2) :
frequency of sample 2 (1 or list name)
o
1
:
mean of sample 1 data
n
1
:
size of sample 1 (positive integer)
o
2
:
mean of sample 2 data
n
2
:
size of sample 2 (positive integer)
Input Example:
Syntax 1 (list format)
TwoSampleZTest “
≠
”,1,1,list1,list2,1,1
Syntax 2 (parameter format)
TwoSampleZTest “
≠
”,1,1,11.5,10,15,20