• No results found

STP 226ELEMENTARY STATISTICS

N/A
N/A
Protected

Academic year: 2021

Share "STP 226ELEMENTARY STATISTICS"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

STP 226

ELEMENTARY STATISTICS

CHAPTER 10

INFERENCES FOR TWO POPULATION MEANS

10.1 The Sampling Distribution of the difference between two sample means for independent samples

 Independent samples – samples taken at random from a population and that one sample selected from one population has no bearing on the sample selected from the other population.

Sampling distribution of x

1

x

2

Suppose x is a normally distributed variable on each of two populations. Then, for independent samples of size n 1 and n 2 from two populations,

 

x1

 x

2

  1   2

( / ) ( / 2 )

2 2 1 2

2

1

1 x

n n

x

 

 

x

1

x

2

is normally distributed.

The two-sample z-procedures (two-sample z-test), known Test statistic

) / ( ) / (

) (

) (

2 2 2 1 2 1

2 2 1

1

n n

x z x

 

10.2 Inferences for two population means using independent samples: standard deviations assumed equal ( 1 2 )

We need to use sample information to estimate the common population standard deviation  . We can regard the two sample variances s 1 2 , s 2 2 as estimates for population variance  2 . And pool those estimates by weighting them according to sample size. The resulting estimate called “pooled sample variance”,

2 ) 1 ( ) 1 (

2 1

2 2 2 2 1 2 1

 

n n

s n s

s p n . By taking square root of it, we get the estimate of

population standard deviation, s

p

.

(2)

Distribution of the pooled t-statistic

Suppose x is a normally distributed variable on each of two populations and that the population standard deviations are equal. Then, for independent samples of sizes n 1 and n 2 from two populations, the variable

) / 1 ( ) / 1 (

) (

) (

2 1

2 2 1

1

n n

s x t x

p

   

has a t-distribution with df = n 1 + n 2 - 2

Where

2 ) 1 ( ) 1 (

2 1

2 2 2 2 1 1

 

n n

s n s

s p n is the pooled sample standard deviation

The pooled t-test for two population means ASSUMPTIONS

1. Independent samples

2. Normal populations or large samples

3. Equal population standard deviations ( OR n 1n 2 , 1 / 2  s 1 2 / s 2 2  2 )

STEPS

1. The null hypothesis is H 0 :  1 =  2 and the alternate hypothesis is one of the following:

H a :  1   2 (two-tailed) H a :  1 <  2 (left-tailed) H a :  1 >  2 (right-tailed)

2. Decide on the significance level, .

3. The critical value(s) are

 t /2 (two-tailed) - t  (left-tailed) z  (right-tailed)

with df = n 1 + n 2 – 2 , use Table IV to find the critical value(s).

4. Compute the value of the test statistic ( 1 / ) ( 1 / )

2 1

2 1

n n

s

x t x

p

 

where

2 ) 1 ( ) 1 (

2 1

2 2 2 2 1 1

 

n n

s n s s p n

5. If the value of the test statistic falls in the rejection region, reject H 0 ; otherwise, do not reject H 0 .

6. State the conclusion in words.

(3)

The hypothesis test is exact for normal populations and is approximately correct for large samples from non-normal populations.

The Pooled t-interval procedure for two population means ASSUMPTIONS

1. Independent samples

2. Normal populations or large samples 3. Equal population standard deviations STEPS

1. For a confidence level of 1 - , use Table IV to find t /2 with df = n 1 + n 2 – 2.

2. The end points of the confidence interval for  1 -  2 are

) / 1 ( ) / 1 ( . )

( x

1

x

2

t

/2

s

p

n

1

n

2

The confidence interval is exact for normal populations and is approximately correct for large samples from non-normal populations.

What if the assumptions are not satisfied?

1. Not independent samples: If paired, use the procedure in Section 10.4

2. Not normal and small samples: Use nonparametric method, Mann-Whitney test or Mann-Whitney confidence interval.

3. Unequal population standard deviations: If the problem satisfies assumptions 1 and 2, then use the procedure in Section 10.3.

10.3 Inferences for two population means using independent samples (standard deviations not assumed equal)

If the population standard deviations are known, use the z-interval procedure/test

) / ( ) / (

) (

) (

2 2 2 1 2 1

2 2 1

1

n n

x z x

 

Distribution of the non-pooled t-statistic

Suppose x is a normally distributed variable on each of two populations. Then, for

independent samples of sizes n 1 and n 2 from the populations, the variable

(4)

) / ( ) / (

) (

) (

2 2 2 1 2 1

2 2 1

1

n s n s

x t x

   

has approximately a t-distribution.

The degrees of freedom used is obtained from the sample data; it is

1 ) / ( 1

) / (

)]

