Skip to main content

Hypothesis Testing in R

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

Start Course for Free
4 Hours16 Videos53 Exercises6,902 Learners4000 XPData Analyst TrackStatistician TrackStatistics Fundamentals Track

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


Course Description

Hypothesis testing lets you ask questions about your datasets and answer them in a statistically rigorous way. In this course you'll learn how and when to use common tests like t-tests, proportion tests, and chi-square tests. You'll gain a deep understanding of how they work, and the assumptions that underlie them. You'll also learn how different hypothesis tests are related using the "There is only one test" framework, and use non-parametric tests that let you side-step the requirements of traditional hypothesis tests. Throughout the course, you'll explore a Stack Overflow user survey, and a dataset of late shipments of medical supplies.

  1. 1

    Yum, That Dish Tests Good

    Free

    Learn why hypothesis testing is useful, and step through the workflow for a one sample proportion test. In doing so, you'll encounter important concepts like z-scores, p-p-values, and false negative and false positive errors. The Stack Overflow survey and late medical shipments datasets are introduced.

    Play Chapter Now
    To the lab for testing
    50 xp
    Uses of A/B testing
    50 xp
    Calculating the sample mean
    100 xp
    Calculating a z-score
    100 xp
    A tail of two z's
    50 xp
    Criminal trials and hypothesis tests
    50 xp
    Left tail, right tail, two tails
    100 xp
    Calculating p-values
    100 xp
    Statistically significant other
    50 xp
    Decisions from p-values
    50 xp
    Calculating confidence intervals
    100 xp
    Type I and type II errors
    100 xp

In the following tracks

Data Analyst StatisticianStatistics Fundamentals

Collaborators

chesterismayDr. Chester Ismay

Prerequisites

Sampling in R
Richie Cotton Headshot

Richie Cotton

Data Evangelist at DataCamp

Richie is a Data Evangelist at DataCamp. He has been using R since 2004, in the fields of proteomics, debt collection, and chemical health and safety. He has released almost 30 R packages on CRAN and Bioconductor – most famously the assertive suite of packages – as well as creating and contributing to many others. He also has written two books on R programming, Learning R and Testing R Code.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA

Join over 9 million learners and start Hypothesis Testing in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).