Environmental Valuation with Discrete Choice Experiments in R
A Guide on Design, Implementation, and Data Analysis
- Open Access
- 2025
- Open Access
- Book
- Authors
- Petr Mariel
- Danny Campbell
- Erlend Dancke Sandorf
- Jürgen Meyerhoff
- Ainhoa Vega-Bayo
- Rebecca Blevins
- Book Series
- The Economics of Non-Market Goods and Resources
- Publisher
- Springer Nature Switzerland
About this book
This open access book offers advice and practical guidance for conducting discrete choice experiments (DCEs) in environmental valuation. It covers essential aspects of designing, implementing, and analysing choice experiments. Each chapter includes scripts and guidance, showcasing how to execute every step of a DCE using the free statistical computing and graphics software, R. This feature enhances accessibility and versatility for researchers in the field. While not providing strict guidelines, the book assists readers in steering clear of common mistakes encountered in applied work. With its insights and expertise, it equips researchers and practitioners to effectively navigate the complexities of DCEs.
Table of Contents
-
Chapter 1. Introduction
- Open Access
Download PDF-versionAbstractThis chapter introduces this book, Environmental valuation with discrete choice experiments in R. We describe our motivation for writing a book on discrete choice experiments (DCEs), with a focus on the methodological details and practical applications of DCEs. We briefly introduce the DCE approach and its importance in the field of environmental valuation, where it allows us to capture the value of goods and services when preferences are not sufficiently represented in the market. Finally, we emphasise the importance of a thorough review of the literature before beginning to conduct your own DCE, and offer a short guide on how to read this book based on the focus of your research and your experience implementing DCEs. -
Chapter 2. Steps of a Discrete Choice Experiment
- Open Access
Download PDF-versionAbstractThis chapter provides an overview of the key steps of conducting a discrete choice experiment (DCE). We begin with the research questions guiding the study design, move through several design issues related to the DCE and the questionnaire, and conclude with important considerations for the model estimation and post-estimation analysis. The main objective of this chapter is to highlight the decisions involved in conducting a DCE and the potential consequences of these choices for the realisation of the final study and subsequent results. Instead of offering step-by-step guide for the implementation of DCEs, we draw on our research experience in this field to offer insights and practical knowledge for you to consider in a DCE project. -
Chapter 3. Random Utility Models: Theoretical Background
- Open Access
Download PDF-versionAbstractThis chapter provides an overview of the random utility maximisation (RUM) model, reviewing its assumptions and delving into its theoretical foundations. We explore the multinomial logit (MNL) model, which is widely used in DCE literature due to its many advantages. These include its robustness, ease of estimation, and straightforward interpretation, with closed-form choice probabilities that simplify calculations. We also review advanced specifications of the mixed logit model, including the random parameters logit (RP-MXL) and latent class (LC-MXL) models, and walk you through the most common goodness of fit models used in DCE research. -
Chapter 4. Case Study
- Open Access
Download PDF-versionAbstractThis chapter introduces the case study used throughout the book to guide the reader through the steps of conducting a discrete choice experiment in R. The case study is based on the paper published as Meyerhoff et al. (2010), studying the landscape externalities of wind power generation. The original study was a choice experiment surveying preferences on the design of onshore wind farms in two regions in Germany, and the details of the study, particularly the attributes and their levels, demonstrate the real-world applications of discrete choice experiments. In this chapter, we familiarise readers with the wind power case study to prepare them for the estimation, data collection and analysis phase in the following chapters of the book. -
Chapter 5. Experimental Design
- Open Access
Download PDF-versionAbstractThis chapter walks the reader through the process of generating an experimental design in R. We generate an experimental design by combining attributes and levels into alternatives and choice tasks, which allow us to estimate model parameters and understand preferences through trade-offs. In this chapter, we cover three different types of designs: orthogonal, random, and efficient designs, highlighting their respective advantages. We delve deeper into efficient designs, covering important concepts such as attribute level balance, utility balance, and priors. Using the spdesign package in R, we demonstrate how to use different efficiency criteria and estimation algorithms to generate efficient designs, and review important checks and considerations for your design. -
Chapter 6. Data Collection in Shiny
- Open Access
Download PDF-versionAbstractThis chapter guides you through the process of using R Shiny to collect your own data for your DCE. We provide a sample code on how to implement a bare-bones DCE survey using Shiny, Google Sheets and Shinyapps.io, walking you through the following steps: (1) setting up the data storage location, (2) generating the choice tasks, and (3) creating the Shiny app. To create the Shiny app, we review the user interface, the server function, and the Shiny app function. Finally, we discuss the advantages and disadvantages of using R Shiny to implement DCE surveys. -
Chapter 7. From Raw Data to Insights
- Open Access
Download PDF-versionAbstractThis chapter highlights the importance of data exploration as a preliminary step in building choice models. By examining choice patterns and uncovering key influencing factors, you can establish a solid basis for the subsequent model development. This initial step involves a series of exploratory data analysis techniques that are simple yet informative. In this chapter, we demonstrate how to use R to effectively conduct this exploration, transforming raw data into meaningful insights. By creating summary tables and examining data visualisations, researchers can gain a deeper understanding of their data, paving the way for a more effective analysis and model building. -
Chapter 8. Maximum Likelihood and Related Issues
- Open Access
Download PDF-versionAbstractThis chapter explores Maximum Likelihood (ML) estimation, a statistical method used to estimate parameters of a given probability distribution. We begin with an introduction to the fundamental components of ML estimation, including the likelihood function, the density function, and the process of identifying parameter values that maximise the likelihood of the observed data. This chapter also covers numerical optimisation methods, both gradient-based and non-gradient, for situations where analytical solutions are impractical. We address sample variation in statistical estimation, highlighting the issues that may arise when relying on a single sample to infer population parameters, and review the use of simulation techniques, such as generating artificial datasets, to evaluate the reliability of these estimates. -
Chapter 9. Estimation
- Open Access
Download PDF-versionAbstractThis chapter covers the estimation of discrete choice models. We begin with a simple Multinomial Logit (MNL) model (with and without unobserved preference heterogeneity) and highlight the importance of optimisation diagnostics, review goodness-of-fit indicators and the identification of outliers, and provide insights into the interpretation of estimates. Progressing to more advanced topics, we continue with the Random Parameters Mixed Logit (RP-MXL) model, addressing both uncorrelated and correlated coefficients, and discuss different parameterisation approaches such as the preference space and the willingness-to-pay space. We conclude with an analysis of Latent Class Mixed Logit (LC-MXL) models and a discussion of extensions of RP-MXL and LC-MXL models. -
Chapter 10. Post-Estimation Analysis
- Open Access
Download PDF-versionAbstractThis chapter highlights the importance of the post-estimation analysis in extracting meaningful insights from discrete choice models. While constructing and estimating a model is an essential step, the true value of a DCE-based model lies in interpreting and applying its results. This chapter demonstrates how to translate model outputs, such as marginal willingness to pay and changes in consumer surplus, into practical, policy-relevant insights that enhance decision-making. We explore issues relevant to these outputs and provide guidance on how to accurately report uncertainty in your results. -
Chapter 11. Final Thoughts
- Open Access
Download PDF-versionAbstractThis book has provided a foundational overview of designing, collecting, and analysing discrete choice experiments (DCEs) in environmental economics using R. However, it is not intended to be a definitive guide on the subject: mastery of DCEs will require further reading and exploration beyond the content covered in this book. We carefully selected what we believe to be the essential elements of a DCE project to provide a solid foundation, while aiming to spark curiosity and encourage further inquiry. As we conclude this book, we offer some final thoughts and additional pointers to consider as you continue your journey of mastering DCEs.
- Title
- Environmental Valuation with Discrete Choice Experiments in R
- Authors
-
Petr Mariel
Danny Campbell
Erlend Dancke Sandorf
Jürgen Meyerhoff
Ainhoa Vega-Bayo
Rebecca Blevins
- Copyright Year
- 2025
- Publisher
- Springer Nature Switzerland
- Electronic ISBN
- 978-3-031-89338-4
- Print ISBN
- 978-3-031-89337-7
- DOI
- https://doi.org/10.1007/978-3-031-89338-4
PDF files of this book have been created in accordance with the PDF/UA-1 standard to enhance accessibility, including screen reader support, described non-text content (images, graphs), bookmarks for easy navigation, keyboard-friendly links and forms and searchable, selectable text. We recognize the importance of accessibility, and we welcome queries about accessibility for any of our products. If you have a question or an access need, please get in touch with us at accessibilitysupport@springernature.com.