So, you want to find out if a survey you just conducted has results that matter? This may be a job for a *t-test. *

Let’s say that you are a pollster in the Phoenix area and would like to gauge how voters around you feel about the President. You get 600 people to take your survey and ask them to rank the President’s job performance on a scale of 1 to 5, with 1 being the lowest. After getting all of your results back and doing some quick math, you find that the President’s average approval in your poll was a 2.7. What can you learn from this?

This is where a t-test comes in handy.

First, an introduction. There are three types of t-tests that people can use: one-sample t-tests, two-sample t-tests, and paired t-tests. Each of these different tools helps statistics fans in different ways.

**One-sample t-tests** are used when you would like to determine whether the mean (or the “average”) of results from one group is different from a given value — using your poll from earlier where you found that the President’s approval rating in Arizona was statistically different than an exactly even 3.0.

**Two-sample t-tests** are used when you would like to determine whether the means of two independent groups are different from one another. For instance, say the men in your sample give the President an average rating of 3.1, and the average rating among women is 2.6. Can you say that there is a statistically meaningful difference between the two groups?

**Paired t-tests** are used when comparing the means of the same group of people twice. Say, in your survey, you asked for people’s opinions of the President, then showed them a campaign ad about the President, and finally asked the same people their opinions after seeing the ad. If their average approval rating was 2.7 before and 3.0 after, can you say that the political ad caused people to have a more favorable view of the president?

Steps for performing a t-test:

1. Calculate the t-statistic

There are different formulas for calculating t-statistics, depending on whether you are using a one-sample, two-sample, or paired t-test. Be sure to use the correct one!

2. Calculate the degrees of freedom

Broadly speaking, degrees of freedom are the number of ways that your sample can change. Larger sample sizes have more degrees of freedom because they have more data points that can change the overall mean. Again, there are different formulas for calculating degrees of freedom based on what type of t-test you are performing.

3. Calculate the critical value

The critical value is the threshold at which the difference in your means can be considered “statistically significant”

4. Compare the absolute value of the t-statistic to the critical value

If your t-statistic is greater than your critical value, there is a statistically significant difference between the two numbers

If your t-statistic is less than your critical value, you cannot say that the two numbers you are comparing are statistically different

Congratulations! You have just added a powerful statistical tool to your tool belt. __Sign up for our newsletters__ for more market research and data analysis content.

## Kommentare