With thanks as always to Kit Baum, a new package called -conjoint- is now available on the SCC.
conjoint and is a relatively simple wrapper for Stata (and coefplot) functions that creates a dedicated and straightforward command for analysing and visualising conjoint (factorial) experiments as commonly used in fields such as political science.
Specifically, conjoint can estimate average marginal component effects (AMCE) and marginal means (MM) following the methods described in Hainmueller et al., (2014) and Leeper et al., (2020) and implemented in the R packages, cjoint (Barari et al., 2018) and cregg (Leeper and Barnfield, 2020). conjoint can estimate these for fully randomised designs and AMCEs for designs with unlimited and complex profile constraints. conjoint can also calculate estimates across subgroups, with different baselevels (AMCEs only) and null hypothesis values (MMs only). The results can be simply and easily plotted via the graph option using coefplot.
To install, type:
conjoint's help and ancillary files include two examples using immigration (Hainmueller et al., 2013; see also 2014) and refugee return (Ghosn et al., 2021a; see also 2021b) conjoint experiment datasets.
References
Barari, S., Berwick, E., Hainmueller, J., Hopkins, D., Liu, S., Strezhnev, A., & Yamamoto, T. 2018. cjoint: AMCE Estimator for Conjoint Experiments. R package.
Ghosn, F., Chu, T.S., Simon, M., Braithwaite, A., Frith, M.J., & Jandali, J. 2021a. Replication Data for Journey Back Home: Violence, Anchoring, and Refugee Decisions to Return. https://doi.org/10.7910/DVN/UGI0MH
Ghosn, F., Chu, T.S., Simon, M., Braithwaite, A., Frith, M.J., & Jandali, J. 2021b. The Journey Home: Violence, Anchoring, and Refugee Decisions to Return. American Political Science Review, 1–17. https://doi.org/10.1017/S0003055421000344
Hainmueller, J., Hopkins, D.J., & Yamamoto, T. 2013. Replication data for: Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments. https://doi.org/10.7910/DVN/THJYQR
Hainmueller, J., Hopkins, D.J., & Yamamoto, T. 2014. Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments. Political Analysis, 22(1): 1-30. https://doi.org/10.1093/pan/mpt024
Leeper, T.J., & Barnfield, M. 2020. cregg: Simple Conjoint Tidying, Analysis, and Visualization. R package.
Leeper, T., Hobolt, S., & Tilley, J. 2020. Measuring Subgroup Preferences in Conjoint Experiments. Political Analysis, 28(2): 207-221. https://doi.org/10.1017/pan.2019.30
conjoint and is a relatively simple wrapper for Stata (and coefplot) functions that creates a dedicated and straightforward command for analysing and visualising conjoint (factorial) experiments as commonly used in fields such as political science.
Specifically, conjoint can estimate average marginal component effects (AMCE) and marginal means (MM) following the methods described in Hainmueller et al., (2014) and Leeper et al., (2020) and implemented in the R packages, cjoint (Barari et al., 2018) and cregg (Leeper and Barnfield, 2020). conjoint can estimate these for fully randomised designs and AMCEs for designs with unlimited and complex profile constraints. conjoint can also calculate estimates across subgroups, with different baselevels (AMCEs only) and null hypothesis values (MMs only). The results can be simply and easily plotted via the graph option using coefplot.
To install, type:
Code:
ssc install conjoint
References
Barari, S., Berwick, E., Hainmueller, J., Hopkins, D., Liu, S., Strezhnev, A., & Yamamoto, T. 2018. cjoint: AMCE Estimator for Conjoint Experiments. R package.
Ghosn, F., Chu, T.S., Simon, M., Braithwaite, A., Frith, M.J., & Jandali, J. 2021a. Replication Data for Journey Back Home: Violence, Anchoring, and Refugee Decisions to Return. https://doi.org/10.7910/DVN/UGI0MH
Ghosn, F., Chu, T.S., Simon, M., Braithwaite, A., Frith, M.J., & Jandali, J. 2021b. The Journey Home: Violence, Anchoring, and Refugee Decisions to Return. American Political Science Review, 1–17. https://doi.org/10.1017/S0003055421000344
Hainmueller, J., Hopkins, D.J., & Yamamoto, T. 2013. Replication data for: Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments. https://doi.org/10.7910/DVN/THJYQR
Hainmueller, J., Hopkins, D.J., & Yamamoto, T. 2014. Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments. Political Analysis, 22(1): 1-30. https://doi.org/10.1093/pan/mpt024
Leeper, T.J., & Barnfield, M. 2020. cregg: Simple Conjoint Tidying, Analysis, and Visualization. R package.
Leeper, T., Hobolt, S., & Tilley, J. 2020. Measuring Subgroup Preferences in Conjoint Experiments. Political Analysis, 28(2): 207-221. https://doi.org/10.1017/pan.2019.30
Comment