Tidy estimates from the amce estimator
tidy.amce.Rd
Runs amce estimation function and returns tidy data frame output
Usage
# S3 method for class 'amce'
tidy(x, alpha = 0.05, ...)
Examples
# \donttest{
library(cjoint)
#> Loading required package: sandwich
#> Loading required package: lmtest
#> Loading required package: zoo
#>
#> Attaching package: ‘zoo’
#> The following objects are masked from ‘package:base’:
#>
#> as.Date, as.Date.numeric
#> Loading required package: survey
#> Loading required package: grid
#> Loading required package: Matrix
#> Loading required package: survival
#>
#> Attaching package: ‘survey’
#> The following object is masked from ‘package:graphics’:
#>
#> dotchart
#> cjoint: AMCE Estimator for Conjoint Experiments
#> Version: 2.1.1
#> Authors: Soubhik Barari, Elissa Berwick, Jens Hainmueller, Daniel Hopkins, Sean Liu, Anton Strezhnev, Teppei Yamamoto
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)
# Print summary
# tidy(results)
# }