Power for a mean difference of two independent groups

In summary: You have been a big help. I finally got the correct answer, which is around 60%.In summary, the researchers plan to compare mean blood Kryptonite levels between Metropolis and Gotham and expect to find a mean difference of around 2 Lex Luthors per milliliter (LL/ml). Assuming a two-sided Z test with a 5% significance level, the power of the test is estimated to be around 60%, indicating a high chance of correctly rejecting the null hypothesis and detecting a difference in mean levels between the two cities.
  • #1
FredericChopin
101
0

Homework Statement



"The Daily Planet ran a recent story about Kryptonite poisoning in the water supply after a recent event in Metropolis. Their usual field reporter, Clark Kent, called in sick and so Lois Lane reported the stories. Researchers plan to sample 288 individuals from Metropolis and control city Gotham and will compare mean blood Kryptonite levels (in Lex Luthors per milliliter, LL/ml). The expect to find a mean difference in LL/ml of around 2. Assoming a two sided Z test of the relevant hypothesis at 5%, what would be the power. Assume that the standard deviation is 12 for both groups.

* Around 60%
* Around 20%
* Around 80%
* Around 70%
* Around 50%
* Around 90%
* Around 40%
* Around 10%
* Around 30%"

Homework Equations



I'm not sure, but here's what I think:

Z-statistic for a mean difference of two independent groups (I hope this is correct):

[tex]\frac{\mu_x - \mu_y}{\sqrt{\frac{{\sigma_x}^2}{n_x} + \frac{{\sigma_y}^2}{n_y}}}[/tex]

The Attempt at a Solution



After trying and getting it wrong twice, I am on my third and last attempt to answer this question. Previously, I answered "80%" and then "90%", but they were wrong.

What I'm having problems with is constructing a two-sided power calculation. I don't know how to do that.

What I at least know, however, is how to do a one-sided power calculation:

[tex]1 - \beta = P ( Z > z_{1 - \alpha} - \frac{\mu_a - \mu_0}{\sigma / \sqrt{n}} | \mu = \mu_a)[/tex]

This is correct, right? Well, I thought maybe for a one-sided power for a mean difference of two independent groups, it would be:

[tex]1 - \beta = P ( Z > z_{1 - \alpha} - \frac{\mu_a - \mu_0}{\sqrt{\frac{{\sigma_x}^2}{n_x} + \frac{{\sigma_y}^2}{n_y}}})[/tex]

Is this correct?

I don't know how to do a two-sided power calculation though.

Can anyone help me?

Thank you.
 
Physics news on Phys.org
  • #2
One thing I noticed right away is that you're confusing the unknown population means with the sample means that can be calculated by doing the survey. The symbol "mu" always refers to the unknown population means while the symbol x with a bar over it represents the mean you get from your sample.

Let's start from basics and think things through very methodically. The first step is to find the critical region under which we reject the null hypothesis. Our null hypothesis is [tex] H_o: \mu_1 - \mu_2 = 0 [/tex]
Which says that the two unknown population means are equal.

We're doing a Z-test, so our test statistic is
[tex] \frac{\left(\bar{x_1} - \bar{x_2}\right) - \left(\mu_1 - \mu_2\right)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}[/tex] Under the null hypothesis his turns into[tex]
\frac{\left(\bar{x_1} - \bar{x_2}\right)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}[/tex] Which has a normal distribution with mean 0 and standard deviation 1.

We're doing a two-sided Z-test with a probability of rejecting the null hypothesis when it's true of 5%. Since it's two-sided we will reject the upper 2.5% of values and the lower 2.5% of values. This means we reject in these 2 situations: [tex] \frac{\left(\bar{x_1} - \bar{x_2}\right)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}\gt z_{0.025} = 1.96 \\
\frac{\left(\bar{x_1} - \bar{x_2}\right)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}\lt -z_{0.025} = -1.96[/tex] The value 1.96 can be found by looking on a Z-score table.

From this you can see that we reject the null hypothesis when the difference of our sample means is [tex]
\left(\bar{x_1} - \bar{x_2}\right) \gt 1.96 \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}} \\
\left(\bar{x_1} - \bar{x_2}\right) \lt -1.96 \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}[/tex]

So now we know the rejection regions. The power of a test is the probability of rejecting the null hypothesis when the alternative hypothesis is true. In the question it states we're expecting a difference of 2. So our alternative hypothesis is [tex]
H_a: \mu_1 - \mu_2 = 2 [/tex]
Remember our test statistic is
[tex] \frac{\left(\bar{x_1} - \bar{x_2}\right) - \left(\mu_1 - \mu_2\right)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}[/tex] Under the alternative hypothesis his turns into[tex]
\frac{\left(\bar{x_1} - \bar{x_2}\right) - 2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}[/tex] Which has a normal distribution with mean 0 and standard deviation 1.

So now we look at our rejection regions
[tex]
\left(\bar{x_1} - \bar{x_2}\right) \gt 1.96 \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}} \\
\left(\bar{x_1} - \bar{x_2}\right) \lt -1.96 \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}[/tex]
We can rearrange them so that they look like
[tex]
\frac{\left(\bar{x_1} - \bar{x_2}\right) - 2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \gt 1.96 - \frac{2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \\
\frac{\left(\bar{x_1} - \bar{x_2} \right) - 2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \lt -1.96 - \frac{2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}
[/tex]

Remembering that under the alternative hypothesis, the left side is a standard normal distribution:
[tex]
Z \gt 1.96 - \frac{2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}} \\
Z \lt -1.96 - \frac{2}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}
[/tex] where Z has a standard normal distribution.

So basically now all you have to do is plug the numbers into the right side and look at standard normal tables to see what the probability of these 2 situations is
 
Last edited:
  • #3
I see. And the power is calculated by adding the two probabilities?

Thank you so much for your comprehensive response.
 
  • #4
Yep you've got it. Think of the two critical regions as events. If the test statistic falls in the first region OR the second region we reject the null hypothesis. Since The two regions are disjoint, we add the probabilities using the usual probability rules (P(A or B) = P(A) + P(B) if A and B are disjoint).
 
  • #5
Thank you so much!
 

What is the concept of power in the context of a mean difference of two independent groups?

Power refers to the ability of a statistical test to detect a true difference between two independent groups. It is an important measure in research as it helps determine the likelihood of rejecting the null hypothesis when there is actually a difference between the groups.

Why is power important in statistical analysis?

Power is important because it helps researchers determine the sample size needed to detect a true effect. A study with low power may not be able to find a significant difference between groups even if one exists. This can lead to false conclusions and wasted resources.

How is power calculated for a mean difference of two independent groups?

Power is calculated by considering various factors such as the sample size, effect size, alpha level, and the variability within the groups. It is typically estimated using statistical software or through power tables specific to the chosen statistical test.

What is a good level of power for a study?

A good level of power is typically considered to be 80% or higher. This means that there is an 80% chance of detecting a true difference between groups if one exists. However, the appropriate level of power may vary depending on the research question and the field of study.

What are some ways to increase power in a study?

Power can be increased by increasing the sample size, using a more sensitive statistical test, reducing the variability within groups, and choosing a smaller alpha level. It is important to note that increasing power may also increase the risk of a type I error (incorrectly rejecting the null hypothesis).

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Replies
3
Views
627
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
650
  • Set Theory, Logic, Probability, Statistics
Replies
20
Views
3K
  • Linear and Abstract Algebra
Replies
17
Views
4K
Replies
9
Views
2K
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
7
Views
3K
  • Classical Physics
Replies
8
Views
2K
Back
Top