“I liked the interactive environment on Dataquest. The material was clear and well organized. I spent more time practicing than watching videos and it made me want to keep learning.”

Jessica Ko

Machine Learning Engineer @Twitter

Course overview

In this course, you’ll learn about single and multi-category chi-square tests, degrees of freedom, hypothesis testing, and different statistical distributions.

To learn about hypothesis testing and statistical significance, you’ll work hands-on with multiple datasets on weight loss data — are patients losing weight due to pure luck, or is it a diet pill? You’ll run the numbers and find out!

Best of all, you’ll learn by doing — you’ll practice and get feedback directly in the browser.

At the end of the course, you’ll complete a guided project that asks you to work with data from the American TV show Jeopardy. You’ll analyze text and search for winning strategies. It’s a chance for you to combine the skills you learned in this course, and to showcase a fascinating project in your portfolio.

Key skills

  • Creating testable hypotheses
  • Defining regular and multi-category chi-squared tests
  • Performing significance testing to understand an outcome's importance
  • Handling probability density functions

Course outline

Hypothesis Testing in R [5 lessons]

Probability Distributions 1h

Lesson Objectives
  • Define a probability distribution
  • Calculate probabilities
  • Define a cumulative probability function

Hypothesis Testing 1h

Lesson Objectives
  • Identify wow hypothesis testing works
  • Identify the relations between hypothesis testing, probability and statistics

Categorical Data and The Chi-Squared Test 1h

Lesson Objectives
  • Determine the statistical significance of observing a set of categorical values
  • Generate the chi-squared distribution
  • Employ R functions for the chi-squared distribution

Multi category chi-squared tests 1h

Lesson Objectives
  • Extend chi-squared to multiple categories
  • Calculate the statistical significance of multi-category chi-squared tests

Guided Project: Winning Jeopardy 1h

Lesson Objectives
  • Expand your portfolio with a guided hypothesis testing project
  • Employ chi-squared tests to solve real problems

Projects in this course

Guided Project: Winning Jeopardy

Learn how to analyze text while figuring out strategies to win at Jeopardy.

The Dataquest guarantee


Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our path, you’ll master data skills and grow your career.


We believe so strongly in our paths that we offer a full satisfaction guarantee. If you complete a career path on Dataquest and aren’t satisfied with your outcome, we’ll give you a refund.

Master skills faster with Dataquest

Go from zero to job-ready

Go from zero to job-ready

Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.

Build your project portfolio

Build your project portfolio

Build confidence with our in-depth projects, and show off your data skills.

Challenge yourself with exercises

Challenge yourself with exercises

Work with real data from day one with interactive lessons and hands-on exercises.

Showcase your path certification

Showcase your path certification

Impress employers by completing a capstone project and certifying it with an expert review.

Grow your career with

of learners recommend
Dataquest for career advancement
Dataquest rating on
G2Crowd and SwitchUp
Average salary boost
for learners who complete a path

Aaron Melton

Business Analyst at Aditi Consulting

“Dataquest starts at the most basic level, so a beginner can understand the concepts. I tried learning to code before, using Codecademy and Coursera. I struggled because I had no background in coding, and I was spending a lot of time Googling. Dataquest helped me actually learn.”


Jessica Ko

Machine Learning Engineer at Twitter

“I liked the interactive environment on Dataquest. The material was clear and well organized. I spent more time practicing then watching videos and it made me want to keep learning.”


Victoria E. Guzik

Associate Data Scientist at Callisto Media

“I really love learning on Dataquest. I looked into a couple of other options and I found that they were much too handhold-y and fill in the blank relative to Dataquest’s method. The projects on Dataquest were key to getting my job. I doubled my income!”

Join 1M+ data learners on


Create a free account


Choose a learning path


Complete exercises and projects


Advance your career

Start learning today