Docsity

Comparing Means & Proportions: Independent vs. Dependent Samples, Exams of Statistics

Toggle sidebar
bg1
Chapter 7 Comparing Two Populations
In this Chapter we are going to compare the means or
proportions of two populations, using a (simple) random
sample from each of the populations. The samples can be either
independent of each other or they may be dependent on each
other.
Definition: Two random samples are said to be
independent samples if the selection of a unit from
one population has no effect on the selection or non-
selection of another unit from the second population.
Otherwise the samples are said to be dependent
samples.
Independent samples are more common than the dependent
samples. However, in some applications the selection of one unit
will from one of the populations determines the selection of
another one from the second population. Such samples are said
to be dependent samples. In such applications one unit from
each population come in pairs. Thus we have a random sample
of pairs. These pairs either come naturally (e.g., twins-studies,
studies of married couples, observations on the same person
under two different conditions, etc.) or the pairs are created by
the experimenter, being matched on as many characteristics as
possible, except the one characteristic of interest to the
researcher. Thus, sometimes we do create dependence by
matching. These are called matched samples.
The general formula and the steps you have seen in Chapters 5
and 6 apply in this Chapter as well, with some minor
differences.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Comparing Means & Proportions: Independent vs. Dependent Samples and more Exams Statistics in PDF only on Docsity!

Chapter 7 Comparing Two Populations In this Chapter we are going to compare the means or proportions of two populations, using a (simple) random sample from each of the populations. The samples can be either independent of each other or they may be dependent on each other. Definition: Two random samples are said to be independent samples if the selection of a unit from one population has no effect on the selection or non- selection of another unit from the second population. Otherwise the samples are said to be dependent samples. Independent samples are more common than the dependent samples. However, in some applications the selection of one unit will from one of the populations determines the selection of another one from the second population. Such samples are said to be dependent samples. In such applications one unit from each population come in pairs. Thus we have a random sample of pairs. These pairs either come naturally (e.g., twins-studies, studies of married couples, observations on the same person under two different conditions, etc.) or the pairs are created by the experimenter, being matched on as many characteristics as possible, except the one characteristic of interest to the researcher. Thus, sometimes we do create dependence by matching. These are called matched samples. The general formula and the steps you have seen in Chapters 5 and 6 apply in this Chapter as well, with some minor differences.

7.1 Comparing two population means Using independent samples Notation: Suppose we have a population of X’s with mean X and standard deviation X and a population of Y’s with mean Y and standard deviation Y. We are interested in the difference if the population means, X – Y. We select a simple random sample, of size nX, from the population of X’s and calculate (^) X and SX. Similarly we select an independent simple random sample of size nY from the population of Y’s and calculate (^) Y and SY. A Confidence Interval forX –Y Using Independent Samples As in Chapter 5, the general formula for the CI is (Estimate  ME) Where ME = (table-value)( SE of the estimate) Since the parameter of interest is  X –Y, a point estimate of the difference of population means is (^) XY. Note the changes in SE and ME:

Table 7.1 Housework hours/week for a N ational Survey of Mean and Women Gender Sample size Sample Statistics Mean Standard Deviation Males 4252 18.1 12. Females 6764 32.6 18. Source: S. South and G. Spitze, American Sociological Review, Vol. 59, 1994, pages 327-347. Before we start using the formula we note the following: Since SX = 12.9 and SY = 18.2, we may assume that the population variances are equal because ½ < SX / XY = 0.71 < 2 Hence

pooled X Y ME t S n n

Now, df = (4252 + 6764 – 2) = very large and 2 2 2 2

X X Y Y pooled X Y ( n )S ( n )S S n n ( ). ( ). .

Then,

pooled X Y ME t S n n

....

Therefore a 95% CI for  X –Y is      

CI (.. ).

Interpretation of the CI We may write the interpretation in the usual way and say “We are 95% confident that the difference of the mean number of hours/week of housework males and females perform is a point in the interval (– 15.1, – 13.9).” However, the above CI tells us more: Since both ends of the CI are negative, and the CI is for the difference between the mean for men and the mean for women , we can state with 95% confidence that men work less than women on the average, the difference between the means of the populations being between 13. and 15.1 hours per week.

