ztests
zTests is a family of statistical hypothesis tests that use the standard normal distribution to assess claims about population parameters. They are typically applied when the population standard deviation is known or when sample sizes are large enough for the normal approximation to be reliable. The term commonly encompasses one-sample z-tests for a mean, two-sample z-tests for comparing means, and z-tests for proportions.
In a mean z-test with known sigma, the test statistic is z = (Xbar - mu0) / (sigma / sqrt(n)).
zTests are widely used in quality control, manufacturing, clinical trials, and online experiments (A/B testing), where
Limitations include reliance on normal approximation, which may be inappropriate for small samples or unknown variances.