2. Regression Analysis (33.33 points)
a. Import the ToyotaCorolla-Exam.csv file to R Studio.
b. Randomly select 60% of the cars and assign them to a training partition. The remaining 40% of cars should be assigned to a validation partition.
c. Fit a linear regression model on the training partition using OLS with Price as the dependent variable and Age_08_04, KM, Fuel_Type and HP as the predictors.
d. Write the equation of the fitted model below.
e. What is the RMSE of the fitted model in the validation partition? Interpret the results.
f. Using your fitted model, what is the predicted price of a diesel car 25 months old with 41,008 km driven, and a 90 HP engine? You may use Excel to assist you.
g. Order the observations in your validation partition from low to high Price and create 20 bins with each bin containing an approximately equal number of observations from the validation partition. For each of the 20 bins, calculate the average predicted and average actual values using only the observations in the bin. Plot the results on a line chart with bin number on the X axis and Price on the Y axis.
h. Which observation in the validation partition has the greatest error? Why do you think this observation has the largest error and what, if anything, can be done about it?
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme