choicedata: A synthetic discrete choice dataset

Description Usage Format Details See Also Examples

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

1

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

1
2
3
4
data(choicedata)

# Frequency of alternatives chosen
table(choicedata$Choice)

RSGInc/RSGHB documentation built on July 4, 2019, 8:37 p.m.