Course
Hypothesis Testing in Python
IntermediateSkill Level
Updated 12/2025Start Course for Free
Included withPremium or Teams
PythonProbability & Statistics4 hr15 videos50 Exercises3,750 XP56,630Statement of Accomplishment
Create Your Free Account
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 2 or more people?
Try DataCamp for BusinessCourse Description
Feels like what you want to learn?
Start Course for FreeWhat 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
Sampling in Python1
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.
2
Two-Sample and ANOVA Tests
In this chapter, you’ll learn how to test for differences in means between two groups using t-tests and extend this to more than two groups using ANOVA and pairwise t-tests.
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.
4
Non-Parametric Tests
Finally, it’s time to learn about the assumptions made by parametric hypothesis tests, and see how non-parametric tests can be used when those assumptions aren't met.
Hypothesis Testing in Python
Course Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance review
Included withPremium or Teams
Enroll NowJoin over 19 million learners and start Hypothesis Testing in Python today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.