| immigrationconjoint | R Documentation |
A dataset containing the results of a conjoint survey of a representative sample of American adults who were asked to choose which hypothetical immigrants they think should be admitted into the United States. Each row corresponds to a single profile presented to the respondent.
data("immigrationconjoint")
A data frame with 13,960 observations on the following 16 variables.
CaseIDa numeric vector indicating the respondent to which the particular profile corresponds
contest_noa numeric vector indicating the number of the task to which the profile corresponds
Educationa factor with levels no formal, 4th grade, 8th grade, high school, two-year college, college degree, graduate degree
Gendera factor with levels female, male
a factor with levels India, Germany, France, Mexico, Philippines, Poland, China, Sudan, Somalia, Iraq
a factor with levels reunite with family, seek better job, escape persecution
Joba factor with levels janitor, waiter, child care provider, gardener, financial analyst, construction worker, teacher, computer programmer, nurse, research scientist, doctor
a factor with levels none, 1-2 years, 3-5 years, 5+ years
a factor with levels will look for work, contract with employer, interviews with employer, no plans to look for work
a factor with levels never, once as tourist, many times as tourist, six months with family, once w/o authorization
a factor with levels fluent English, broken English, tried English but unable, used interpreter
Chosen_Immigranta numeric vector denoting whether the immigrant profile was selected
ethnocentrisma numeric vector
profilea numeric vector giving the profile number
LangPosa numeric vector
PriorPosa numeric vector
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:
data("immigrationconjoint")
data("immigrationdesign")
# Run AMCE estimator using all attributes in the design
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.