3. Test Statistic: WhenX   Y the test statistic is 2 2

( df ) X Y X Y

( X Y ) ( X Y )

T ~ t SE( X Y ) (^) S S n n

With df = smaller of (nx – 1) and (nY – 1) or WhenX =Y the test statistic is 0 1 1 ( df ) pooled X Y

( X Y ) ( X Y )

T ~ t SE( X Y ) S n n

With df = nX + nY – 2 and 2 2 1 1 2 X X Y Y pooled X Y ( n )S ( n )S S n n

4. P-Value: Depends on Ha If Ha: X – Y  0 Then p-value = 2 × P(T(df) ≥ | Tcal | ) If Ha: X – Y > 0 Then p-value = P(T(df) ≥ Tcal) If Ha: X – Y < 0 Then p-value = P(T(df) ≤ Tcal) 5. Decision: Use the same decision rule as before, i.e., “Reject Ho if p-value ≤  **.”

  1. Conclusion:** As before, explain the decision in simple language. Example: Suppose we use the data in Table 7.1 to test the hypothesis that the mean time men and women spend for housework are different, that is, Ho:M –W = 0 vs. Ha:M –W  **0
  2. Assumptions:** All are satisfied. a) Independent simple random samples from two populations (explanatory variable) b) Quantitative (Response) Variable c) Large samples (nX ≥ 20. nY ≥ 20) 2. Hypotheses: Ho:M –W = 0 vs. Ha:M –W0

P-Value = 2 × P(T ≥ | Tcal |) = 2 × P(T ≥ | – 45.3 | ) = 2 × 0 = 0 (Why?)

5. Decision: Reject Ho (very strong rejection) since we have p-value < any reasonable value of . 6. Conclusion: The observed data give very strong evidence that the mean time spent for housework by men is significantly different from the mean time spent by females. (p-value = 0 almost). Relation between CI and Significance Test We have rejected the null hypothesis of equal population means using the significance test. Can we get the same result from the CI? We have found A 95% CI for M – F =  ^ 15 088_.^^ ,^  13 912._  Since zero is not in the above CI we will reject Ho at 5% level of significance, (remember that Ho: M – F = 0) so we reach the same decision and hence same conclusion by both of the methods.

Points to ponder:

  1. Do we always reach the same decision by the two methods?
  2. Do we lose something by using the CI instead of the significance test? 7.2 Comparing two population proportions Using large independent samples Given two independent random samples of size n 1 and n 2 from two populations in which the proportions of population units that have a characteristic of interest are  1 and  2 respectively. We are interested in making inferences about the difference of population proportions, i.e., inferences about  1 –  2. A CI for1 –2 Using large independent samples The general formula we have seen before apply here with slight changes: CI = (Estimates  ME) Where ME = (table-value)(SE of estimates) In this section since the parameter of interest is  1 –  2 its point estimate is p 1 – p 2 , where p 1 and p 2 are the sample proportions. The SE of the estimate is estimated by

Hence, (^1 )

^ ˆ^  p  . and

2 2

^ ˆ^  p  .

Thus an estimate of  2 –  1 is 0.59 – 0.55 = 0. The approval rate of the prime minister has increased by 4%. b) Construct a 99% CI for  2 –  1. Interpret 1 2

SE( p p ).

Hence, ME = z×SE = 2.575×0.0175 = 0. A 99% CI for  2 –  1 is (0.04 – 0.045, 0.04 + 0.045) i.e., (– 0.005, 0.085) We are 95% confident that the change in the approval rating of the prime minister from January to February may have dropped by ½ of one percent or it may have increased by as much as 8.5%.

Significance Tests About1 –2 Using Large Independent Samples Again we have the usual steps of significance tests.

