Docsity

Data Analysis for Car Price Prediction, Lab Reports of Statistics

Toggle sidebar
bg1
Lab_Assigment 6 March 10, 2006
Dr. Bensmail
Data: C5_CARPR1
Here we are trying to predict different model c ar price (PRICE) using the size of their engine,
the possibility of having an airbag, their class, and their horsepower
LITER: the size of t he engine
AIRBAG: indicator variable, if1 ( has an airbag),0 ( does not have one)
CLASS_CD: the car’s class
01245
convertible Coupe Hatchback Sedan Mini-Van
H/P: the car’s horsepower
Consumers are willing to pay more money for more powerful cars, and H/P is a standard
industry measure for a c ar’s power.
1. Investigate the distribution of the variable Price. Any comment? Transform this variable using the
natural logarithm. We call the new variable LNPrice. Investigate the distribution of LNPrice?
2. Fit a regression model on LNPrice using the size of the engine (LITER) and the Horsepower (H/P)
as explanatory variables.
3. Test the overall hypothesis.
4 . Fit a regression model on LNPrice using LITER, AIRBAG and H/P as explanatory variables.
1
pf2

Partial preview of the text

Download Data Analysis for Car Price Prediction and more Lab Reports Statistics in PDF only on Docsity!

Lab_Assigment 6 March 10 , 2006

Dr. Bensmail

Data: C5_CARPR

Here we are trying to predict different model car price (PRICE) using the size of their engine, the possibility of having an airbag, their class, and their horsepower

 LITER: the size of the engine

 AIRBAG: indicator variable, if 1 (has an airbag), 0 ( does not have one)

 CLASS_CD: the car’s class

convertible Coupe Hatchback Sedan Mini-Van

 H/P: the car’s horsepower

Consumers are willing to pay more money for more powerful cars, and H/P is a standard industry measure for a car’s power.

  1. Investigate the distribution of the variable Price. Any comment? T ransform this variable using the natural logarithm. We call the new variable LNPrice. Investigate the distribution of LNPrice? 2. Fit a regression model on LNPrice using the size of the engine (LITER) and the Horsepower (H/P) as explanatory variables.
  2. Test the overall hypothesis. 4. Fit a regression model on LNPrice using LITER, AIRBAG and H/P as explanatory variables.

1

5. What will be the increase of the price we pay for a car with an airbag.

6. Fit a regression model on LNPrice using LITER, AIRBAG, H/P and Class_CD

7. Is the model adequate?

8. What is the expected car price for a Convertible in excess of what would have been

paid for a Mini - Van?

9 .What is the expected car price for a Sedan in excess of what would have been paid for

a Mini - Van

10. Test if Sedan is important to predict the price of a car controlling for the effect of all the other variables.

11. We think that we should take into consideration the effect of the interaction of horsepower and the Liter variable. Fit the regression on LNPrice using Liter, Airbag, H/P, Class_CD and the interaction term.

12. Is the interaction term useful?