Confidence Intervals
Command: TwoSampleTInt
Description: This command obtains the confidence interval for the difference between two population means when the population standard deviations are unknown.
The confidence interval is obtained using the following expressions.
The confidence level is 100 (1 – α)%.
When the two population standard deviations are equal (pooled)
Left = (o1 – o2)– tn1+n2 | α | xp |
| 1 |
| 1 |
| |||||
|
|
|
|
| + |
|
|
| ||||
2 |
| n1 | n2 | |||||||||
Right = (o1 – o2)+ tn1+n2 |
| α | xp | 1 | 1 | |||||||
|
|
|
| + |
| |||||||
| 2 |
| n1 | n2 |
When the two population standard deviations are not equal (not pooled)
Left = (o1 – o2)– tdf | α | x2 | ||||||||||||||||
|
|
|
|
|
|
|
|
| + |
|
|
| ||||||
2 |
|
|
|
| n1 |
| n2 | |||||||||||
Right = (o1 – o2)+ tdf |
| α | + | x2 | ||||||||||||||
| 2 |
|
| n1 |
|
| n2 | |||||||||||
df = | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| C2 |
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
| + |
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
C =
n1 + n2
Command Syntax
Syntax 1 (list format)
*“Freq” can be omitted. Doing so sets “1” for “Freq”.
*“Pooled” can be omitted. Doing so sets “Off” for “Pooled”.
Syntax 2 (parameter format)
* “Pooled” can be omitted. Doing so sets “Off” for “Pooled”.
20050501