First, we need to calculate the test statistic (z-score) using the formula:
$$
z = \frac{\bar{x} - \mu_0}{\frac{\sigma}{\sqrt{n}}}
$$
where $\bar{x}$ is the sample mean, $\mu_0$ is the null hypothesis mean, $\sigma$ is the population standard deviation, and $n$
Show more…