Skip to content
Coming soon: Ally. Your guide to the world of AI and R. Learn More →
R for the Rest of Us Logo

Inferential Statistics with R

Chi-Square

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

  1. Perform a chi-square to examine how grade_class relates to live_on_campus. What is the p-value? Is there a relationship?

  2. If there is a significant difference, examine standardized residuals and the observed/expected frequencies to determine what grade class is more or less likely to live on campus. Interpret the results.

Learn More

Read more about the chisq.test() function in the janitor package.