Introduction to R: Chi-Squared Tests
This is lesson 25 of a 30-part introduction to the R programming language for data analysis and predictive modeling. Link to the code notebook below:
Intro to R: Chi-Squared Tests
https://www.kaggle.com/hamelg/intro-to-r-part-25-Chi-Squared-Tests
This lesson covers the chi-squared goodness of fit test and the chi-squared test of independence. The goodness of fit test checks whether a categorical variable in a sample differs from a population. The test of independence tests whether two categorical variables are independent of one another.
This guide does not assume any prior exposure to R, programming or data science. It is intended for beginners with an interest in data science and those who might know other programming languages and would like to learn R.
I will create the videos for this guide such that you should be able to learn a lot just watching on YouTube, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can fork and edit each lesson so that you can follow along and run code yourself.
Introduction to R Playlist:
https://www.youtube.com/playlist?list=PLiC1doDIe9rDjk9tSOIUZJU4s5NpEyYtE