choicedata {RSGHB} | R Documentation |
A synthetic discrete choice dataset
Description
A synthetic discrete choice dataset with each observation having two generic alternatives composed of two attributes (travel time and toll). The data are panel in nature (as opposed to cross-sectional) with 8 choice tasks per decision maker.
Usage
data(choicedata)
Format
A data frame with one row per choice task.
ID
Decision maker identifier
thecount
Experiment number
tt1
Travel time for the first alternative
tt2
Travel time for the second alternative
toll2
Toll for the second alternative
asc1
Dummy for alternative specific constant
Choice
Choice made
Details
These choice data were synthetically derived to be used in generating examples of how RSGHB is used to estimate discrete choice models.
See Also
doHB
Examples
data(choicedata)
# Frequency of alternatives chosen
table(choicedata$Choice)
[Package RSGHB version 1.2.2 Index]