Docsity

Inference for Comparing Two Means - Lecture Notes | M 384G, Study notes of Mathematics

Toggle sidebar
bg1
INFERENCE FOR COMPARING TWO MEANS
There are two inference procedures for comparing means of two independent samples.
I. Pooled Two-Sample t Procedures
These are often emphasized in introductory mathematical statistics textbooks and in older
statistics books. They make the assumptions that:
• A simple random sample of size n1 is taken from a normal population with unknown
mean µ1, and an independent simple random sample of size n2 is taken from another
normal population with unknown mean µ2.
• The two populations have the same (unknown) standard deviation σ.
The test statistic used is
t =
( ) ( )x x
sn n
p
1 2 1 2
1 2
1 1
− − −
+
µ µ
,
where sp is the pooled standard deviation
sn s n s
n n
p=− + −
+ −
( ) ( )
1 1
22 2
2
1 2
1 1
2
Under the assumptions of independence and equal population standard deviations, this
statistic has a t -distribution with n1 + n2 -2 degrees of freedom.
The pooled t procedures were common before statistical computer software was available
because they are relatively easy to use. However, there are problems involved in using
them:
• The assumption of equal standard deviations is hard to verify in most cases. (In
particular, statistical tests for equal variances are not robust to departures from
normality, even with large sample sizes.)
• When sample sizes are quite different, the pooled t procedures are not robust to
unequal standard deviations.
• Unequal standard deviations are common in real data. (e.g., data sets with large
means tend to have large standard deviations).
pf2

Partial preview of the text

Download Inference for Comparing Two Means - Lecture Notes | M 384G and more Study notes Mathematics in PDF only on Docsity!

INFERENCE FOR COMPARING TWO MEANS

There are two inference procedures for comparing means of two independent samples.

Pooled Two-Sample t Procedures I.

These are often emphasized in introductory mathematical statistics textbooks and in older

statistics books. They make the assumptions that:

is taken from a normal population with unknown^1 A simple random sample of size n •

is taken from another^2 simple random sample of size n independent , and an^1 μ mean

.^2 μ normal population with unknown mean

.σ standard deviation unknown) ( same The two populations have the •

The test statistic used is

t = ) ( ) x x (

s

n n p

2 1 2 1

2 1

1 1

− − −

μ μ

pooled standard deviation is the^ p where s

s s n s n

n n =^ p − + −

) (^1 )^1 (

2

2 2 2

2 1

1 1

Under the assumptions of independence and equal population standard deviations, this

-2 degrees of freedom.^2 + n^1 statistic has a t -distribution with n

The pooled t procedures were common before statistical computer software was available

because they are relatively easy to use. However, there are problems involved in using

them:

The assumption of equal standard deviations is hard to verify in most cases. (In •

particular, statistical tests for equal variances are not robust to departures from

normality, even with large sample sizes.)

When sample sizes are quite different, the pooled t procedures are not robust to •

unequal standard deviations.

Unequal standard deviations are common in real data. (e.g., data sets with large •

means tend to have large standard deviations).

Thus unless there is good reason to believe that the standard deviations are equal or

unless the sample sizes are very close, it is wise to abandon the pooled procedures in

. favor of the procedures described below

Unpooled Two-Sample t Procedures II.

These make the assumptions that:

is taken from a normal population with unknown^1 A simple random sample of size n •

is taken from another^2 simple random sample of size n independent , and an^1 μ mean

.^2 μ normal population with unknown mean

No assumption about the standard deviations of the two populations is made.

The test statistic used is

t = ) ( ) x x (

s

n s

n

2 1 2 1

1 2

1 2 2

2

μ μ

is the standard deviation of^2 is the standard deviation of the first sample and s^1 where s

the second sample.

have a t distribution. However, it has a approximate t distribution not This statistic does

with degrees of freedom

df =

s

n

s

n

n s

n n s

n

1 2

1

2 2

2

2

1 1 2

1

2

2 2 2

2

2

This approximation is used by most statistical software for two-sample procedures. It is

reasonably accurate when both sample sizes are at least 5. (Note: the df is usually not a

whole number. However, t distributions are still defined in terms of their probability

density functions for non-integer degrees of freedom.)