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 with the library() command. 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

Description

a cross-section

number of observations : 4654

observation : individuals

country : United States

Usage

data(Car)

Format

A dataframe containing :

choice

choice of a vehicle among 6 propositions

college

college education ?

hsg2

size of household greater than 2 ?

coml5

commute lower than 5 miles a day ?

typez

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

fuelz

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

pricez

price of vehicle divided by the logarithm of income

rangez

hundreds of miles vehicle can travel between refuelings/rechargings

accz

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

speedz

highest attainable speed in hundreds of mph

pollutionz

tailpipe emissions as fraction of those for new gas vehicle

sizez

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

spacez

fraction of luggage space in comparable new gas vehicle

costz

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

stationz

fraction of stations that can refuel/recharge vehicle

Source

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

References

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.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-ecdat-car.html" width="100%" height="100%" style="border:0px"></iframe>