Skip to main content
HomePython

Hypothesis Testing in Python

4.0+
84 reviews
Intermediate

Learn how and when to use common hypothesis tests like t-tests, proportion tests, and chi-square tests in Python.

Start Course for Free
4 hours15 videos50 exercises39,456 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Hypothesis testing lets you answer questions about your datasets in a statistically rigorous way. In this course, you'll grow your Python analytical skills as you learn how and when to use common tests like t-tests, proportion tests, and chi-square tests. Working with real-world data, including Stack Overflow user feedback and supply-chain data for medical supply shipments, you'll gain a deep understanding of how these tests work and the key assumptions that underpin them. You'll also discover how non-parametric tests can be used to go beyond the limitations of traditional hypothesis tests.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Certification Available

Data Analyst in Python

Go To Track
Certification Available

Associate Data Scientist in Python

Go To Track

Statistics Fundamentals in Python

Go To Track
  1. 1

    Hypothesis Testing Fundamentals

    Free

    How does hypothesis testing work and what problems can it solve? To find out, you’ll walk through the workflow for a one sample proportion test. In doing so, you'll encounter important concepts like z-scores, p-values, and false negative and false positive errors.

    Play Chapter Now
    Hypothesis tests and z-scores
    50 xp
    Uses of A/B testing
    50 xp
    Calculating the sample mean
    100 xp
    Calculating a z-score
    100 xp
    p-values
    50 xp
    Criminal trials and hypothesis tests
    50 xp
    Left tail, right tail, two tails
    100 xp
    Calculating p-values
    100 xp
    Statistical significance
    50 xp
    Decisions from p-values
    50 xp
    Calculating a confidence interval
    100 xp
    Type I and type II errors
    100 xp
  2. 3

    Proportion Tests

    Now it’s time to test for differences in proportions between two groups using proportion tests. Through hands-on exercises, you’ll extend your proportion tests to more than two groups with chi-square independence tests, and return to the one sample case with chi-square goodness of fit tests.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Certification Available

Data Analyst in Python

Go To Track
Certification Available

Associate Data Scientist in Python

Go To Track

Statistics Fundamentals in Python

Go To Track

datasets

Late ShipmentsStack OverflowU.S. Democrat Votes 2012/2016U.S. Republican Votes 2008/2012

collaborators

Collaborator's avatar
Dr. Chester Ismay
Collaborator's avatar
Amy Peterson
Collaborator's avatar
Izzy Weber

prerequisites

Sampling in Python
James Chapman HeadshotJames Chapman

Data Science & AI Curriculum Manager, DataCamp

James is a Curriculum Manager at DataCamp, where he collaborates with experts from industry and academia to create courses on AI, data science, and analytics. He has led nine DataCamp courses on diverse topics in Python, R, AI developer tooling, and Google Sheets. He has a Master's degree in Physics and Astronomy from Durham University, where he specialized in high-redshift quasar detection. In his spare time, he enjoys restoring retro toys and electronics.

Follow James on LinkedIn
See More

Don’t just take our word for it

*4.0
from 84 reviews
58%
13%
10%
10%
10%
  • AYUSH M.
    18 days

    great

  • Antoine F.
    25 days

    Very useful and thorough course.

  • Paul K.
    about 1 month

    Really hard

  • Urich K.
    about 1 month

    Very nice course.

  • Siva M.
    4 months

    Helped in understanding various type of distributions and variations in statistic measures and how to use then when to use and how interpret

"great"

AYUSH M.

"Very useful and thorough course."

Antoine F.

"Really hard"

Paul K.

Join over 15 million learners and start Hypothesis Testing in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.