Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 4: Use the Titanic Passengers BBM.jmp data set for this exercise. a. Fit a logistic regression model, but this time include two-way interactions between
Exercise 4: Use the Titanic Passengers BBM.jmp data set for this exercise. a. Fit a logistic regression model, but this time include two-way interactions between Passenger Class, Age and Sex. First, add all predictors to the model. Then, highlight these three variables in the column selection panel and select Macros 3- Factorial to degree. Interactions are represented like this: Passenger Class*Age. (Hint: To add interactions one at a time, select two variables in the column selection panel and choose Cross.) Are any of the two-way interactions significant? Use the Effect Summary table to reduce the model one term at a time. Note: If a term has a M" next to the pvalue in the Effect Summaryr table, it is involved in an interaction and should not be removed. Use the Prediction Proler to interpret the model. In particular, interpret the interaction between Passenger Class and Age
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started