Hypothesis Testing in Python

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
  • Before you start: Sampling in Python
DataCamp details
  • Chapters: 4
Created byDataCamp
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Intermediate

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

SKU: hypothesis-testing-python Category: Tags: , Brand:

Learn to choose, run and interpret t-tests, ANOVA, proportion and chi-square tests in Python, and when to use non-parametric tests instead.

At a glance
Duration4 hrs
LevelIntermediate
CertificateCertificate of Completion
LanguageEnglish
Taught byJames Chapman
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare
Shared lessons. This course shares its lessons with Hypothesis Testing in R; the exercises use Python instead of R.

Hypothesis testing gives analysts a disciplined way to judge whether a pattern in their data reflects a real effect or simple chance. The lessons work through that judgment in Python: framing null and alternative hypotheses, setting a significance level, reading p-values, and choosing among t-tests, ANOVA, proportion tests and chi-square tests. Real-world data on Stack Overflow user feedback and medical supply shipments anchors the exercises, and non-parametric alternatives show what to do when a test’s assumptions fail.

What You Will Achieve

  • Set up null and alternative hypotheses, a significance level and the correct tail direction for an analytical question
  • Pick a suitable test, such as a t-test, ANOVA, proportion test or chi-square test, for a given question and data type
  • Interpret p-values, confidence intervals and test statistics from Python libraries to decide whether to reject the null hypothesis
  • Check sample size and other assumptions, then switch to a non-parametric test when they are not met


Program Overview

Hypothesis Testing Fundamentals

A one-sample proportion test serves as the worked example for the full testing workflow and the errors a conclusion can carry.

  • z-scores and p-values
  • Left-tailed, right-tailed and two-tailed tests
  • Statistical significance and confidence intervals
  • Type I and Type II errors

Parametric Tests for Means and Proportions

Means and proportions are compared across two or more groups using the t-distribution and the chi-square distribution.

  • Two-sample and paired t-tests
  • ANOVA and pairwise t-tests
  • One-sample and two-sample proportion tests
  • Chi-square tests of independence and goodness of fit

Test Assumptions and Non-Parametric Tests

The assumptions behind parametric tests are checked, with alternatives for samples that break them.

  • Common assumptions and sample size checks
  • Wilcoxon signed-rank test
  • Wilcoxon-Mann-Whitney and Kruskal-Wallis tests

Certificate Awarded (Paid)


Job Outlook

Hypothesis testing in Python supports data analysis and data science work, such as comparing how groups perform, validating A/B test results and checking survey or supply-chain data before drawing conclusions.


Our take

Good for: Analysts working in Python who need to decide which significance test fits a question and read its output with confidence.

Keep in mind: Most of the course centers on classical parametric tests; non-parametric options get one closing chapter on Wilcoxon and Kruskal-Wallis tests.

Bottom line: A focused Python course that pairs each common test with the assumptions behind it and closes with what to use when those assumptions break.

Frequently Asked Questions

Which datasets do the exercises use?

The exercises draw on real-world data, including user feedback collected from Stack Overflow and supply-chain records for shipments of medical supplies, so each test is applied to a practical question.

Which Python functions appear in the lessons?

Lessons use functions such as ttest() for comparing means and proportions_ztest() for comparing two proportions, after first calculating z-scores, test statistics and p-values step by step to show how each result is built.

How are Type I and Type II errors introduced?

The opening chapter compares a hypothesis test to a criminal trial, then explains false positive and false negative errors and what each one means for the conclusion an analyst draws.

Are transcripts or a glossary available?

Yes. The videos have live transcripts that can be shown with the Show transcript option below each video, and a course glossary sits in the resources section beside the lessons.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in or create a free account, then you will return here to post.

×

    Report this page
    Hypothesis Testing in Python
    Hypothesis Testing in Python
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0