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


Inference for Categorical Data in R

via Datacamp


In this course you'll learn how to leverage statistical techniques for working with categorical data.

Categorical data is all around us. It's in the latest opinion polling numbers, in the data that lead to new breakthroughs in genomics, and in the troves of data that internet companies collect to sell products to you. In this course you'll learn techniques for parsing the signal from the noise; tools for identifying when structure in this data represents interesting phenomena and when it is just random noise.


Inference for a single parameter
-In this chapter you will learn how to perform statistical inference on a single parameter that describes categorical data. This includes both resampling based methods and approximation based methods for a single proportion.

Proportions: testing and power
-This chapter dives deeper into performing hypothesis tests and creating confidence intervals for a single parameter. Then, you'll learn how to perform inference on a difference between two proportions. Finally, this chapter wraps up with an exploration of what happens when you know the null hypothesis is true.

Comparing many parameters: independence
-This part of the course will teach you how to use both resampling methods and classical methods to test for the indepence of two categorical variables. This chapter covers how to perform a Chi-squared test.

Comparing many parameters: goodness of fit
-The course wraps up with two case studies using election data. Here, you'll learn how to use a Chi-squared test to check goodness-of-fit. You'll study election results from Iran and Iowa and test if Benford's law applies to these datasets.

Taught by

Andrew Bray

Related Courses


Start your review of Inference for Categorical Data in R

Never Stop Learning!

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

Sign up for free