Statistics homework help
Statistics homework help. Use “margin.table” to get the Titanic marginal table for factors 1 (class of accommodations) and 4 (survival). Apply the chi square test to see if class and survival are dependent. Do it both by hand and with “chisq.test” in R.