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)


Search within the RSGHB package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.