Skip to main content Accessibility help
×
Hostname: page-component-7bb8b95d7b-fmk2r Total loading time: 0 Render date: 2024-09-17T12:04:17.800Z Has data issue: false hasContentIssue false

10 - Data set up for Nlogit

from Part II - Software and data

Published online by Cambridge University Press:  05 June 2015

David A. Hensher
Affiliation:
University of Sydney
John M. Rose
Affiliation:
University of Sydney
William H. Greene
Affiliation:
New York University
Get access

Summary

Reading in and setting up data

In teaching courses on discrete choice modeling, we have increasingly observed that many participants struggle with the look of choice data. Courses and texts on econometrics often provide the reader with an already formatted data set (as does this book) yet fail to mention how (and why) the data were formatted in the manner they were. This leaves the user to work out the whys and the hows of data formatting by themselves (albeit with the help of lists such as the Limdep List: see http://limdep.itls.usyd.edu.au). The alternative is for the non-expert to turn to user manuals; however, such manuals are often written by experts for experts. We have found that even specialists in experimental design or econometrics have problems in setting up their data for choice modeling.

We now focus on how to format choice data for estimation purposes. We concentrate on data formatting for the program Nlogit from Econometric Software. While other programs capable of modeling choice data exist in the market, we choose to concentrate on Nlogit because this is the program that the authors are most familiar with (indeed Greene and Hensher are the developers of Nlogit). Nlogit also offers all of the discrete choice models that are used by practitioners and researchers. The release of Nlogit5.0 in August 2012 came with a comprehensive set of (four) online manuals (and no hard copy manuals). The discussion here complements the manuals. All the features of Nlogit that are used here are available in version 5.0 (dated September 2012).

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×