Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R-STUDIO OR R (STATISTICS) for titanic.csv (a) Fit a model with main effects, state it in statistical notation, interpret the coefficients of the model. Which

R-STUDIO OR R (STATISTICS) for titanic.csv

image text in transcribed

(a) Fit a model with main effects, state it in statistical notation, interpret the coefficients of the model. Which variables are most important in the model?

(b) Fit a model with two way effects, state it in statistical notation, interpret the coefficients of the model. Which variables or interactions are most important in this model?

(c) Fit a model with three way effects, state it in statistical notation, interpret the coefficients of the model. Which variables or interactions are most important in this model?

(d) Fit a saturated model, state it in statistical notation, interpret the coefficients of the model. Which variables or interactions are most important in this model?

DATASET titanic:

Class Age Sex Survived
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
2 1 0 1
2 1 0 1
2 1 0 1
2 1 0 1
3 1 0 1
3 1 0 1
3 1 0 1
3 1 0 1
3 1 0 1
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
3 0 1 0
0 0 1 0
0 0 1 0
0 1 1 1
0 1 1 1
0 1 1 0
0 1 1 0
0 1 1 0
0 1 1 0
QUESTION 4 The sinking of the Titanic is a famous event, and new books are still being published about it. Many well-known factsfrom the proportions of first-class passengers to the 'women and children first policy, and the fact that policy was not entirely successful in saving the women and children in the third classare reflected in the survival rates for various classes of passenger. In the R-package there is a data set called titanic.csv. The data set provides information on the fate of passengers on the fatal maiden voyage of the ocean liner Titanic, summarized according to economic status (class), sex, age and survival The variables and their levels are as follows: Name Levels Class (C) 1st, 2nd, 3rd, Crew Sex (G) Male, Female Age (A) Child, Adult Survived (5) No, Yes Perform a log-linear analysis in R to determine the association between class, sex, age and survival. Include all commands and output

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditor Going Concern Reporting A Review Of Global Research And Future Research Opportunities

Authors: Marshall A. Geiger, Anna Gold, Philip Wallage

1st Edition

0367649489, 978-0367649487

More Books

Students also viewed these Accounting questions