R Dataset / Package Ecdat / Car


On this R-data statistics page, you will find information about the Car data set which pertains to Stated Preferences for Car Choice . The Car data set is found in the Ecdat R package. You can load the Car data set in R by issuing the following command at the console data("Car"). This will load the data into a variable called Car. If R says the Car data set is not found, you can try installing the package by issuing this command install.packages("Ecdat") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Car R data set. The size of this file is about 1,508,744 bytes.

Stated Preferences for Car Choice


a cross-section

number of observations : 4654

observation : individuals

country : United States




A dataframe containing :


choice of a vehicle among 6 propositions


college education ?


size of household greater than 2 ?


commute lower than 5 miles a day ?


body type, one of regcar (regular car), sportuv (sport utility vehicle), sportcar, stwagon (station wagon), truck, van, for each proposition z from 1 to 6


fuel for proposition z, one of gasoline, methanol, cng (compressed natural gas), electric.


price of vehicle divided by the logarithm of income


hundreds of miles vehicle can travel between refuelings/rechargings


acceleration, tens of seconds required to reach 30 mph from stop


highest attainable speed in hundreds of mph


tailpipe emissions as fraction of those for new gas vehicle


0 for a mini, 1 for a subcompact, 2 for a compact and 3 for a mid–size or large vehicle


fraction of luggage space in comparable new gas vehicle


cost per mile of travel (tens of cents) : home recharging for electric vehicle, station refueling otherwise


fraction of stations that can refuel/recharge vehicle


McFadden, Daniel and Kenneth Train (2000) “Mixed MNL models for discrete response”, Journal of Applied Econometrics, 15(5), 447–470.


Journal of Applied Econometrics data archive : http://qed.econ.queensu.ca/jae/.

See Also

Index.Source, Index.Economics, Index.Econometrics, Index.Observations


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-30138.csv 1.44 MB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.