0% found this document useful (0 votes)
50 views20 pages

Miles Per Gallon

This document analyzes how miles per gallon is related to other variables using data from 399 car observations. The dataset contains information on miles per gallon, engine size, horsepower, weight, acceleration, model year, origin, and number of cylinders. Some values are missing from the attributes. Outliers are removed from the data before regression models are created to determine which variables best predict miles per gallon based on their R^2 values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views20 pages

Miles Per Gallon

This document analyzes how miles per gallon is related to other variables using data from 399 car observations. The dataset contains information on miles per gallon, engine size, horsepower, weight, acceleration, model year, origin, and number of cylinders. Some values are missing from the attributes. Outliers are removed from the data before regression models are created to determine which variables best predict miles per gallon based on their R^2 values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Miles per Gallon

Submitted By:Sahil Raj


Vipin Kataria

Business Problem: How miles per gallon is dependent on other


variables?

Data Set: A part of mtcars data set is used, which is from


the 1974 Motor Trend US magazine (1973-74
models).
Number of Observations: 399
Number of Attributes: 8

Attribute Information:
1.
2.
3.
4.
5.
6.
7.
8.

Miles Per Gallon: Numeric


Engine Size: Numeric
Horse Power: Numeric
Weight: Numeric
Acceleration(in Sec): Numeric
Model year: Numeric
Country of origin: Categorical
No. of cylinders: Numeric

Attribute Information & Missing


Values:

Missing Attribute Values:


1.
2.
3.
4.
5.
6.
7.
8.

Miles Per Gallon: 6


Engine Size: 5
Horse Power: 8
Weight: 3
Acceleration(in Sec): 3
Model year: 2
Country of origin: 6
No. of cylinders: 8

Summary of Attributes:

Removing Outliers:-

After removing Outliers:-

Data Cleaning:

After Cleaning:

Regression Models & R^2


Values(1):

Regression Models & R^2


Values(2):

Regression Models & R^2


Values(3):

Regression Models & R^2


Values(4):

Regression Models & R^2


Values(5):

Regression Models & R^2


Values(6):

Regression Models & R^2


Values(7):

Regression Models & R^2


Values(8):

Thank You

You might also like