/ ( ) / [(

2 2 2 2 2 1

2 1 2 1

2 2 2 2 1 2 1

 

 

n n s n

n s

n s n s

rounded down to the nearest integer.

 The Non-Pooled t-test for two population means ASSUMPTIONS

1. Independent samples

2. Normal populations or large samples STEPS

1. The null hypothesis is H 0 :  1 =  2 and the alternate hypothesis is one of the following:

H a :  1   2 (two-tailed) H a :  1 <  2 (left-tailed) H a :  1 >  2 (right-tailed)

2. Decide on the significance level, .

3. The critical value(s) are

 t /2 (two-tailed) - t  (left-tailed) z  (right-tailed) with df =  , where

1 ) / ( 1

) / (

)]

/ ( ) / [(

2 2 2 2 2 1

2 1 2 1

2 2 2 2 1 2 1

 

 

n n s n

n s

n s n s

rounded down to the nearest integer Use Table IV to find the critical value(s).

4. Compute the value of the test statistic

) / ( ) /

( 1 2 1 2 2 2

2 1

n s n s

x t x

 

5. If the value of the test statistic falls in the rejection region, reject H 0 ; otherwise, do not reject H 0 .

6. State the conclusion in words.

 The non-pooled t-interval procedure for two population means

(5)

ASSUMPTIONS

1. Independent samples

2. Normal populations or large samples STEPS

1. For a confidence level of 1 - , use Table IV to find t /2 with df = , where

1 ) / ( 1

) / (

)]

/ ( ) / [(

2 2 2 2 2 1

2 1 2 1

2 2 2 2 1 2 1

 

 

n n s n

n s

n s n s

, rounded down to the nearest integer

2. The endpoints of the confidence interval for  1 -  2 are

) / ( ) / ( . )

( x 1  x 2  t / 2 s 1 2 n 1s 2 2 n 2

 Choosing between a pooled and non-pooled procedure

Suppose you want to compare the means of two populations using independent samples.

When deciding between a pooled t-procedure and a non-pooled t-procedure, follow these guidelines: If you are reasonably sure the populations have nearly equal standard

deviations, used a pooled t-procedure; otherwise, use a non-pooled t-procedure.

10.4 Inferences for two population means using paired samples The paired t-statistic

Paired difference variable, d of x is the difference between the two corresponding x’s This implies that the difference between the population means is

 d =  1 -  2

Distribution of the paired t-statistic

Suppose x is a variable on each of two populations whose members can be paired.

Further suppose that the paired-difference (normal differences) variable d is normally distributed. Then, for paired samples of size n, the variable

n s t d

d

/ ) (  1   2

  has the t-distribution with df = n - 1

 The paired t-test for two population means ASSUMPTIONS

1. Paired sample

2. Normal differences of large sample

(6)

STEPS

1. The null hypothesis is H 0 :  1 =  2 and the alternate hypothesis is one of the following:

H a :  1   2 (two-tailed) H a :  1 <  2 (left-tailed) H a :  1 >  2 (right-tailed)

2. Decide on the significance level, .

3. The critical value(s) are

 t /2 (two-tailed) - t  (left-tailed) t  (right-tailed)

with df = n - 1 , where Use Table IV to find the critical value(s).

4. Compute the value of the test statistic

n s t d

d

/

5. If the value of the test statistic falls in the rejection region, reject H 0 ; otherwise, do not reject H 0 .

6. State the conclusion in words.

The hypothesis test is exact when the paired-difference variable is normally distributed (normal differences) and is approximately correct for large samples when the paired- difference variable is not normally distributed (non-normal differences).

 The paired t-interval procedure for two population means ASSUMPTIONS

1. Paired sample

2. Normal differences or large samples STEPS

1. For a confidence level of 1 - , use Table IV to find t /2 with df = n – 1.

2. The endpoints of the confidence interval for  1 -  2 are n

t s d / 2 .

d

The confidence interval is exact when the paired-difference variable is normally

distributed (normal differences) and is approximately correct for large samples when the paired-difference variable is not normally distributed (non-normal differences).

What if the assumptions are not satisfied?

In case you have neither normality of the paired-difference variable nor a large sample,

then a nonparametric method should be used.

References

Related documents

Real Internet Malware Sample Configuration Analysis Results Internal logs Traffic Log Emulated Internet Filtering Rules Sandbox Access Controller OS Image Config Analysis

e ff ects of FSH on early follicle populations in the absence of luteinizing hormone (LH) activity, we examined mature hypogonadal ( hpg ), gonadotrophin-deficient mice

Specifically, the risk is considered as the area of the distribution of the arrival time fell after the latest time of the time window, and the mean of the arrival time is

We also assessed potential habitat suitability under climate change (CC) in order to evaluate its potential effects on species’ climatic niches, by building species

No member of Dicker Data Ltd warrants that such Forward Statements will be achieved or will prove to be correct or gives any warranty, express or implied, as to the accuracy,

Despite spending most of acc championship ncaa college football news, when is the heisman trophy presentation will receive an ncaa football has been fascinated by clicking the trophy

– We visit the oldest leaf of tree. We empty its set of preceding letters. Then we move up 7 letters. We move the head node to this node. We set its set of preceding letters equal