Abstract

Discrete Choice with Simulation


Author: Kenneth Train

Copyright (c) 2001. Kenneth Train.

Keywords: discrete choice, logit, simulation

References: K. Train, Discrete Choice Methods with Simulation, Cambridge University Press, 2002.

Description: The field of discrete choice analysis has changed radically over the last decade, due primarily to the use of simulation methods. "Discrete Choice with Simulation" is an online graduate course by Kenneth Train, developed in 2001.

Exercises are provided to assist the user in learning how to run the codes and interpret the results, using datasets collected by Kenneth Train. The computer programs can, of course, be used with one's own datasets.

Platforms: Gauss. The same Gauss program can be run on either Unix (Solaris 7) or PC (W95/98/NT) platforms.

Support: Please contact the author with questions or suggestions at train@econ.berkeley.edu.

By clicking on the links below, you agree that you have read our disclaimer, understand it, and will abide by its terms and conditions.

Archive files: train00401.zip, train0401.tar
The programs, sample data, and output are contained in the files described in the manifest below. If you click on the zip archive (train0401.zip), you will download an archive that requires PKWare's unzip software to expand the archive. If you click on the tar archive (train0401.tar), you will download an archive that requires tar software to extract the tarfiles.

Manifest:


drwxr-sr-x   2 katagiri ftp          512 Jan 25 11:03 ps01.logit/
-rw-r--r--   1 katagiri staff      71669 Jan 25 11:03 data1.sav
-rw-r--r--   1 katagiri staff       7299 Jan 25 15:55 exercises.txt
-rw-r--r--   1 katagiri staff        752 Jan 16 13:37 frcst.cmd
-rw-r--r--   1 katagiri staff       3839 Jan 16 13:41 frcst.out
-rw-r--r--   1 katagiri staff       2210 Jan 18 12:11 readme.txt
-rw-r--r--   1 katagiri staff        306 Nov  1 17:49 sample.cmd
-rw-r--r--   1 katagiri staff       2924 Nov  1 17:50 sample.out

drwxr-sr-x   2 katagiri ftp          512 Feb 13 15:10 ps02.max/
-rw-r--r--   1 katagiri staff     240300 Oct 31 15:11 data1.asc
-rw-r--r--   1 katagiri staff       7854 Jan 18 12:13 exercises.txt
-rw-r--r--   1 katagiri staff       1126 Nov  1 15:43 job1.txt
-rw-r--r--   1 katagiri staff       1473 Nov  1 15:40 job2.txt
-rw-r--r--   1 katagiri staff       2709 Nov 15 14:56 job3.txt
-rw-r--r--   1 katagiri staff       3255 Feb 13 15:10 out1.txt
-rw-r--r--   1 katagiri staff       3269 Feb 13 13:23 out2.txt
-rw-r--r--   1 katagiri staff       2211 Feb 13 13:23 out3.txt
-rw-r--r--   1 katagiri staff       1152 Jan 18 12:14 readme.txt

drwxr-sr-x   2 katagiri ftp          512 Feb 13 13:24 ps03.nlogit/
-rw-r--r--   1 katagiri staff       2854 Jan 25 16:53 exercises.txt
-rw-r--r--   1 katagiri staff      63250 Nov  1 17:52 nested1.asc
-rw-r--r--   1 katagiri staff       2652 Nov 16 16:10 nested1.txt
-rw-r--r--   1 katagiri staff       7803 Feb 13 13:24 nestout1.txt
-rw-r--r--   1 katagiri staff       1391 Jan 18 12:16 readme.txt

