EXAMPLE FILES AND DATA

This page contains a number of examples using Apollo and associated datafiles. These examples are for the latest version of Apollo. For examples for older versions, please see the code page

GO TO DATA FILES
GO TO EXAMPLE FILES FROM MANUAL
GO TO EXAMPLE FILES FROM PAPER
GO TO ZIP FILE
DATA FILES

apollo_modeChoiceData.csv

  • Description: Synthetic mode choice dataset (RP&SP) with four alternatives and basic socio-demographics (data dictionary)

apollo_swissRouteChoiceData.csv

apollo_drugChoiceData.csv

  • Description: Synthetic SP data on painkiller choices with attitudinal questions (data dictionary)

apollo_timeUseData.csv

  • Description: RP data on time used captured using smartphone tracking app (data dictionary)
EXAMPLE FILES FROM MANUAL

Apollo_example_1.r

  • Description:Simple MNL model on mode choice RP data

Apollo_example_2.r

  • Description:Simple MNL model on mode choice SP data

Apollo_example_3.r

  • Description:MNL model with socio-demographics on mode choice SP data

Apollo_example_4.r

  • Description:Two-level NL model with socio-demographics on mode choice SP data

Apollo_example_5.r

  • Description:Three-level NL model with socio-demographics on mode choice SP data

Apollo_example_6.r

  • Description:CNL model with socio-demographics on mode choice SP data

Apollo_example_7.r

  • Description:Simple RRM model on mode choice SP data

Apollo_example_8.r

  • Description:DFT model on Swiss route choice data

Apollo_example_9.r

  • Description:DFT model on mode choice SP data

Apollo_example_10.r

  • Description:Exploded logit model on drug choice data

Apollo_example_11.r

  • Description:MDCEV model on time use data without outside good and constants only in utilities

Apollo_example_12.r

  • Description:MDCEV model on time use data with outside good and with covariates in utilities

Apollo_example_13.r

  • Description:MDCNEV model on time use data with outside good and with covariates in utilities

Apollo_example_14.r

  • Description:Mixed logit model on Swiss route choice data, uncorrelated Lognormals in utility space

Apollo_example_15.r

  • Description:Mixed logit model on Swiss route choice data, correlated Lognormals in utility space

Apollo_example_16.r

  • Description:Mixed logit model on Swiss route choice data, WTP space with correlated and flexible distributions, inter and intra-individual heterogeneity

Apollo_example_17.r

  • Description:Mixed MDCEV model on time use data, alpha-gamma profile, no outside good and random constants only in utilities

Apollo_example_18.r

  • Description:Simple LC model on Swiss route choice data

Apollo_example_19.r

  • Description:Simple DM model on Swiss route choice data

Apollo_example_20.r

  • Description:LC model with class allocation model on Swiss route choice data

Apollo_example_21.r

  • Description:Latent class with continuous random parameters on Swiss route choice data

Apollo_example_22.r

  • Description:RP-SP model on mode choice data

Apollo_example_23.r

  • Description:Best-worst model on drug choice data

Apollo_example_24.r

  • Description:ICLV model on drug choice data, using ordered measurement model for indicators

Apollo_example_25.r

  • Description:ICLV model on drug choice data, using continuous measurement model for indicators

Apollo_example_26.r

  • Description:HB model on mode choice SP data

Apollo_example_27.r

  • Description:Simple LC model on Swiss route choice data, EM algorithm

Apollo_example_28.r

  • Description:LC model with class allocation model on Swiss route choice data, EM algorithm

Apollo_example_29.r

  • Description:Mixed logit model on Swiss route choice data, correlated Lognormals in utility space, EM algorithm
EXAMPLE FILES FROM PAPER

hybrid_model_classical.r

  • Description:Hybrid choice model on drug choice data, classical estimation

hybrid_model_bayesian.r

  • Description:Hybrid choice model on drug choice data, bayesian estimation
ZIP FILE

models_and_data.zip

  • Description:Compressed file containing all model examples and data files