Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Load the data set diamonds from the ggplot2 library. How many rows are there? How many columns? Which fields are categorical? Perform some basic EDA.

Load the data set diamonds from the ggplot2 library.\ How many rows are there? How many columns? Which fields are categorical?\ Perform some basic EDA. Which variables seem most closely related? Which seem least related?\ Using only the numerical features, fit a linear regression model to predict the price.\ Using visualization, determine which is any of the factors you wish to recode as numerics. If so, make that recode (you should be able to figure this out, but you can always google it or ask me).\ With the recoded variables, find a linear model you like to predict price.

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

The 30 Minute Stock Trader

Authors: Laurens Bensdorp

1st Edition

1619615738, 978-1619615731

More Books

Students also viewed these Finance questions

Question

1. What are key tips for writing application letters?

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago