A market researcher suspects that employees at Company A were older on average than...
Check the final answer first, then review the worked steps.
Step-by-step solution
- Identify the given data: For Company A, the sample mean $\bar{x}_A = 36.5$, standard deviation $s_A = 6.4$, and sample size $n_A = 30$. For Company B, the sample mean $\bar{x}_B = 32.0$, standard deviation $s_B = 5.6$, and sample size $n_B = 40$.
- State the hypotheses: The researcher suspects employees at Company A are older on average than those at Company B. Let $\mu_A$ and $\mu_B$ be the population means. The null hypothesis is $H_0: \mu_A = \mu_B$ (or $\mu_A - \mu_B = 0$), and the alternative hypothesis is $H_a: \mu_A > \mu_B$ (a right-tailed test).
- Calculate the test statistic ($t$): Using the formula for a two-sample t-test (assuming unequal variances): $$t = \frac{(\bar{x}_A - \bar{x}_B) - 0}{\sqrt{\frac{s_A^2}{n_A} + \frac{s_B^2}{n_B}}} = \frac{36.5 - 32.0}{\sqrt{\frac{6.4^2}{30} + \frac{5.6^2}{40}}} = \frac{4.5}{\sqrt{\frac{40.96}{30} + \frac{31.36}{40}}} = \frac{4.5}{\sqrt{1.3653 + 0.784}} = \frac{4.5}{\sqrt{2.1493}} \approx \frac{4.5}{1.466} \approx 3.0696$$
- Determine the degrees of freedom ($df$): Using the conservative (smaller) approach, $df = \min(n_A-1, n_B-1) = \min(29, 39) = 29$. Using the Welch-Satterthwaite formula yields a higher value, but for standard textbook problems, $df \approx 57.7$ is often used as the effective degrees of freedom.
- Calculate the p-value: For a t-score of $t \approx 3.07$ with $df \approx 57.7$, we look for $P(T > 3.07)$. Using a t-distribution table or calculator, $P(T > 3.07) \approx 0.00163$.