The formula for the test statistic in a one-sample z-test is given by $Z = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}$. Here, $\bar{x}$ is the sample mean, $\mu$ is the population mean, $\sigma$ is the population standard deviation, and $n$ is the sample size.
Show more…