Skip to main content

Course

Hypothesis Testing in Python

Intermediate4 hr

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

Python4 hr15 videos50 Exercises3,750 XP60,077Statement of accomplishment

Create Your Free Account

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

Loved by learners at thousands of companies

Training a Team?

Try for Business

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.The videos contain live transcripts you can reveal by clicking "Show transcript" at the bottom left of the videos. The course glossary can be found on the right in the resources section. To obtain CPE credits you need to complete the course and reach a score of 70% on the qualified assessment. You can navigate to the assessment by clicking on the CPE credits callout on the right.

Feels like what you want to learn?

Start Course for Free

What you'll learn

  • Differentiate between Type I and Type II errors and their consequences for statistical conclusions
  • Distinguish between parametric and non-parametric approaches based on assumptions of normality, sample size, and independence
  • Evaluate p-values, confidence intervals, and standardized test statistics produced by Python libraries to determine whether to reject the null hypothesis at a specified alpha
  • Identify the suitable hypothesis test in Python (z-test, t-test, ANOVA, proportion test, chi-square, or non-parametric) for a given research question, data type, and sample conditions
  • Recognize the correct null and alternative hypotheses, significance level, and tail direction for typical analytical scenarios

Prerequisites

Curriculum

Course outline

1

Hypothesis Testing Fundamentals

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.
Start Chapter
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.
Start Chapter

Hypothesis Testing in Python

Course
Complete

Earn Statement of Accomplishment

Enroll Now

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.