LF06travel {catregs} | R Documentation |
Travel time example data for alternative-specific outcomes.
Description
Example data, also used in Long and Freese (2006), to illustrate conditional or fixed effects logistic regression. Also refered to as alternative-specific outcomes.
Usage
data("LF06travel")
Format
A data frame with 456 observations on the following 13 variables.
id
a numeric vector denoting nested units (individuals) or strata
mode
a numeric vector denoting mode of transit
train
a dummy variable for selecting the train
bus
a dummy variable for selecting the bus
car
a dummy variable for selecting a car
time
a numeric vector denoting transit time
invc
a numeric vector denoting invertng cost
choice
a numeric vector denoting the choice of travel, i.e. the dependent variable
ttme
a numeric vector
invt
a numeric vector
gc
a numeric vector
hinc
a numeric vector
psize
a numeric vector
Source
Long, Scott J. and Jeremy Freese. 2006. "Regression Models for Categorical Dependent Variables Using Stata." Austin, TX: Stata Press
Examples
data(LF06travel)
head(LF06travel)