My book presents a formula and an exercise how to calculate the power of a one sample two-sided test, but I'm not clear on one variable used in that formula.
First, the exercise wants us to find the power of an appropriate test, given the following information:
- We have one sample of $20$ observations from a normally distributed population with standard deviation 5.
- We want to test at 5% significance level $H_0:\mu=0$ and $H_1:\mu\not=0$
- Assume the true value of the population mean is $2$.
The formula in the book for such a case, where "$d$ is not small" is as follows:
$$ 1 - \Phi\bigg(q_{1-(\alpha/2)} - \frac{d}{\sigma / \sqrt{n}}\bigg) $$
What is clear to me:
- $n=20$, the sample size
- $\sigma=5$, the standard deviation of the population
- 5% significance level implies $\alpha=0.05$
But what is $d$? In the book they say "the true value of $\mu$ is $\mu_0 \pm d$", so since we assume $\mu_0=0$ and we are given $\mu=2$, what I would conclude is $d = 2$?
Maybe it's an obvious question but I can't really grok what they want to say with "the true value of $\mu$ is $\mu_0 \pm d$".