Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

DataCamp

Hypothesis Testing in R

via DataCamp

Overview

DataCamp Flash Sale:
50% Off - Build Data and AI Skills!
Grab it
Learn how and when to use hypothesis testing in R, including t-tests, proportion tests, and chi-square tests.

Discover Hypothesis Testing in R


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 sidestep the requirements of traditional hypothesis tests.



Learn About T-Tests and Chi-Square Tests


You’ll start by learning why hypothesis testing in R is useful while examining some key concepts as you go. You’ll also learn how t-tests can help you test for differences in means between two groups and how chi-square tests can help you compare observed results with expected results.



Understand the Relationships Between R Hypothesis Tests


As you progress, you’ll discover the relationships between different tests, exploring elements of randomness, independence of observation, and sample sizes.



By the time you finish this course, you’ll have a deeper understanding of hypothesis testing in R and when it’s appropriate to use specific tests on your data.



Throughout the course, you'll explore a Stack Overflow user survey and a dataset of late shipments of medical supplies."

Syllabus

  • Introduction to Hypothesis Testing
    • 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.
  • Two-Sample and ANOVA Tests
    • Learn how to test for differences in means between two groups using t-tests, and how to extend this to more than two groups using ANOVA and pairwise t-tests.
  • Proportion Tests
    • Learn how to test for differences in proportions between two groups using proportion tests, extended it to more than two groups with chi-square independence tests, and return to the one sample case with chi-square goodness of fit tests.
  • Non-Parametric Tests
    • Learn about the assumptions made by parametric hypothesis tests and see how simulation-based and rank-based non-parametric tests can be used when those assumptions aren't met.

Taught by

Richie Cotton

Reviews

4.2 rating at DataCamp based on 34 ratings

Start your review of Hypothesis Testing in R

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.