Skip main navigation

Null Hypothesis Testing Overview

Learn more about null hypothesis testing when comparing two different groups.

Lesson 2: T-Test Comparing Two Groups

In this lesson, we’ll dig into one of the most common methods for null hypothesis testing: the t-test. If we can show that the trends in the current data are not explainable as just random chance, then we can infer they are likely to continue. For example, if Team A is outperforming Team B, and the difference is “statistically significant,” we can infer this is a real difference (as opposed to a temporary coincidence) and conclude that Team A truly is better.

Lab: T-Test

Imagine your company has hired two different freelance teams, Team X and Team Y, for a number of projects. For each project, the profit for your company is reported. In this lab, you’ll calculate each team’s mean profit and standard deviation. Then you’ll use a t-test to determine whether the difference in each team’s performance is statistically significant (and likely to continue in the future) or just due to random chance.

The lab instructions can be downloaded as a PDF file here.

The data set for this lab can be viewed here. From the link, copy and paste all the data into a new worksheet in Excel Online.

 

This article is from the free online

Essential Mathematics for Data Analysis in Microsoft Excel

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education