Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-05T19:17:38.575Z Has data issue: false hasContentIssue false

Using Machine Learning to Test Causal Hypotheses in Conjoint Analysis

Published online by Cambridge University Press:  08 February 2024

Dae Woong Ham*
Affiliation:
Department of Statistics, Harvard University, Cambridge, MA, USA. URL: http://lucasjanson.fas.harvard.edu
Kosuke Imai
Affiliation:
Department of Statistics, Harvard University, Cambridge, MA, USA. URL: http://lucasjanson.fas.harvard.edu Department of Government and Statistics, Harvard University, Cambridge, MA, USA. URL: https://imai.fas.harvard.edu/
Lucas Janson
Affiliation:
Department of Statistics, Harvard University, Cambridge, MA, USA. URL: http://lucasjanson.fas.harvard.edu
*
Corresponding author: Dae Woong Ham; Email: daewoongham@g.harvard.edu
Rights & Permissions [Opens in a new window]

Abstract

Conjoint analysis is a popular experimental design used to measure multidimensional preferences. Many researchers focus on estimating the average marginal effects of each factor while averaging over the other factors. Although this allows for straightforward design-based estimation, the results critically depend on the ways in which factors interact with one another. An alternative model-based approach can compute various quantities of interest, but requires correct model specifications, a challenging task for conjoint analysis with many factors. We propose a new hypothesis testing approach based on the conditional randomization test (CRT) to answer the most fundamental question of conjoint analysis: Does a factor of interest matter in any way given the other factors? Although it only provides a formal test of these binary questions, the CRT is solely based on the randomization of factors, and hence requires no modeling assumption. This means that the CRT can provide a powerful and assumption-free statistical test by enabling the use of any test statistic, including those based on complex machine learning algorithms. We also show how to test commonly used regularity assumptions. Finally, we apply the proposed methodology to conjoint analysis of immigration preferences. An open-source software package is available for implementing the proposed methodology. The proposed methodology is implemented via an open-source software R package CRTConjoint, available through the Comprehensive R Archive Network https://cran.r-project.org/web/packages/CRTConjoint/index.html.

Information

Type
Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of The Society for Political Methodology
Figure 0

Figure 1 The estimated average marginal component effects (AMCEs) of immigrants’ countries of origin in the Hainmueller and Hopkins (2015) study. The plot shows the estimated AMCEs for France, Germany, Mexico, and Poland, which represent the average differences in the estimated probability of choosing an immigrant profile with a specific level of the “country of origin” factor, marginalizing other attributes. The baseline factor level is India, and the 95% confidence intervals are also shown.

Figure 1

Table 1 The p-values based on the conditional randomization test (CRT) and the average marginal component effect (AMCE) estimation. The first p-values are from the HierNet-based CRT and AMCE-based test statistics, testing whether the immigrant’s “country of origin” (Mexico or Europe) matters for immigration preferences. The other three p-values are from the HierNet-based CRT test statistics, testing the regularity conditions commonly used for conjoint analysis.

Supplementary material: File

Ham et al. supplementary material

Ham et al. supplementary material
Download Ham et al. supplementary material(File)
File 333.4 KB