So far we’ve been talking about different distributions and their parameters. If we’re looking at a population with known parameters, then we’re going to be dealing with either a normal distribution or a standardized normal distribution (Post I and II). If we’re dealing with samples, we’re going to use either the sampling distribution of means, if the population parameters are known, or more often, the t-distribution if they’re not (post III). Normal and standardized distributions allow us to determine the probability associated with a particular value of a variable in a population, and thus how likely that value is. Sampling and t-distributions let us look at the probabilities associated with sample means. That is, the sampling and t-distributions give us a measure of the probability of getting a sample from a parent population with a particular mean. This takes us a next step closer to making inferences from statistics, because we can know the likelihood of getting a sample with mean x, then we can also determine how confident we are that the population mean falls within a range around x. To do this, we compute **confidence intervals**.

Let’s start by computing confidence intervals using the sampling distribution. Obviously, we won’t be doing this very often in the real world, because as we saw in the last post, we can only use the sampling distribution if we know the population’s standard deviation (σ). But let’s start with it anyway, because the logic of confidence intervals is a bit easier to spell out this way.

The first step is to determine how confident we want to be. We could pick any number, but the more confident we are the better, right? It’s pretty standard in social science research to use confidence intervals of 95%. That is, the range within which we are 95% certain the population mean occurs (put another way, if we took a whole lot of samples from the population, about 95% of those samples would have means in that range). Since we’re using the sampling distribution with the known standard deviation of the population, we can first look to the standardized normal distribution to figure out the z-scores associated with our chosen confidence level. For example, if we choose 95% confidence, we have to find the z-scores (+ and -) between which 95% of the values occur. Then we use the following equation, in which z stands for the z-score value associated with 95% confidence:

x – zσ ≤ μ ≤ x + zσ

Looking up the z-score associated with 95% confidence (you can use an interactive z-table here), I find that it is +/- 1.96. This is sometimes called the **critical z-score**, or critical z. So substituting this number for z, we can say with 95% confidence that the population mean is between the sample mean (x) minus 1.96 times the standard error (σ/√n; represented in the equation as σ_{x}) and the sample mean plus 1.96 times the standard error.

OK, if you’ve wrapped your mind around that, let’s move on to the more likely case of computing confidence intervals without a known population standard deviation. In this case, we have to use the sample standard deviation to estimate the population standard deviation. That means we’re dealing with a t-distribution, so instead of using the z-scores associated with our level of confidence, we’ll use t-scores. First, we pick a confidence level — let’s go with 95% again — and find the t-value associated with that (the **critical t-valu**e, or critical t). Then we plug the sample mean and standard error (obtained with *s*/√n; represented as *s*_{x}) and the critical t into this equation:

x – t

s_{x}≤ μ ≤ x + ts_{x}

Of course, since we learned in the last post that there is a different t-distribution for each number of degrees of freedom, we know that there’s a different critical t-value for each number of df as well. Suppose we have 12 degrees of freedom. We look up the critical t-value in a table like this one by going down the table to 12 df (in the far left column), then scrolling over until we find the value under .025 (not .05, because adding .05 from both tails of the distribution would give us .10, or the critical t for 90% confidence intervals). The critical t(df = 12) = 2.18, so we can now say that with 95% confidence that the population mean occurs between x plus or minus 2.18 times the standard error (*s*_{x}).

Clear as mud, right? If you’re confused at this point, don’t worry, you’re not alone. In the next post, we’ll work through an example, and that should make things less muddy.