1. Assumptions: a) Two independent simple random samples from two populations b) Categorical variable c) Large samples that satisfy ALL of the following: (i) n 1 p 1 ≥ 5 AND (ii) n 1 (1 – p 1 ) ≥ 5 AND (iii) n 2 p 2 ≥ 5 AND **(iv) n 2 (1 – p 2 ) ≥ 5.

  1. Hypotheses:** One of the following pairs Ho:  1 –  2 = 0 vs. Ha:  1 –  2  0 or Ho:  1 –  2 = 0 vs. Ha:  1 –  2 < 0 or Ho:  1 –  2 = 0 vs. Ha:  1 –  2 > 0 3. Test statistic: 1 2 1 2

( p p ) Z ~ N( , ) p( p ) n n

Where 1 2 1 2

X X

p " pooled sample estimate" n n

4. P-Value Depends on Ha (as before)

Hence, 0 59 0 55 1 1 0 57 1 0 57 1600 1600 0 04 4 62 0 0086656 cal

Z

So, p-value = P(Z ≥ Zcal) = P(Z > 4.62) = 0. Decision: Reject Ho. Conclusion: The observed data give strong evidence of a significant increase in the approval rate of the prime minister from January to February (p = 0.00000192). The case for small samples: Comparing two (or more) population proportions with small samples to be covered in Chapter 8. This will include Fisher’s exact test for proportions (page 224) as well as contingency tables and conditional probabilities (page 220). So, skip these sections for the time being.

7.4 Comparing Dependent Samples Dependent samples (also called Matched samples ) are samples that are selected as pairs. These pairs either occur naturally or they are created by the researcher in such a way that the characteristics of the two units in each pair are as much alike as possible, except with respect to the variable of interest to the researcher. Hence for each unit in sample 1 there is a matching unit in sample 2. Dependent samples are especially useful in controlling the effect of all (or as many as possible of) the factors other than the one we are interested. We are interested in the Difference in the variable of interest (Di) between the two units in each pair : Di = (Observation on i th unit in sample 2

  • observation on i th unit in sample 1 = Xi – Yi for i = 1, 2, …, n Thus, we have one sample, of size n, of differences, D 1 , D 2 , …, Dn These differences are a random sample of from a (hypothetical) population of differences that has mean D (=  2 –  1 ), estimated by (^) D and standard deviation D, estimated by SD. Then, a CI forD is

 D^ ^ t^  S^ D /^ n 

  1. Hypotheses: Ho: D = 0 vs. D  0
  2. Test Statistic: 0 ( n 1 ) D

D

T ~ t S / n

  1. P-Value: From the output below, the calculated value of the test statistic is 0 2 76^0 2 938 7 98 72 cal D

D .

T.

S / n. /

Paired Samples Statistics Mean N Std. Deviation Std. Error Mean before 82.408 72 5.1825. after 85.172 72 8.0352. Mean StDev SE Mean 95% CI T df P –2.76 7.98 0.94 (– 4.64, – 8.89) – 2.938 71 0. Hence, p-value = 2 × P(T(71) ≥ |Tcal|) = 2 × P(T(71) ≥ + 2.938) ≈ 2 × P(Z ≥ 2.94) = 2 × 0. = 0.0032 [Why not 0.004?]

  1. Decision: Reject Ho at any reasonable .
  2. Conclusion The observed data give strong evidence of a significant difference in weight of anorexic women between before and after treatment (p = 0.004)

Note however, that the CI tells more than what we have concluded: Mean StDev SE Mean 95% CI T df P –2.76 7.98 0.94 (– 4.64, – 8.89) – 2.938 71 0. We can state with 95% confidence that the weight of anorexic women has increased, on the average by as low as 4.64 pounds and as high as 8.89 pounds. Actually the p-value tells us that there is a significant increase, that is, we will reject Ho: μD = 0 vs. Ha: μD < 0 at 0.2% level of significance. Alternatively, we may conclude that the observed data indicate a significant increase in the weight of anorexic women at 5% level of significance. [This is a better conclusion than stating that there is a change in weight.]