These data were compiled by Macalester College students for a class project.
Then-undergraduates Elise delMas, Emiliano Urbina, and Candace Groth collected the data from
cars.com
data(Used_Fords)
A data frame Used_Fords
with 635 rows and 7 variables.
Price
The asking price for the car in USD.
Year
The model year of the car.
Mileage
The reported odometer reading.
Location
Which of the several regions the car was marketed in.
Color
The car's body color.
Age
The age of the car at the time the data were collected in 2009. This is directly related to Year
mod_1 <- lm(Price ~ Mileage, data = Used_Fords) mod_2 <- lm(Price ~ Mileage + Age, data = Used_Fords)