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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now