×

Hello! Socratic's Terms of Service and Privacy Policy have been updated, which will be automatically effective on October 6, 2018. Please contact hello@socratic.com with any questions.

# How is a z-score useful in comparing two different distributions?

##### 1 Answer
Jan 1, 2015

This is a somewhat complicated and nuanced question.

First, one must know what hypothesis test they are performing. In addition, if one knows the true distribution, then it is simply a matter of comparing the means of these parameters, because the true distribution is a constant.

Where z-scores become most helpful is in comparing two samples to see if they are from the same distribution or not. The z-score will be most helpful in comparing samples from normally distributed distributions, but the Central Limit Theorem also states that for large enough samples, comparing the mean approaches a normal distribution.

The calculations are different if the two samples are matched or unmatched. For both, you can compare the differences between Sample 1 and Sample 2 to a normal distribution with mean 0 and standard error based on the sample standard deviation(s) and size(s). The major difference is how you calculate the standard error.

Once you have the mean difference between the two distributions ($\overline{X}$) and the standard error SE, then your z-statistic is $z = \frac{\overline{X}}{S E}$. You can use this to calculate a p-value. For example, if $| z |$ > 1.96, then the p-value is <0.05.