drwxr-sr-x   2 katagiri ftp          512 Feb 21 11:40 ps04.probit/
-rw-r--r--   1 katagiri staff       3760 Feb 19 15:32 depid.fmt
-rw-r--r--   1 katagiri staff      14632 Feb 19 15:32 depm.fmt
-rw-r--r--   1 katagiri staff       6275 Feb 21 10:30 exercises.txt
-rw-r--r--   1 katagiri staff       5452 Feb 20 14:23 pfc.txt
-rw-r--r--   1 katagiri staff        139 Feb 21 11:13 pfcout.txt
-rw-r--r--   1 katagiri staff      20106 Feb 21 11:15 pout.txt
-rw-r--r--   1 katagiri staff       5140 Feb 21 10:29 probit.txt
-rw-r--r--   1 katagiri staff       1553 Feb 19 15:32 readme
-rw-r--r--   1 katagiri staff      72616 Feb 19 15:32 vars.fmt

drwxr-sr-x   2 katagiri ftp          512 Mar 12 15:26 ps05.mxl/
-rw-r--r--   1 katagiri staff       3628 Feb 19 15:23 ReadMe
-rw-r--r--   1 katagiri staff       5614 Mar 12 14:15 exercises
-rw-r--r--   1 katagiri staff      21245 Aug 18  1999 manual.txt
-rw-r--r--   1 katagiri staff       5856 Feb 19 13:08 modmxl.g
-rw-r--r--   1 katagiri staff      38739 Feb 19 13:00 mxlp.g
-rw-r--r--   1 katagiri staff      16083 Feb 19 13:45 out1.txt
-rw-r--r--   1 katagiri staff      17723 Feb 19 14:16 output.txt
-rw-r--r--   1 katagiri staff       6499 Feb  7 17:14 times
-rw-r--r--   1 katagiri staff    2080765 Feb  7 17:14 xdata
-rw-r--r--   1 katagiri staff      77545 Feb  7 17:14 ydata

drwxr-sr-x   2 katagiri ftp          512 Feb 21 11:42 ps06.hb/
-rw-r--r--   1 katagiri staff        281 Feb 18 11:52 ReadMe
-rw-r--r--   1 katagiri staff       8525 Feb 18 17:00 exercises
-rw-r--r--   1 katagiri staff       5970 Feb 18 12:05 hb1.g
-rw-r--r--   1 katagiri staff      10938 Feb 18 13:12 hbout1.txt
-rw-r--r--   1 katagiri staff       6499 Feb 16 14:05 times
-rw-r--r--   1 katagiri staff    2080765 Feb 16 14:06 xdata
-rw-r--r--   1 katagiri staff      77545 Feb 16 14:06 ydata

drwxr-sr-x   2 katagiri ftp          512 Feb 12 15:12 ps1answers/
-rw-r--r--   1 katagiri staff        150 Feb 12 15:10 ReadMe
-rw-r--r--   1 katagiri staff       1283 Feb 12 15:04 frcst2.cmd
-rw-r--r--   1 katagiri staff       7419 Feb 12 15:04 frcst2.out
-rw-r--r--   1 katagiri staff       1592 Feb 12 15:02 sample2.cmd
-rw-r--r--   1 katagiri staff      11989 Feb 12 15:02 sample2.out

drwxr-sr-x   2 katagiri ftp          512 Feb 12 15:46 ps2answers/
-rw-r--r--   1 katagiri staff        537 Feb 12 15:34 ReadMe
-rw-r--r--   1 katagiri staff       1360 Feb 12 15:19 ktjob1.txt
-rw-r--r--   1 katagiri staff       1489 Feb 12 15:22 ktjob1a.txt
-rw-r--r--   1 katagiri staff       1658 Feb 12 15:51 ktjob1b.txt
-rw-r--r--   1 katagiri staff       2518 Feb 12 15:20 ktjob3a.txt
-rw-r--r--   1 katagiri staff      20043 Feb 12 15:46 ktout1.txt
-rw-r--r--   1 katagiri staff      20043 Feb 12 15:46 ktout1a.txt
-rw-r--r--   1 katagiri staff      24400 Feb 12 15:52 ktout1b.txt
-rw-r--r--   1 katagiri staff       2211 Feb 12 15:21 ktout3a.txt

