
Many non-parametric test statistics, such as U statistics, are approximately normal for large enough sample sizes, and hence are often performed as Z-tests. Z-tests are employed whenever it can be argued that a test statistic follows a normal distribution under the null hypothesis of interest.

Although there is no simple, universal rule stating how large the sample size must be to use a Z-test, simulation can give a good idea as to whether a Z-test is appropriate in a given situation. When using a Z-test for maximum likelihood estimates, it is important to be aware that the normal approximation may be poor if the sample size is not sufficiently large. This p-value is less than our significance level of 0. left-tailed, right-tailed or two-tailed. Using an online calculator, the p-value for our Z test is a more precise 0.0196. If the population variance is unknown (and therefore has to be estimated from the sample itself) and the sample size is not large ( n μ 0, it is upper/right-tailed (one tailed).įor Null hypothesis H 0: μ=μ 0 vs alternative hypothesis H 1: μ≠μ 0, it is two-tailed. The Z -test calculator for testing two population means makes it easy to calculate the test statistic, Z critical value and the p -value given the sample information, level of significance and the type of alternative hypothesis (i.e. Therefore, many statistical tests can be conveniently performed as approximate Z-tests if the sample size is large or the population variance is known. However, the z-test is rarely used in practice because the population deviation is difficult to determine.īecause of the central limit theorem, many test statistics are approximately normally distributed for large samples. If the test has a mean () of 45 and a standard deviation () of 23, what’s your z score X 85. Interpret Your Results - Since your p-value of 0.63 is less than the significance level of 5, you have sufficient evidence to reject the. For instance, let’s say you have a test score of 85. Using the calculator above, you find that a difference in sample proportions of 3 3 20 - 17 would results in a z-score of 2.73 under the null distribution, which translates to a p-value of 0.63. Where, X is the value of the element is the population mean is the standard deviation Let’s solve an example. Calculate test statistic (e.g., z statistic) 6. The basic formula for a z score sample is: z (X ) /. Both the Z-test and Student's t-test have similarities in that they both help determine the significance of a set of data. Critical Values: Test statistic values beyond which we will reject the null hypothesis (cutoffs) p levels (): Probabilities used to determine the critical value 5. For each significance level in the confidence interval, the Z-test has a single critical value (for example, 1.96 for 5% two tailed) which makes it more convenient than the Student's t-test whose critical values are defined by the sample size (through the corresponding degrees of freedom). A Z-test is any statistical test for which the distribution of the test statistic under the null hypothesis can be approximated by a normal distribution.
