Question
I need help completing this assignment in R code as well as answering the questions. Example code and explaining how you did it would help
I need help completing this assignment in R code as well as answering the questions. Example code and explaining how you did it would help me understand better how to use Rstudio!
Rather than uploading, I found a open source document on github of the same datasheet I have: https://github.com/reisanar/datasets/blob/master/ToyotaCorolla.csv
Download Toyota CSV spreadsheet contains data on used cars on sale during late summer of 2004 in the Netherlands.
It consists of 1436 records with details on 38 attributes, including price, age, kilometers and other specifications.
The goal is to predict the price of a used Toyota based on its specifications.
1. Run first a simple regression model, and report the regression equation, the slope and intercept.
a. Report the coefficient of determination and interpret it.
b. Compute the confidence interval for the slope and intercept.
c. Compute the t test for the significance of the regression and interpret your findings
2. Run a multiple regression model with an outcome, price, and predictor variables for:
a. Age_08_04
b. KM
c. Fuel_Type
d. HP
e. Automatic
f. Doors
g. Quarterly_Tax
h. Mfr_Guarantee
i. Guarantee_Period
j. Airco
k. Automatic_airco
l. CD_Player
m. Powered_Windows
n. Sport_Model
o. Tow_Bar
- Report the regression equation, the slope, and intercept.
- Report the coefficient of determination and interpret it.
- Compute the confidence interval for the slope and intercept.
- Compute the F test for the significance of the regression.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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