immigrationdesign | R Documentation |
A "conjointDesign" object for the randomization scheme used in the immigration conjoint experiment in "Causal Inference in Conjoint Analysis." See immigrationconjoint
for the accompanying dataset.
data("immigrationdesign")
A "conjointDesign" object. See makeDesign
for more information about the structure.
Hainmueller, J., Hopkins, D., and Yamamoto T. (2014) Causal Inference in Conjoint Analysis: Understanding Multi-Dimensional Choices via Stated Preference Experiments. Political Analysis 22(1):1-30
## Not run:
# Loads the immigrationconjoint dataset and the immigrationdesign object
data("immigrationconjoint")
data("immigrationdesign")
# immigrationdesign is passed to the amce() function through the "design" argument.
results <- amce(Chosen_Immigrant ~ Gender + Education + `Language Skills` +
`Country of Origin` + Job + `Job Experience` + `Job Plans` +
`Reason for Application` + `Prior Entry`, data=immigrationconjoint,
cluster=TRUE, respondent.id="CaseID", design=immigrationdesign)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.