drwxr-sr-x   2 katagiri ftp          512 Feb 21 12:00 ps3answers/
-rw-r--r--   1 katagiri staff        142 Feb 21 12:00 ReadMe
-rw-r--r--   1 katagiri staff       2652 Jan 25 14:54 nested2.txt
-rw-r--r--   1 katagiri staff       2763 Jan 25 14:58 nested3.txt
-rw-r--r--   1 katagiri staff       3596 Jan 25 15:47 nested4.txt
-rw-r--r--   1 katagiri staff      10078 Jan 25 14:54 nestout2.txt
-rw-r--r--   1 katagiri staff      13201 Jan 25 14:51 nestout3.txt
-rw-r--r--   1 katagiri staff      11594 Jan 25 15:47 nestout4.txt

drwxr-sr-x   2 katagiri ftp          512 Feb 21 11:30 ps4answers/
-rw-r--r--   1 katagiri staff        163 Feb 21 11:30 ReadMe
-rw-r--r--   1 katagiri staff       5599 Feb 21 10:31 pfc5.txt
-rw-r--r--   1 katagiri staff        348 Feb 21 11:14 pfcout5.txt
-rw-r--r--   1 katagiri staff      20106 Feb 21 11:15 pout3.txt
-rw-r--r--   1 katagiri staff       8311 Feb 21 11:23 pout6.txt
-rw-r--r--   1 katagiri staff       5141 Feb 21 10:49 probit3.txt
-rw-r--r--   1 katagiri staff       5492 Feb 21 10:38 probit6.txt

drwxr-sr-x   2 katagiri ftp          512 Mar 12 15:13 ps5answers/
-rw-r--r--   1 katagiri staff        180 Feb 19 15:15 ReadMe
-rw-r--r--   1 katagiri staff       6101 Feb 19 15:20 modmxl3.g
-rw-r--r--   1 katagiri staff       6313 Feb 19 15:20 modmxl4.g
-rw-r--r--   1 katagiri staff      38740 Feb 19 15:21 mxlp6.g
-rw-r--r--   1 katagiri staff      39851 Mar 12 14:17 mxlp7.g
-rw-r--r--   1 katagiri staff      18675 Feb 19 15:21 out3.txt
-rw-r--r--   1 katagiri staff      13365 Feb 19 15:21 out4.txt
-rw-r--r--   1 katagiri staff      17719 Feb 19 15:21 output6.txt
-rw-r--r--   1 katagiri staff      14468 Mar 12 14:34 output7.txt

drwxr-xr-x   2 katagiri ftp          512 Apr 21 13:26 ps6answers/
-rw-r--r--   1 katagiri staff        329 Feb 18 17:05 ReadMe
-rw-r--r--   1 katagiri staff       5970 Feb 18 16:07 hb4.g
-rw-r--r--   1 katagiri staff       5980 Feb 18 16:07 hb5.g
-rw-r--r--   1 katagiri staff       5979 Feb 18 16:07 hb6.g
-rw-r--r--   1 katagiri staff       6074 Feb 18 16:07 hb7.g
-rw-r--r--   1 katagiri staff       6171 Apr 21 13:26 hb8.g
-rw-r--r--   1 katagiri staff      11789 Feb 18 16:07 hbout4.txt
-rw-r--r--   1 katagiri staff      10970 Feb 18 16:07 hbout5.txt
-rw-r--r--   1 katagiri staff       7163 Feb 18 16:07 hbout6.txt
-rw-r--r--   1 katagiri staff       8155 Feb 18 16:07 hbout7.txt
-rw-r--r--   1 katagiri staff       7621 Apr 21 13:26 hbout8.txt


Test problems developed by K. Train. No errors reported. Test was run multiple times on a Sun Ultra running Solaris 7.

Archived by Grace Katagiri, 25 April 2001

Last modified: 10/06/2003