20050501
2-Sample t Interval
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 = (o
1
– o
2
)– t
α
2
Right = (o
1
– o
2
)+ t
α
2
n
1
+n
2
–2
n
1
1
+
n
2
1
x
p
n–1
2
σ
n
1
+n
2
–2
n
1
1
+
n
2
1
x
p
n–1
2
σ
When the two population standard deviations are not equal (not pooled)
Left = (o
1
– o
2
)– t
df
α
2
Right = (o
1
– o
2
)+ t
df
α
2
+
n
1
x
1 n–1
2
σ
n
2
x
2 n–1
2
σ
+
n
1
x
1 n–1
2
σ
n
2
x
2 n–1
2
σ
C =
df =
1
C
2
n
1
–1
+
(1–C)
2
n
2
–1
+
n
1
x
1 n–1
2
σ
n
1
x
1 n–1
2
σ
n
2
x
2 n–1
2
σ
Command Syntax
Syntax 1 (list format)
C-Level value, List(1), List(2), Freq(1) (or 1), Freq(2) (or 1), Pooled condition (On
or Off)
* “Freq” can be omitted. Doing so sets “1” for “Freq”.
* “Pooled” can be omitted. Doing so sets “Off” for “Pooled”.
Syntax 2 (parameter format)
C-Level value, o1 value, x1
σ
n-1 value, n1 value, o2 value, x2
σ
n-1 value, n2 value,
Pooled condition (On or Off)
* “Pooled” can be omitted. Doing so sets “Off” for “Pooled”.
7-10-7
Confidence Intervals