Question: ### Question 2 Hypothesis Test [2 points] #### Using the functions available in R, conduct a chi-squared test for independence test on the table
### Question 2 Hypothesis Test [2 points] #### Using the functions available in R, conduct a chi-squared test for independence test on the table previously created. Save this test as the variable `titanic.test` ``{r hypothesisTest} # Save the results of the chisq.test in the variable titanic.test titanic.test=NA Consider the following table calculated for the hypothesis test. ``{r expectedTable} print(titanic.test$expected) #### Explain as if explaining to someone with moderate statistical knowledge what the table of values displayed above represents, contextualized to this specific hypothesis. Also, identify why (under the null hypothesis being true), the observed data does not match the table seen above (aside from not being whole numbers). "Response"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
