Learn R Programming

statisticalModeling (version 0.3.0)

Used_Fords: Prices of used Ford automobiles in 2009

Description

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

Usage

data(Used_Fords)

Arguments

Format

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

Examples

Run this code
mod_1 <- lm(Price ~ Mileage, data = Used_Fords)
mod_2 <- lm(Price ~ Mileage + Age, data = Used_Fords)

Run the code above in your browser using DataLab