Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the script below to create a multivariate logistic regression model for the 0-1 dependent variable insuranceclaim in the insurance dataset.(Insurance.csv) # Pastable script; ins

Use the script below to "create a" multivariate logistic regression model for the 0-1 dependent variable insuranceclaim in the insurance dataset.(Insurance.csv) # Pastable script; ins <- read.csv("insurance.csv"); attach(ins); LR1 <- glm(insuranceclaim ~ ., data = ins, family = "binomial"); round(exp(cbind(OR = coef(LR1), confint(LR1))), 3); library(gplots); plotmeans(insuranceclaim ~ children); (a) What is the largest odds ratio (OR) for any of the independent variables? -Round answers to 3 decimals places, like 1.234 The variable children is associated with the largest reduction in insuranceclaim risk. (b) What is an upper 95% confidence limit for its OR? -Round answers to 3 decimals places, like 1.234

Only Typing answer

Not a picture

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

Elementary Linear Algebra with Applications

Authors: Howard Anton, Chris Rorres

9th edition

471669598, 978-0471669593

More Books

Students also viewed these Mathematics questions

Question

The importance of financial planning? P715

Answered: 1 week ago