Description Usage Format Details Source References
Data on travel mode choice for travel between Sydney and Melbourne, Australia.
1 | data("TravelMode")
|
A data frame containing 840 observations on 4 modes for 210 individuals.
This corresponds to so-called long format since we have 4 rows per
individual in a situation with 4 classes/categories of the response variable mode.
Factor indicating individual with levels 1 to 200.
Factor indicating travel mode with levels
"car", "air", "train", or "bus".
Factor indicating choice with levels "no" and "yes".
Terminal waiting time, 0 for car.
Vehicle cost component.
Travel time in the vehicle.
Generalized cost measure.
Household income.
Party size.
Data and description are taken from R package AER by Christian Kleiber and Achim Zeileis.
In MRSP-terminology, variables wait, vcost, travel and gcost are
category-specific since they take different values for different categories of mode. The variables
income and size are global. In the literature on discrete choice modelling,
these two variable types are called “alternative-specific” and “individual-specific”, respectively.
R package AER, which states its source as follows:
Online complements to Greene (2003).
http://pages.stern.nyu.edu/~wgreene/Text/tables/tablelist5.htm
Greene, W.H. (2003). Econometric Analysis, 5th edition. Upper Saddle River, NJ: Prentice Hall.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.