R Dataset / Package Ecdat / Car

How To Create a Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Stacked Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Pie Chart

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Compute the Mean

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Plot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How to Compute the Median

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Boxplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Correlation Coefficient

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Cumulative Frequency Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Dotplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Hollow Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Numerical Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Pie Chart

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Plot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Regression

Stem and Leaf Plots

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Visual Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.
Embed
<iframe src="https://embed.picostat.com/r-dataset-package-ecdat-car.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-30138.csv 1.44 MB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0
Dataset Help

On this Picostat.com 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.

Documentation

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.

Recent Queries For This Dataset

No queries made on this dataset yet.