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
Z = |
| o1 | – o2 | o1 | : mean of sample 1 data | |||
|
|
|
|
|
| o2 | : mean of sample 2 data | |
|
| σ 2 | σ 2 |
| ||||
|
| 1 | + | 2 |
|
| σ1 | : population standard deviation of sample 1 |
|
|
|
|
| ||||
|
| n1 | n2 | |||||
|
|
| σ2 | : population standard deviation of sample 2 | ||||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| n1 | : size of sample 1 |
|
|
|
|
|
|
| n2 | : 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, o1 value, n1 value, o2 value, n2 value
Definition of Terms
∝1 condition : population mean value test conditions (“≠” specifies
σ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)
o1 :mean of sample 1 data
n1 :size of sample 1 (positive integer)
o2 :mean of sample 2 data
n2 :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
20050501