Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Comparing Two Independent Means

Image illustrating Comparing Two Independent Means


The inference two independent means entails comparing the characteristics of two populations. We can also compare the responses of two treatments groups.


Examples

  • We compare the Olympic sponsorship (response) between USA and Tonga (two populations).
  • We compare the effectiveness (response) between Drug A and Drug B (two treatments).


How to identify this type of situation

  1. There are two samples: {Sample 1, Sample 2}
  2. Each sample is randomly drawn from different, non-overlapping populations.
  • Sample 1 is drawn from Population 1 with μ1\mu_1 and σ1\sigma_1
  • Sample 2 is drawn from Population 2 with μ2\mu_2 and σ2\sigma_2
  1. The two populations are independent (there is no matching of individuals or observations in the two samples)




  1. Let i=1,2i=1,2. Each of the two samples will consist of:
  • Sample mean x‾i\overline{x}_i
  • Sample standard deviation sis_i
  • σ1 σ_1\ and σ2σ_2 (population standard deviations) are unknown and, instead, s1s_1 and s2\ s_2 (sample standard deviations) are used.
  • Sample size nin_i
  • It's okay if sample sizes differ as they do not need to be equal.
  • Central Limit Theorem applies:
  • If both population distributions are normal, then the sample sizes do not need to be large.
  • If both population distributions are not normal, then the sample sizes need to be large.
  • When in doubt, you should have sufficiently large sample sizes.

Summary

Image illustrating Comparing Two Independent Means


To make inferences about the difference in the population means μ1−μ2\mu_1-\mu_2 (parameter), we use the difference in the sample means xˉ1−xˉ2\bar x_1-\bar x_2 (statistic).




Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Hypothesis Test Steps: Comparing Two Independent Means

We can compare the two population means by running a hypothesis test.



  • Step 1: State the hypotheses
  • Is this a one-sided or two-sided test?
  • To make inferences about the difference in the population means μ1−μ2\mu_1-\mu_2 (two-sided test), the hypotheses are:
Ho: μ1−μ2=0Ha:μ1−μ2≠0H_o:\ \mu_1-\mu_2=0\\H_a:\mu_1-\mu_2\neq0
  • You can also test if one population mean is greater/less than the other population mean at either direction (one-sided test), depending on the question:
Ho: μ1−μ2=0Ha:μ1−μ2>0H_o:\ \mu_1-\mu_2=0\\H_a:\mu_1-\mu_2>0

OR

Ho: μ1−μ2=0Ha:μ1−μ2<0H_o:\ \mu_1-\mu_2=0\\H_a:\mu_1-\mu_2<0



  • Step 2: Note the significance level α\alpha
  • You may find the critical value, depending on α, df, \alpha,\ df,\ and # of sides
  • Step 3: Locate the relevant variables and run the appropriate test
  • Find x‾1, x‾2, s1, s2, n1, n2\overline{x}_1,\ \overline{x}_2,\ s_1,\ s_2,\ n_1,\ n_2
  • To Pool or Not to Pool?
  • If we can assume σ1 = σ2σ_1\ =\ σ_2→\rightarrow pooled variance t-test
  • Otherwise, we assume σ1 ≠ σ2σ_1\ \ne\ σ_2 →\rightarrow unequal variance t-test
  • Step 4: Find the p-value
  • The p-value is based on your test statistic and # of sides
  • If p-value <α →<\alpha\ \rightarrow Reject HoH_o
  • If p-value >α →>\alpha\ \rightarrow Fail to reject HoH_o
  • You can also compare the critical value with the test statistic
  • If ∣t∣>∣CV∣→\left|t\right|>\left|CV\right|\rightarrow Reject HoH_o
  • If ∣t∣<∣CV∣→\left|t\right|<\left|CV\right|\rightarrow Fail to reject HoH_o
  • Step 5: Draw your conclusion
  • If you reject HoH_o, you conclude that there is evidence for HaH_a. Example: "There is evidence that the means differ."
  • If you fail to reject HoH_o, you conclude that there is no evidence for HaH_a. Example: "There is no evidence that the means differ."


Extra Practice