
STAT1003 – Statistical Techniques
Dr. Emi Tanaka
Australian National University
These slides are best viewed on a modern browser like Google Chrome on a desktop or laptop. Some interactive components may require some time to fully load.
Is the new program more effective than the standard program in reducing recovery time?





Is the new program more effective than the standard program in reducing recovery time?
\[Z = \dfrac{(\bar{X}_{1} - \bar{X}_{2}) - (\mu_{1} - \mu_{2})}{\sqrt{\dfrac{\sigma_{1}^2}{n_{1}} + \dfrac{\sigma_{2}^2}{n_{2}}}}\]
\(Z \sim N(0, 1)\) under \(H_0: \mu_{1} = \mu_{2}\).
\[T = \dfrac{(\bar{X}_{1} - \bar{X}_{2}) - (\mu_{1} - \mu_{2})}{\sqrt{\dfrac{s_{1}^2}{n_{1}} + \dfrac{s_{2}^2}{n_{2}}}}\]
\(T \sim t_{\class{highlight mark-yellow}{\min(n_{1}, n_{2}) - 1}}\) under \(H_0: \mu_{1} = \mu_{2}\).
\[T = \dfrac{(\bar{X}_{1} - \bar{X}_{2}) - (\mu_{1} - \mu_{2})}{\sqrt{\class{highlight mark-yellow}{s_p^2}\left(\dfrac{1}{n_{1}} + \dfrac{1}{n_{2}}\right)}}\]
\(T \sim t_{\class{highlight mark-yellow}{n_{1} + n_{2} - 2}}\) under \(H_0: \mu_{1} = \mu_{2}\).
\[\bar{X}_{1} - \bar{X}_{2} \pm z_{\alpha / 2} \sqrt{\dfrac{\sigma_{1}^2}{n_{1}} + \dfrac{\sigma_{2}^2}{n_{2}}}\]
\[\bar{X}_{1} - \bar{X}_{2} \pm t_{\text{df}, \alpha / 2} \sqrt{\dfrac{s_{1}^2}{n_{1}} + \dfrac{s_{2}^2}{n_{2}}}\]
where:










\(H_0: \mu_1 = \mu_2\)
\(z^* = \dfrac{\bar{x}_{1} - \bar{x}_{2}}{\sqrt{\dfrac{\sigma_1^2}{n_1} + \dfrac{\sigma_2^2}{n_2}}}\)
where \(Z \sim N(0, 1)\) under \(H_0\).
\(t^* = \dfrac{\bar{x}_{1} - \bar{x}_{2}}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}}\)
where

P-values:

P-values:

P-values:

P-values:

P-values:
Growth rates of 14 unicellular alga Chlamydomonas after 1,000 generations of selection under High and Normal levels of carbon dioxide were examined.
Is there a difference in growth rates between the two carbon dioxide levels?
Assume that:
Note that:
var.equal = FALSE, the two sample t-test uses the Welch-Satterthwaite approximation for the degrees of freedom (derivation out of scope for this course).var.equal = TRUE, the two sample t-test assumes that the population variances are equal and uses the pooled variance estimator.scroll
\(H_0: \mu_1 = \mu_2\)
Test statistic under \(H_0\)
Variances known
\[Z = \dfrac{\bar{X}_{1} - \bar{X}_{2}}{\sqrt{\frac{\sigma_{1}^2}{n_{1}} + \frac{\sigma_{2}^2}{n_{2}}}} \sim N(0, 1)\]
Variances unknown
\[T = \dfrac{\bar{X}_{1} - \bar{X}_{2}}{\sqrt{\frac{s_{1}^2}{n_{1}} + \frac{s_{2}^2}{n_{2}}}} \sim t_{\text{df}}\]
where
Confidence interval for \(\mu_1 - \mu_2\)
Variances known
\[\bar{X}_{1} - \bar{X}_{2} \pm z_{\alpha / 2} \sqrt{\dfrac{\sigma_{1}^2}{n_{1}} + \dfrac{\sigma_{2}^2}{n_{2}}}\]
Variances unknown
\[\bar{X}_{1} - \bar{X}_{2} \pm t_{\text{df}, \alpha / 2} \sqrt{\dfrac{s_{1}^2}{n_{1}} + \dfrac{s_{2}^2}{n_{2}}}\]
P-value:
Variances known
| \(H_A\) | P-value |
|---|---|
| \(H_A: \mu_1 \neq \mu_2\) | \(P(|Z| \geq |z^*|)\) |
| \(H_A: \mu_1 > \mu_2\) | \(P(Z \geq z^*)\) |
| \(H_A: \mu_1 < \mu_2\) | \(P(Z \leq z^*)\) |
Variances unknown
| \(H_A\) | P-value |
|---|---|
| \(H_A: \mu_1 \neq \mu_2\) | \(P(|T| \geq |t^*|)\) |
| \(H_A: \mu_1 > \mu_2\) | \(P(T \geq t^*)\) |
| \(H_A: \mu_1 < \mu_2\) | \(P(T \leq t^*)\) |

STAT1003 – Statistical Techniques