Answered step by step
Verified Expert Solution
Link Copied!

Question

...
1 Approved Answer

Task2: Linear regression: This is a dataset to predict the heath insurance costs of customers for a real health isurance company For sex, and smoker

image text in transcribed
image text in transcribed
Task2: Linear regression: This is a dataset to predict the heath insurance costs of customers for a real health isurance company For "sex", and "smoker" features, replace classes with 0 or 1. For instance "female" could be 0, "male" could be 1. Choice of 0 Use multiple linear regressionto predict charges. Set 20% of the data to be "test" set. Calculate RMSE for test set and training Find out which feature can be dropped, either using correlaton between features, or use t-stat ot p-value. Build a new model Compare first model and second model. Which one is better? Why? You can create as many sheets aas you want for this task, name them: Task2-1, Task2-2, ... . I already have created two blank s

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Intermediate Accounting Volume 2

Authors: Thomas Beechy, Joan Conrod, Elizabeth Farrell, Ingrid McLeod-Dick

6th Edition

9780071338820

Students also viewed these Mathematics questions