Hypothesis Testing in Python

Use Python to run t tests, Chi square tests and A/B tests, and interpret p values.

IntermediateCertificate

New courseUpdated October 2026English

Part of Data Analyst with Python · Course 14 of 17

USD 18

Pay once for 3 months, or get every course with Yiga Plus from USD 10 a month.

Buy this course · USD 18
  • Pay with MTN MoMo, Airtel Money, M-Pesa or card
  • Learn on phone or laptop
  • Certificate of completion
  • Data saver for low data: words without sound, light pictures
Training 5 or more people? Get Yiga for Business

What you'll learn

  • State null and alternative hypotheses for a data question.
  • Choose between t tests and Chi square tests.
  • Check key assumptions before running a test.
  • Run t tests in Python to compare means.
  • Use Chi square tests to examine categorical data.
  • Analyse A/B test results in Python.
  • Interpret p values without treating them as proof.
  • Explain conclusions, limitations and practical relevance.

Skills you'll gain

This course includes

  • 3h 9m of video
  • 12 lessons
  • AI tutor
  • Certificate of completion
  • Learn on your phone or computer

Curriculum

4 modules · 12 lessons · 3h 9m total
  • From a hunch to a hypothesis15m
  • Chance, p values and the surprising week15m
  • Pull and check your sample with SQL and pandas18m

Projects

Graded project: Hypothesis Testing in Python

Apply everything from Hypothesis Testing in Python in one graded, portfolio ready build.

Requirements

  • A laptop or desktop with a Python environment for coding exercises.
  • Internet access to use Yiga AI and submit coursework.
  • Basic Python knowledge, including working with tables of data.
  • Familiarity with averages, variation, samples and basic probability.

Description

Learn how to use hypothesis testing to assess differences and relationships in data. This intermediate course covers t tests, Chi square tests, A/B testing and interpreting p values, with Python used to carry out tests and explain the results. Each topic includes an overview and set up, core concepts, a worked example, hands on practice and a module quiz. Practise choosing a suitable test, stating hypotheses and checking assumptions before drawing conclusions. Finish with a graded project on hypothesis testing in Python. The course focuses on explaining what your results support, what remains uncertain and why statistical significance does not always mean practical importance.

Who this course is for

  • Junior data analysts who need to test differences between groups.
  • Monitoring and evaluation officers comparing programme results.
  • Product and marketing staff analysing A/B experiments.
  • University students in Uganda, Kenya, Tanzania, Rwanda or Nigeria with basic Python and statistics knowledge.

Career outcomes

Frequently asked questions

Will I receive a certificate?

Yes. Hypothesis Testing in Python ends with a Yiga certificate of completion. Finish every lesson and pass the final exam, and it appears under Certificates with a link anyone can use to check it is real.

How long will I have access to the course?

Check the access period shown in the enrolment details before joining. Contact support if the duration is not clear.

Can I study offline or with limited data?

Offline access and download options depend on what Yiga AI provides for this course. Check which materials can be downloaded. Python practice can be done offline once the required tools and files are installed, but platform activities may need an internet connection.

Can I pay with MTN MoMo, Airtel Money, M-Pesa or a card?

Check the payment options shown at checkout. Availability of MTN MoMo, Airtel Money, M-Pesa or card payments may vary by country; contact support if your preferred method is not listed.

How do I request a refund?

Contact support with your enrolment and payment details to ask about a refund.

Data Analysis with Pandas cover illustration

Data Analysis with Pandas

Clean, group and visualise tabular data with Python and pandas.

Yiga AI

CourseNew
19.5 total hours25 lessonsIntermediate
Python for Beginners cover illustration

Python for Beginners

Learn Python basics, work with lists, and build a small command line program.

Yiga AI

CourseNew
19.3 total hours24 lessonsBeginner
Data Visualisation for Decisions cover illustration

Data Visualisation for Decisions

Choose honest charts and turn African business and public data into clear decisions.

Yiga AI

CourseNew
19.3 total hours12 lessonsIntermediate
Data Cleaning in Python cover illustration

Data Cleaning in Python

Clean Python datasets by handling missing values, duplicates, data types, dates and outliers.

Yiga AI

CourseNew
14 total hours12 lessonsIntermediate

Hypothesis Testing in Python

USD 18