In: Statistics and Probability
Data below shows counts of males and females in a sample
population and the political party...
Data below shows counts of males and females in a sample
population and the political party they voted for.
- Create the observations matrix using the provided R syntax
below
- Select the appropriate statistical test,
- Formulate the null hypothesis in your own words,
- Compute the test statistic,
- Find the critical value in Chi square table with the
corresponding degrees of freedom
- Find and interpret the statistical decision at the 0.01
significance level
# Gender and political affiliation
observed <- as.table(rbind(c(762, 327, 468), c(484, 239,
477)))
dimnames(observed) <- list(gender = c("F", "M"), party =
c("Democrat","Independent", "Republican"))
observed