trchoice {smdata} | R Documentation |
Transportation mode choice
Description
Choice of transportation mode by gender.
Usage
data("trchoice")
Format
A data frame with 10 observations on the following 4 variables.
treeid
a numeric vector needed for identifying a tree in the MPT algorithm
sex
a numeric vector taking the value
1
if male and0
if femaleresp
a factor denoting the transport mode choice, where
D
denotes driving one's own vehicle,F
denotes getting a ride with a friend,O
denotes other,P
denotes using public transport, andW
denotes walkingfr
a numeric vector recording the frequency with which each transport mode is chosen
Source
The data are extracted from the 1991-1994 Drug Abuse Treatment Outcome Study (2010) data (DATOS).
References
United States Department of Health and Human Services and National Institute of Health and National Institute on Drug Abuse (2010). Drug Abuse Treatment Outcome Study, 1991-1994. Ann Arbor, MI: Inter-university Consortium for Political and Social Research.
Examples
data("trchoice", package="smdata")