Question: Rstudio coding/statistics question. How can I by using `team_counts` and `chisq.test()` , test the null hypothesis of independence between the `type` variable (home and away)
Rstudio coding/statistics question.
How can I by using `team_counts` and `chisq.test()`, test the null hypothesis of independence between the `type` variable (home and away) and the counts of `lose`, `draw` or `win` for Faroe Islands. - what is the conclusion of the test? - investigate the conditions for using the `chisq.test()`, was is OK to apply this test for the Faroe Islands?
Here's a picture of the data frame for team_counts:

Thanks
**{r} team_counts % group_by (team, type) %>% summarise(count = n(), lose = sum( score 0), -groups = 'drop' ) team_counts team
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
