This block of code has everything you need to run the analyses. I did change the name of the outcome variable to Voting.Choice because that is a more intuitive name for the variable.
setwd("C:/Work Files/RDA/Consults/Ewa Golebiowska")
##You will need to set the working directory to the location on your computer where you are storing all the files - ALSO if you are using a mac the forward slashes "/" need to be replaced with back slashes "\" - this is a Macs v PCs thing.
#Required packages#
options(repos = c(CRAN = "https://cran.rstudio.com/"))
if (!require("tidyverse")) {
install.packages("tidyverse")
}
## Loading required package: tidyverse
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.0 ✔ stringr 1.5.1
## ✔ ggplot2 3.5.1 ✔ tibble 3.2.1
## ✔ lubridate 1.9.3 ✔ tidyr 1.3.1
## ✔ purrr 1.0.2
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
if (!require("haven")) {
install.packages("haven")
}
## Loading required package: haven
if (!require("cjoint")) {
install.packages("cjoint")
}
## Loading required package: 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
##
## Attaching package: 'Matrix'
##
## The following objects are masked from 'package:tidyr':
##
## expand, pack, unpack
##
## 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
##
##
## Attaching package: 'cjoint'
##
## The following object is masked from 'package:tibble':
##
## view
library(tidyverse)
library(haven)
library(cjoint)
##Load Data
TESS_Data_Final<-read_sav("TESS_Data_Final.sav")
###Recoding Voting variable, option 1
TESS_Data_Final_New_Voting.Choice <- TESS_Data_Final %>%
mutate(Voting.Choice = case_when(
Candidate == 1 & Voting.Choice == 1 ~ 1,
Candidate == 2 & Voting.Choice == 2 ~ 1,
TRUE ~ 0
))
TESS_Data_Final_New_Voting.Choice <- TESS_Data_Final_New_Voting.Choice %>%
arrange(CaseId, Task, Candidate)
###Recoding Voting variable, option 2
TESS_Data_Final_Vote_Recode <- TESS_Data_Final %>%
mutate(Voting.Choice = ifelse(Voting.Choice == 1, 0, 1))
##You can keep the same name or rename it - if you rename it, make sure you change the file name here. If you prefer to read it in from a csv file rather than spss then you can replace the above command with the following:
#TESS_Data_Final <-read.csv("TESS_Data_Final.csv")
test.results.1 <- amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
Education.Att + Age.Att + Experience.Att + Party.Att +
Policy.Att + Office + Partisan_Comp, data=TESS_Data_Final,
cluster=TRUE, weights = "WEIGHT",respondent.id="CaseId")
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: AgeAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: EducationAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ExperienceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: GenderAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: Office changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartisanComp changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PolicyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: RaceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ReligionAtt changed to factor
print(test.results.1)
## $estimates
## $estimates$AgeAtt
## AgeAtt2 AgeAtt3 AgeAtt4
## AMCE 0.007090786 0.004454963 -0.007869941
## Std. Error 0.012782228 0.012466207 0.013334719
##
## $estimates$EducationAtt
## EducationAtt2 EducationAtt3 EducationAtt4
## AMCE 0.02862141 0.02084978 -0.006898616
## Std. Error 0.01403189 0.01274581 0.014619545
##
## $estimates$ExperienceAtt
## ExperienceAtt2 ExperienceAtt3 ExperienceAtt4
## AMCE -0.01802921 -0.02208362 -0.01804155
## Std. Error 0.01323681 0.01263836 0.01374725
##
## $estimates$GenderAtt
## GenderAtt2
## AMCE -0.004761275
## Std. Error 0.009610831
##
## $estimates$Office
## Office2
## AMCE -0.001296915
## Std. Error 0.013060812
##
## $estimates$PartisanComp
## PartisanComp2 PartisanComp3
## AMCE 0.03083361 0.03094745
## Std. Error 0.02042755 0.01599552
##
## $estimates$PartyAtt
## PartyAtt2
## AMCE 0.004399420
## Std. Error 0.002859735
##
## $estimates$PolicyAtt
## PolicyAtt2 PolicyAtt3 PolicyAtt4 PolicyAtt5
## AMCE 0.04704615 0.03130175 0.03609877 0.02186687
## Std. Error 0.01693091 0.01462221 0.01579659 0.01593921
##
## $estimates$RaceAtt
## RaceAtt2 RaceAtt3 RaceAtt4
## AMCE 0.002438843 -0.02407743 -0.006779561
## Std. Error 0.013963229 0.01237012 0.012686129
##
## $estimates$ReligionAtt
## ReligionAtt2 ReligionAtt3 ReligionAtt4 ReligionAtt5
## AMCE -0.00540364 0.03137230 0.001632693 -0.00233990
## Std. Error 0.01494270 0.01538998 0.014607906 0.01582129
##
##
## $attributes
## $attributes$AgeAtt
## [1] "1" "2" "3" "4"
##
## $attributes$EducationAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ExperienceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$GenderAtt
## [1] "1" "2"
##
## $attributes$Office
## [1] "1" "2"
##
## $attributes$PartisanComp
## [1] "1" "2" "3"
##
## $attributes$PartyAtt
## [1] "1" "2"
##
## $attributes$PolicyAtt
## [1] "1" "2" "3" "4" "5"
##
## $attributes$RaceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ReligionAtt
## [1] "1" "2" "3" "4" "5"
##
##
## $vcov.prof
## (Intercept) AgeAtt2 AgeAtt3 AgeAtt4
## (Intercept) 7.249931e-04 -6.019933e-05 -5.464553e-05 -9.114717e-05
## AgeAtt2 -6.019933e-05 1.633853e-04 7.888305e-05 8.346367e-05
## AgeAtt3 -5.464553e-05 7.888305e-05 1.554063e-04 5.440921e-05
## AgeAtt4 -9.114717e-05 8.346367e-05 5.440921e-05 1.778147e-04
## EducationAtt2 -1.383602e-04 6.167234e-06 2.799096e-06 7.654127e-07
## EducationAtt3 -1.043540e-04 7.094160e-06 -5.170507e-06 1.336399e-05
## EducationAtt4 -1.252350e-04 9.321271e-06 3.281588e-05 1.085051e-05
## ExperienceAtt2 -5.049833e-05 2.166648e-05 1.178529e-05 2.223611e-05
## ExperienceAtt3 -7.104595e-05 2.328880e-06 5.107422e-06 2.009753e-05
## ExperienceAtt4 -9.828209e-05 1.856820e-05 2.403977e-07 2.765290e-05
## GenderAtt2 -5.946512e-05 -1.070143e-05 4.218775e-06 -2.528724e-06
## Office2 -8.726023e-05 -1.095176e-05 -9.338024e-06 -9.866019e-07
## PartisanComp2 -1.965845e-04 -4.880185e-05 -1.493788e-05 -1.805414e-05
## PartisanComp3 -1.841657e-04 -2.457938e-05 -1.277419e-05 -1.000023e-05
## PartyAtt2 -1.182916e-05 6.051766e-06 4.220510e-07 2.544052e-06
## PolicyAtt2 -1.373997e-04 -9.138300e-06 -2.563808e-05 2.807901e-06
## PolicyAtt3 -1.258107e-04 -1.185307e-05 -1.609548e-05 -3.730939e-06
## PolicyAtt4 -1.140297e-04 -5.970824e-09 -1.549730e-05 2.208888e-06
## PolicyAtt5 -1.220610e-04 2.111577e-05 -1.562001e-06 2.057498e-06
## RaceAtt2 -1.090851e-04 -1.430490e-05 -6.556998e-06 1.247528e-05
## RaceAtt3 -5.934394e-05 -1.673862e-05 -1.546613e-05 7.064730e-08
## RaceAtt4 -7.309419e-05 1.298564e-06 2.193921e-06 -8.382058e-06
## ReligionAtt2 -1.466681e-04 -8.452206e-06 -7.865566e-06 -1.202944e-06
## ReligionAtt3 -1.038623e-04 7.150608e-06 -1.869415e-05 -7.090705e-06
## ReligionAtt4 -1.098697e-04 -4.824047e-06 -1.534659e-05 4.919749e-06
## ReligionAtt5 -9.412861e-05 -1.228641e-05 -1.669221e-05 -7.647932e-06
## EducationAtt2 EducationAtt3 EducationAtt4 ExperienceAtt2
## (Intercept) -1.383602e-04 -1.043540e-04 -1.252350e-04 -5.049833e-05
## AgeAtt2 6.167234e-06 7.094160e-06 9.321271e-06 2.166648e-05
## AgeAtt3 2.799096e-06 -5.170507e-06 3.281588e-05 1.178529e-05
## AgeAtt4 7.654127e-07 1.336399e-05 1.085051e-05 2.223611e-05
## EducationAtt2 1.968939e-04 8.983802e-05 8.696003e-05 -2.032523e-05
## EducationAtt3 8.983802e-05 1.624556e-04 6.550137e-05 -1.482061e-07
## EducationAtt4 8.696003e-05 6.550137e-05 2.137311e-04 -2.434460e-06
## ExperienceAtt2 -2.032523e-05 -1.482061e-07 -2.434460e-06 1.752130e-04
## ExperienceAtt3 -1.241574e-06 -4.706344e-06 4.978223e-06 7.127116e-05
## ExperienceAtt4 6.932645e-07 7.754210e-06 4.910344e-06 8.531735e-05
## GenderAtt2 1.584364e-05 -5.985941e-06 1.370989e-05 -3.760508e-06
## Office2 7.415814e-06 -6.652616e-06 -7.403290e-06 -5.944160e-07
## PartisanComp2 9.431674e-06 2.614269e-05 3.249743e-05 -7.139032e-06
## PartisanComp3 1.257400e-05 2.046042e-05 9.794724e-06 -1.137810e-05
## PartyAtt2 8.235258e-06 -2.884668e-06 5.563758e-06 -4.661624e-06
## PolicyAtt2 1.340193e-05 -6.083852e-06 -3.318393e-05 -1.604718e-05
## PolicyAtt3 1.110484e-05 2.244232e-05 -1.772621e-05 -1.597021e-05
## PolicyAtt4 2.432073e-06 -8.879163e-06 -2.512129e-05 -2.057678e-05
## PolicyAtt5 1.539857e-05 -1.018016e-05 -2.238930e-05 -2.155722e-05
## RaceAtt2 -1.383510e-05 -1.651655e-05 -2.806434e-05 -6.311373e-06
## RaceAtt3 -3.500194e-05 -1.657787e-05 -7.370590e-06 9.618816e-06
## RaceAtt4 -7.370871e-06 -6.268719e-06 2.736738e-07 3.602450e-06
## ReligionAtt2 3.442409e-05 1.309746e-05 2.564343e-05 -4.923990e-06
## ReligionAtt3 1.622688e-05 8.882222e-06 1.432672e-05 -2.937522e-05
## ReligionAtt4 2.162740e-05 1.721603e-05 1.202488e-05 -2.615903e-05
## ReligionAtt5 -8.365031e-06 -9.862392e-07 1.587993e-05 -2.558170e-05
## ExperienceAtt3 ExperienceAtt4 GenderAtt2 Office2
## (Intercept) -7.104595e-05 -9.828209e-05 -5.946512e-05 -8.726023e-05
## AgeAtt2 2.328880e-06 1.856820e-05 -1.070143e-05 -1.095176e-05
## AgeAtt3 5.107422e-06 2.403977e-07 4.218775e-06 -9.338024e-06
## AgeAtt4 2.009753e-05 2.765290e-05 -2.528724e-06 -9.866019e-07
## EducationAtt2 -1.241574e-06 6.932645e-07 1.584364e-05 7.415814e-06
## EducationAtt3 -4.706344e-06 7.754210e-06 -5.985941e-06 -6.652616e-06
## EducationAtt4 4.978223e-06 4.910344e-06 1.370989e-05 -7.403290e-06
## ExperienceAtt2 7.127116e-05 8.531735e-05 -3.760508e-06 -5.944160e-07
## ExperienceAtt3 1.597281e-04 7.556965e-05 -8.286872e-06 -4.149294e-06
## ExperienceAtt4 7.556965e-05 1.889869e-04 -3.287369e-06 1.821606e-06
## GenderAtt2 -8.286872e-06 -3.287369e-06 9.236807e-05 1.817180e-05
## Office2 -4.149294e-06 1.821606e-06 1.817180e-05 1.705848e-04
## PartisanComp2 1.958378e-06 -5.934361e-06 2.427335e-05 3.565081e-05
## PartisanComp3 -8.995321e-07 -8.570238e-06 6.498285e-06 1.390011e-05
## PartyAtt2 7.118447e-06 3.465023e-06 -8.011891e-06 -1.989038e-06
## PolicyAtt2 9.241445e-06 1.206466e-05 -1.511330e-06 -1.793278e-06
## PolicyAtt3 -9.238811e-06 1.900673e-05 1.705137e-06 -7.286364e-06
## PolicyAtt4 -5.022810e-06 1.049915e-06 1.074272e-06 -4.177361e-06
## PolicyAtt5 -5.739147e-06 -1.333957e-05 2.214789e-06 -7.185966e-07
## RaceAtt2 3.761075e-06 2.659145e-05 2.520562e-05 8.527772e-06
## RaceAtt3 5.931550e-06 1.908468e-05 -9.138263e-06 -5.739464e-06
## RaceAtt4 2.143790e-06 -9.061007e-07 7.043988e-06 2.031758e-06
## ReligionAtt2 -2.749338e-06 5.248379e-06 2.311456e-06 -2.713043e-06
## ReligionAtt3 -1.780545e-05 -1.360683e-06 5.124978e-06 -3.969127e-06
## ReligionAtt4 -3.027229e-05 -1.812266e-05 -3.059357e-06 6.202908e-06
## ReligionAtt5 -2.444993e-05 -3.209266e-05 -9.358140e-07 -1.259571e-05
## PartisanComp2 PartisanComp3 PartyAtt2 PolicyAtt2
## (Intercept) -1.965845e-04 -1.841657e-04 -1.182916e-05 -1.373997e-04
## AgeAtt2 -4.880185e-05 -2.457938e-05 6.051766e-06 -9.138300e-06
## AgeAtt3 -1.493788e-05 -1.277419e-05 4.220510e-07 -2.563808e-05
## AgeAtt4 -1.805414e-05 -1.000023e-05 2.544052e-06 2.807901e-06
## EducationAtt2 9.431674e-06 1.257400e-05 8.235258e-06 1.340193e-05
## EducationAtt3 2.614269e-05 2.046042e-05 -2.884668e-06 -6.083852e-06
## EducationAtt4 3.249743e-05 9.794724e-06 5.563758e-06 -3.318393e-05
## ExperienceAtt2 -7.139032e-06 -1.137810e-05 -4.661624e-06 -1.604718e-05
## ExperienceAtt3 1.958378e-06 -8.995321e-07 7.118447e-06 9.241445e-06
## ExperienceAtt4 -5.934361e-06 -8.570238e-06 3.465023e-06 1.206466e-05
## GenderAtt2 2.427335e-05 6.498285e-06 -8.011891e-06 -1.511330e-06
## Office2 3.565081e-05 1.390011e-05 -1.989038e-06 -1.793278e-06
## PartisanComp2 4.172848e-04 1.746009e-04 -1.033531e-05 -2.308027e-05
## PartisanComp3 1.746009e-04 2.558566e-04 -5.287652e-06 1.360336e-05
## PartyAtt2 -1.033531e-05 -5.287652e-06 8.178082e-06 2.109329e-05
## PolicyAtt2 -2.308027e-05 1.360336e-05 2.109329e-05 2.866557e-04
## PolicyAtt3 2.590303e-06 1.081590e-05 1.920141e-05 1.206630e-04
## PolicyAtt4 -1.031958e-05 1.320521e-06 2.418927e-05 1.546335e-04
## PolicyAtt5 -2.141486e-05 1.047047e-05 2.270602e-05 1.612506e-04
## RaceAtt2 -3.185695e-06 8.937318e-06 -7.875023e-06 3.112860e-05
## RaceAtt3 1.045376e-05 9.076209e-06 -8.858420e-06 -5.340240e-06
## RaceAtt4 -8.715409e-06 7.473412e-06 -6.050503e-06 -2.464356e-05
## ReligionAtt2 3.988141e-05 3.462563e-05 -1.448962e-05 -6.219245e-07
## ReligionAtt3 -2.582347e-05 -4.711155e-06 -1.208628e-06 -1.445380e-05
## ReligionAtt4 -1.052293e-05 -1.262744e-05 8.132287e-06 9.557413e-06
## ReligionAtt5 4.636030e-06 5.974625e-07 -3.464680e-06 -1.460971e-05
## PolicyAtt3 PolicyAtt4 PolicyAtt5 RaceAtt2
## (Intercept) -1.258107e-04 -1.140297e-04 -1.220610e-04 -1.090851e-04
## AgeAtt2 -1.185307e-05 -5.970824e-09 2.111577e-05 -1.430490e-05
## AgeAtt3 -1.609548e-05 -1.549730e-05 -1.562001e-06 -6.556998e-06
## AgeAtt4 -3.730939e-06 2.208888e-06 2.057498e-06 1.247528e-05
## EducationAtt2 1.110484e-05 2.432073e-06 1.539857e-05 -1.383510e-05
## EducationAtt3 2.244232e-05 -8.879163e-06 -1.018016e-05 -1.651655e-05
## EducationAtt4 -1.772621e-05 -2.512129e-05 -2.238930e-05 -2.806434e-05
## ExperienceAtt2 -1.597021e-05 -2.057678e-05 -2.155722e-05 -6.311373e-06
## ExperienceAtt3 -9.238811e-06 -5.022810e-06 -5.739147e-06 3.761075e-06
## ExperienceAtt4 1.900673e-05 1.049915e-06 -1.333957e-05 2.659145e-05
## GenderAtt2 1.705137e-06 1.074272e-06 2.214789e-06 2.520562e-05
## Office2 -7.286364e-06 -4.177361e-06 -7.185966e-07 8.527772e-06
## PartisanComp2 2.590303e-06 -1.031958e-05 -2.141486e-05 -3.185695e-06
## PartisanComp3 1.081590e-05 1.320521e-06 1.047047e-05 8.937318e-06
## PartyAtt2 1.920141e-05 2.418927e-05 2.270602e-05 -7.875023e-06
## PolicyAtt2 1.206630e-04 1.546335e-04 1.612506e-04 3.112860e-05
## PolicyAtt3 2.138091e-04 1.221432e-04 1.150058e-04 9.089407e-06
## PolicyAtt4 1.221432e-04 2.495322e-04 1.558096e-04 1.522038e-05
## PolicyAtt5 1.150058e-04 1.558096e-04 2.540585e-04 2.537231e-06
## RaceAtt2 9.089407e-06 1.522038e-05 2.537231e-06 1.949718e-04
## RaceAtt3 1.697495e-07 -1.507427e-05 -2.443239e-05 8.181032e-05
## RaceAtt4 -9.101311e-06 -3.612063e-05 -4.032624e-05 8.813656e-05
## ReligionAtt2 -1.047869e-05 -2.209814e-05 -3.901009e-06 -4.220626e-06
## ReligionAtt3 -1.213364e-05 -1.878008e-05 -3.045910e-05 3.164258e-06
## ReligionAtt4 1.057961e-05 2.536628e-05 1.723533e-05 -1.893814e-06
## ReligionAtt5 -5.650252e-06 2.508231e-06 -2.228289e-05 -4.665389e-06
## RaceAtt3 RaceAtt4 ReligionAtt2 ReligionAtt3
## (Intercept) -5.934394e-05 -7.309419e-05 -1.466681e-04 -1.038623e-04
## AgeAtt2 -1.673862e-05 1.298564e-06 -8.452206e-06 7.150608e-06
## AgeAtt3 -1.546613e-05 2.193921e-06 -7.865566e-06 -1.869415e-05
## AgeAtt4 7.064730e-08 -8.382058e-06 -1.202944e-06 -7.090705e-06
## EducationAtt2 -3.500194e-05 -7.370871e-06 3.442409e-05 1.622688e-05
## EducationAtt3 -1.657787e-05 -6.268719e-06 1.309746e-05 8.882222e-06
## EducationAtt4 -7.370590e-06 2.736738e-07 2.564343e-05 1.432672e-05
## ExperienceAtt2 9.618816e-06 3.602450e-06 -4.923990e-06 -2.937522e-05
## ExperienceAtt3 5.931550e-06 2.143790e-06 -2.749338e-06 -1.780545e-05
## ExperienceAtt4 1.908468e-05 -9.061007e-07 5.248379e-06 -1.360683e-06
## GenderAtt2 -9.138263e-06 7.043988e-06 2.311456e-06 5.124978e-06
## Office2 -5.739464e-06 2.031758e-06 -2.713043e-06 -3.969127e-06
## PartisanComp2 1.045376e-05 -8.715409e-06 3.988141e-05 -2.582347e-05
## PartisanComp3 9.076209e-06 7.473412e-06 3.462563e-05 -4.711155e-06
## PartyAtt2 -8.858420e-06 -6.050503e-06 -1.448962e-05 -1.208628e-06
## PolicyAtt2 -5.340240e-06 -2.464356e-05 -6.219245e-07 -1.445380e-05
## PolicyAtt3 1.697495e-07 -9.101311e-06 -1.047869e-05 -1.213364e-05
## PolicyAtt4 -1.507427e-05 -3.612063e-05 -2.209814e-05 -1.878008e-05
## PolicyAtt5 -2.443239e-05 -4.032624e-05 -3.901009e-06 -3.045910e-05
## RaceAtt2 8.181032e-05 8.813656e-05 -4.220626e-06 3.164258e-06
## RaceAtt3 1.530199e-04 6.886890e-05 2.783120e-05 1.520464e-05
## RaceAtt4 6.886890e-05 1.609379e-04 1.215535e-05 2.376640e-05
## ReligionAtt2 2.783120e-05 1.215535e-05 2.232844e-04 1.103774e-04
## ReligionAtt3 1.520464e-05 2.376640e-05 1.103774e-04 2.368516e-04
## ReligionAtt4 -1.547515e-06 1.274415e-06 9.253509e-05 1.145016e-04
## ReligionAtt5 1.294152e-05 1.351672e-05 1.230710e-04 1.396555e-04
## ReligionAtt4 ReligionAtt5
## (Intercept) -1.098697e-04 -9.412861e-05
## AgeAtt2 -4.824047e-06 -1.228641e-05
## AgeAtt3 -1.534659e-05 -1.669221e-05
## AgeAtt4 4.919749e-06 -7.647932e-06
## EducationAtt2 2.162740e-05 -8.365031e-06
## EducationAtt3 1.721603e-05 -9.862392e-07
## EducationAtt4 1.202488e-05 1.587993e-05
## ExperienceAtt2 -2.615903e-05 -2.558170e-05
## ExperienceAtt3 -3.027229e-05 -2.444993e-05
## ExperienceAtt4 -1.812266e-05 -3.209266e-05
## GenderAtt2 -3.059357e-06 -9.358140e-07
## Office2 6.202908e-06 -1.259571e-05
## PartisanComp2 -1.052293e-05 4.636030e-06
## PartisanComp3 -1.262744e-05 5.974625e-07
## PartyAtt2 8.132287e-06 -3.464680e-06
## PolicyAtt2 9.557413e-06 -1.460971e-05
## PolicyAtt3 1.057961e-05 -5.650252e-06
## PolicyAtt4 2.536628e-05 2.508231e-06
## PolicyAtt5 1.723533e-05 -2.228289e-05
## RaceAtt2 -1.893814e-06 -4.665389e-06
## RaceAtt3 -1.547515e-06 1.294152e-05
## RaceAtt4 1.274415e-06 1.351672e-05
## ReligionAtt2 9.253509e-05 1.230710e-04
## ReligionAtt3 1.145016e-04 1.396555e-04
## ReligionAtt4 2.133909e-04 1.283117e-04
## ReligionAtt5 1.283117e-04 2.503134e-04
##
## $samplesize_prof
## [1] 20384
##
## $formula
## VotingChoice ~ AgeAtt + EducationAtt + ExperienceAtt + GenderAtt +
## Office + PartisanComp + PartyAtt + PolicyAtt + RaceAtt +
## ReligionAtt
## <environment: 0x000001cddea91920>
##
## $baselines
## $baselines$AgeAtt
## [1] "1"
##
## $baselines$EducationAtt
## [1] "1"
##
## $baselines$ExperienceAtt
## [1] "1"
##
## $baselines$GenderAtt
## [1] "1"
##
## $baselines$Office
## [1] "1"
##
## $baselines$PartisanComp
## [1] "1"
##
## $baselines$PartyAtt
## [1] "1"
##
## $baselines$PolicyAtt
## [1] "1"
##
## $baselines$RaceAtt
## [1] "1"
##
## $baselines$ReligionAtt
## [1] "1"
##
##
## $continuous
## list()
##
## $numrespondents
## [1] 1274
##
## $weights
## # A tibble: 20,384 × 1
## WEIGHT
## <dbl>
## 1 0.234
## 2 0.234
## 3 0.234
## 4 0.234
## 5 0.234
## 6 0.234
## 7 0.234
## 8 0.234
## 9 0.234
## 10 0.234
## # ℹ 20,374 more rows
##
## $user.names
## $user.names$VotingChoice
## [1] "Voting.Choice"
##
## $user.names$ReligionAtt
## [1] "Religion.Att"
##
## $user.names$GenderAtt
## [1] "Gender.Att"
##
## $user.names$RaceAtt
## [1] "Race.Att"
##
## $user.names$EducationAtt
## [1] "Education.Att"
##
## $user.names$AgeAtt
## [1] "Age.Att"
##
## $user.names$ExperienceAtt
## [1] "Experience.Att"
##
## $user.names$PartyAtt
## [1] "Party.Att"
##
## $user.names$PolicyAtt
## [1] "Policy.Att"
##
## $user.names$Office
## [1] "Office"
##
## $user.names$PartisanComp
## [1] "Partisan_Comp"
##
##
## $user.levels
## list()
##
## $data
## # A tibble: 20,384 × 75
## CaseId WEIGHT ConfidenceinGod Secularism1 Secularism2 Secularism3 Secularism4
## <dbl> <dbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl>
## 1 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 2 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 3 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 4 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 5 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 6 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 7 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 8 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 9 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 10 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## # ℹ 20,374 more rows
## # ℹ 68 more variables: MayorPresidentRandom1 <dbl+lbl>,
## # AttributeOrder1 <dbl+lbl>, AttributeOrder2 <dbl+lbl>,
## # AttributeOrder3 <dbl+lbl>, AttributeOrder4 <dbl+lbl>,
## # AttributeOrder5 <dbl+lbl>, AttributeOrder6 <dbl+lbl>,
## # AttributeOrder7 <dbl+lbl>, AttributeOrder8 <dbl+lbl>, PartyID7 <dbl+lbl>,
## # PartyID5 <dbl+lbl>, IDEO <dbl+lbl>, RELIG <dbl+lbl>, RELIGOE <chr>, …
##
## attr(,"class")
## [1] "amce"
test.results.2 <- amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
Education.Att + Age.Att + Experience.Att + Party.Att +
Policy.Att + Office + Partisan_Comp,
data=TESS_Data_Final_New_Voting.Choice,
cluster=TRUE, weights = "WEIGHT", respondent.id="CaseId",
design = "uniform")
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: AgeAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: EducationAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ExperienceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: GenderAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: Office changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartisanComp changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PolicyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: RaceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ReligionAtt changed to factor
print(test.results.2)
## $estimates
## $estimates$AgeAtt
## AgeAtt2 AgeAtt3 AgeAtt4
## AMCE 0.02042064 -0.008989418 -0.09034888
## Std. Error 0.01291736 0.014589062 0.01562561
##
## $estimates$EducationAtt
## EducationAtt2 EducationAtt3 EducationAtt4
## AMCE 0.05959066 0.11845530 0.12899887
## Std. Error 0.01372163 0.01454218 0.01411216
##
## $estimates$ExperienceAtt
## ExperienceAtt2 ExperienceAtt3 ExperienceAtt4
## AMCE 0.11916137 0.16266337 0.18881660
## Std. Error 0.01392106 0.01371598 0.01353043
##
## $estimates$GenderAtt
## GenderAtt2
## AMCE -0.019434487
## Std. Error 0.009296801
##
## $estimates$Office
## Office2
## AMCE -8.48978e-05
## Std. Error 2.26414e-03
##
## $estimates$PartisanComp
## PartisanComp2 PartisanComp3
## AMCE 0.04088783 0.02512526
## Std. Error 0.02691494 0.01349811
##
## $estimates$PartyAtt
## PartyAtt2
## AMCE -0.03644713
## Std. Error 0.02705103
##
## $estimates$PolicyAtt
## PolicyAtt2 PolicyAtt3 PolicyAtt4 PolicyAtt5
## AMCE 0.09839265 0.06250930 0.05956117 0.03319679
## Std. Error 0.01543932 0.01609959 0.01490509 0.01479368
##
## $estimates$RaceAtt
## RaceAtt2 RaceAtt3 RaceAtt4
## AMCE 0.03753812 0.01483254 -0.02393762
## Std. Error 0.01470279 0.01499569 0.01425158
##
## $estimates$ReligionAtt
## ReligionAtt2 ReligionAtt3 ReligionAtt4 ReligionAtt5
## AMCE 0.06208883 0.11453453 0.15518714 0.14814458
## Std. Error 0.01616514 0.01462573 0.01627492 0.01760436
##
##
## $attributes
## $attributes$AgeAtt
## [1] "1" "2" "3" "4"
##
## $attributes$EducationAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ExperienceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$GenderAtt
## [1] "1" "2"
##
## $attributes$Office
## [1] "1" "2"
##
## $attributes$PartisanComp
## [1] "1" "2" "3"
##
## $attributes$PartyAtt
## [1] "1" "2"
##
## $attributes$PolicyAtt
## [1] "1" "2" "3" "4" "5"
##
## $attributes$RaceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ReligionAtt
## [1] "1" "2" "3" "4" "5"
##
##
## $vcov.prof
## (Intercept) AgeAtt2 AgeAtt3 AgeAtt4
## (Intercept) 5.412018e-04 -3.554164e-05 -8.262380e-05 -8.989038e-05
## AgeAtt2 -3.554164e-05 1.668582e-04 1.010852e-04 1.010108e-04
## AgeAtt3 -8.262380e-05 1.010852e-04 2.128407e-04 1.327739e-04
## AgeAtt4 -8.989038e-05 1.010108e-04 1.327739e-04 2.441598e-04
## EducationAtt2 -1.194332e-04 -3.069327e-05 -2.627218e-05 8.169395e-07
## EducationAtt3 -1.296467e-04 -2.311133e-05 -4.773785e-05 -9.008976e-06
## EducationAtt4 -1.334342e-04 -3.014498e-05 -4.101812e-05 -1.181533e-05
## ExperienceAtt2 -8.199997e-05 -1.123148e-05 -4.144148e-05 -3.814145e-05
## ExperienceAtt3 -7.171382e-05 -4.278626e-06 -1.424778e-05 -2.378219e-05
## ExperienceAtt4 -8.696301e-05 3.903415e-06 -1.821762e-07 -5.897306e-06
## GenderAtt2 -6.189629e-05 3.700269e-06 2.384124e-05 4.686418e-06
## Office2 -4.599585e-06 7.310228e-07 4.151934e-08 3.539784e-06
## PartisanComp2 4.283196e-06 2.542855e-06 -4.205925e-06 2.449077e-05
## PartisanComp3 -4.646287e-06 -3.894740e-06 -7.138692e-06 4.398699e-06
## PartyAtt2 -1.703461e-05 -8.979621e-06 -4.031739e-06 -2.204637e-05
## PolicyAtt2 -1.366471e-04 3.765618e-06 5.660830e-06 1.250518e-05
## PolicyAtt3 -1.259754e-04 -2.852174e-05 -1.198161e-05 -9.419418e-06
## PolicyAtt4 -9.731880e-05 -6.697060e-06 1.249748e-05 6.383270e-06
## PolicyAtt5 -1.104018e-04 -2.430957e-05 -2.925767e-06 -1.995764e-05
## RaceAtt2 -1.274149e-04 -8.352531e-06 -1.760999e-06 -2.437128e-05
## RaceAtt3 -1.233005e-04 -2.718995e-05 -3.031537e-05 -4.111137e-05
## RaceAtt4 -1.096822e-04 -2.149976e-05 -1.738910e-05 -4.430448e-05
## ReligionAtt2 -1.652882e-04 -8.637105e-06 4.250214e-06 2.684611e-05
## ReligionAtt3 -1.034560e-04 3.045780e-06 2.739413e-05 1.570683e-06
## ReligionAtt4 -1.089625e-04 -1.059489e-05 2.554846e-05 2.875837e-05
## ReligionAtt5 -1.365343e-04 -1.010977e-05 2.918792e-05 4.859791e-05
## EducationAtt2 EducationAtt3 EducationAtt4 ExperienceAtt2
## (Intercept) -1.194332e-04 -1.296467e-04 -1.334342e-04 -8.199997e-05
## AgeAtt2 -3.069327e-05 -2.311133e-05 -3.014498e-05 -1.123148e-05
## AgeAtt3 -2.627218e-05 -4.773785e-05 -4.101812e-05 -4.144148e-05
## AgeAtt4 8.169395e-07 -9.008976e-06 -1.181533e-05 -3.814145e-05
## EducationAtt2 1.882832e-04 1.059589e-04 1.123375e-04 -4.413049e-06
## EducationAtt3 1.059589e-04 2.114749e-04 1.313306e-04 1.125407e-05
## EducationAtt4 1.123375e-04 1.313306e-04 1.991529e-04 1.718222e-05
## ExperienceAtt2 -4.413049e-06 1.125407e-05 1.718222e-05 1.937959e-04
## ExperienceAtt3 -7.303023e-06 -6.461220e-06 1.266060e-05 1.033092e-04
## ExperienceAtt4 -1.185473e-06 1.520648e-05 1.028749e-05 9.036707e-05
## GenderAtt2 8.216712e-06 -7.782154e-06 3.120833e-06 -1.237859e-05
## Office2 -4.020237e-07 2.215154e-06 6.583706e-07 3.062860e-06
## PartisanComp2 -1.122249e-05 3.201965e-05 6.876010e-08 -1.418869e-06
## PartisanComp3 -3.316229e-06 1.700512e-05 3.199721e-06 2.801087e-06
## PartyAtt2 1.213004e-05 -2.921909e-05 5.981929e-06 5.459454e-07
## PolicyAtt2 5.063327e-06 3.578457e-05 1.559125e-05 2.795636e-07
## PolicyAtt3 2.455728e-05 3.135824e-05 2.728812e-05 -7.726564e-06
## PolicyAtt4 4.200536e-07 1.692041e-05 2.449998e-06 -2.898732e-05
## PolicyAtt5 -5.770522e-06 1.787044e-05 1.987041e-05 -5.255089e-07
## RaceAtt2 1.071985e-05 -3.285456e-06 1.971598e-05 1.822352e-05
## RaceAtt3 1.803939e-05 2.697858e-05 4.037035e-05 4.685160e-05
## RaceAtt4 1.654904e-05 3.029703e-05 1.771154e-05 1.658835e-05
## ReligionAtt2 4.823651e-05 3.467787e-05 2.565707e-05 -6.574686e-06
## ReligionAtt3 -7.328454e-06 -2.898240e-06 -6.813657e-06 -1.896415e-05
## ReligionAtt4 1.067678e-05 -2.830746e-05 -1.868462e-05 -4.553185e-06
## ReligionAtt5 1.367437e-05 -5.203268e-06 -2.409906e-05 -3.463745e-06
## ExperienceAtt3 ExperienceAtt4 GenderAtt2 Office2
## (Intercept) -7.171382e-05 -8.696301e-05 -6.189629e-05 -4.599585e-06
## AgeAtt2 -4.278626e-06 3.903415e-06 3.700269e-06 7.310228e-07
## AgeAtt3 -1.424778e-05 -1.821762e-07 2.384124e-05 4.151934e-08
## AgeAtt4 -2.378219e-05 -5.897306e-06 4.686418e-06 3.539784e-06
## EducationAtt2 -7.303023e-06 -1.185473e-06 8.216712e-06 -4.020237e-07
## EducationAtt3 -6.461220e-06 1.520648e-05 -7.782154e-06 2.215154e-06
## EducationAtt4 1.266060e-05 1.028749e-05 3.120833e-06 6.583706e-07
## ExperienceAtt2 1.033092e-04 9.036707e-05 -1.237859e-05 3.062860e-06
## ExperienceAtt3 1.881282e-04 1.021337e-04 -1.580334e-05 1.591340e-06
## ExperienceAtt4 1.021337e-04 1.830725e-04 -2.003122e-05 8.085376e-07
## GenderAtt2 -1.580334e-05 -2.003122e-05 8.643051e-05 -1.698278e-06
## Office2 1.591340e-06 8.085376e-07 -1.698278e-06 5.126329e-06
## PartisanComp2 -2.768849e-05 1.266829e-05 -5.339481e-06 -4.232936e-07
## PartisanComp3 -8.774572e-06 9.389816e-06 -7.162939e-07 -4.608939e-07
## PartyAtt2 4.308497e-05 -1.075579e-05 9.186552e-06 8.680137e-07
## PolicyAtt2 -2.552596e-05 1.332386e-05 1.237757e-05 2.458560e-06
## PolicyAtt3 -4.899848e-06 -1.443189e-06 7.317235e-06 1.241535e-06
## PolicyAtt4 -3.279646e-05 -2.377250e-05 7.769175e-06 1.232379e-06
## PolicyAtt5 2.003588e-05 1.066803e-05 -1.224567e-07 -1.172170e-06
## RaceAtt2 7.177262e-06 1.606674e-05 2.115597e-05 2.868741e-06
## RaceAtt3 3.410358e-05 2.652226e-05 5.610792e-06 2.160913e-06
## RaceAtt4 1.475554e-06 1.451001e-05 7.283958e-06 9.781670e-07
## ReligionAtt2 -1.362191e-05 -1.873608e-05 3.666557e-06 -3.397178e-06
## ReligionAtt3 -1.250367e-05 -2.639470e-05 8.343064e-06 -3.971164e-06
## ReligionAtt4 -3.207463e-05 -2.150324e-05 1.181996e-05 -2.242351e-06
## ReligionAtt5 -3.917468e-05 -2.698098e-05 1.006125e-06 -2.568601e-06
## PartisanComp2 PartisanComp3 PartyAtt2 PolicyAtt2
## (Intercept) 4.283196e-06 -4.646287e-06 -1.703461e-05 -1.366471e-04
## AgeAtt2 2.542855e-06 -3.894740e-06 -8.979621e-06 3.765618e-06
## AgeAtt3 -4.205925e-06 -7.138692e-06 -4.031739e-06 5.660830e-06
## AgeAtt4 2.449077e-05 4.398699e-06 -2.204637e-05 1.250518e-05
## EducationAtt2 -1.122249e-05 -3.316229e-06 1.213004e-05 5.063327e-06
## EducationAtt3 3.201965e-05 1.700512e-05 -2.921909e-05 3.578457e-05
## EducationAtt4 6.876010e-08 3.199721e-06 5.981929e-06 1.559125e-05
## ExperienceAtt2 -1.418869e-06 2.801087e-06 5.459454e-07 2.795636e-07
## ExperienceAtt3 -2.768849e-05 -8.774572e-06 4.308497e-05 -2.552596e-05
## ExperienceAtt4 1.266829e-05 9.389816e-06 -1.075579e-05 1.332386e-05
## GenderAtt2 -5.339481e-06 -7.162939e-07 9.186552e-06 1.237757e-05
## Office2 -4.232936e-07 -4.608939e-07 8.680137e-07 2.458560e-06
## PartisanComp2 7.244138e-04 3.584689e-04 -7.200304e-04 3.967280e-05
## PartisanComp3 3.584689e-04 1.821990e-04 -3.567343e-04 1.678156e-05
## PartyAtt2 -7.200304e-04 -3.567343e-04 7.317584e-04 -3.791798e-05
## PolicyAtt2 3.967280e-05 1.678156e-05 -3.791798e-05 2.383725e-04
## PolicyAtt3 3.294529e-05 1.822831e-05 -1.926374e-05 1.319439e-04
## PolicyAtt4 2.801141e-05 1.503099e-05 -2.892581e-05 1.327326e-04
## PolicyAtt5 3.770068e-05 2.078009e-05 -2.473377e-05 1.021560e-04
## RaceAtt2 -1.480158e-05 -5.954715e-07 1.196717e-05 -2.706864e-05
## RaceAtt3 -3.117512e-05 -1.106682e-05 2.933144e-05 -2.126553e-05
## RaceAtt4 1.053672e-05 7.883288e-06 -1.676021e-05 -1.549454e-05
## ReligionAtt2 1.459469e-06 4.134385e-06 1.997004e-06 1.408787e-05
## ReligionAtt3 -4.413210e-05 -1.956381e-05 3.194889e-05 1.640353e-05
## ReligionAtt4 -5.771033e-05 -2.924338e-05 5.612435e-05 -2.675334e-05
## ReligionAtt5 -3.935634e-05 -2.285703e-05 3.162244e-05 2.610266e-05
## PolicyAtt3 PolicyAtt4 PolicyAtt5 RaceAtt2
## (Intercept) -1.259754e-04 -9.731880e-05 -1.104018e-04 -1.274149e-04
## AgeAtt2 -2.852174e-05 -6.697060e-06 -2.430957e-05 -8.352531e-06
## AgeAtt3 -1.198161e-05 1.249748e-05 -2.925767e-06 -1.760999e-06
## AgeAtt4 -9.419418e-06 6.383270e-06 -1.995764e-05 -2.437128e-05
## EducationAtt2 2.455728e-05 4.200536e-07 -5.770522e-06 1.071985e-05
## EducationAtt3 3.135824e-05 1.692041e-05 1.787044e-05 -3.285456e-06
## EducationAtt4 2.728812e-05 2.449998e-06 1.987041e-05 1.971598e-05
## ExperienceAtt2 -7.726564e-06 -2.898732e-05 -5.255089e-07 1.822352e-05
## ExperienceAtt3 -4.899848e-06 -3.279646e-05 2.003588e-05 7.177262e-06
## ExperienceAtt4 -1.443189e-06 -2.377250e-05 1.066803e-05 1.606674e-05
## GenderAtt2 7.317235e-06 7.769175e-06 -1.224567e-07 2.115597e-05
## Office2 1.241535e-06 1.232379e-06 -1.172170e-06 2.868741e-06
## PartisanComp2 3.294529e-05 2.801141e-05 3.770068e-05 -1.480158e-05
## PartisanComp3 1.822831e-05 1.503099e-05 2.078009e-05 -5.954715e-07
## PartyAtt2 -1.926374e-05 -2.892581e-05 -2.473377e-05 1.196717e-05
## PolicyAtt2 1.319439e-04 1.327326e-04 1.021560e-04 -2.706864e-05
## PolicyAtt3 2.591967e-04 1.429104e-04 1.256149e-04 -3.351025e-07
## PolicyAtt4 1.429104e-04 2.221617e-04 1.061631e-04 -1.352769e-05
## PolicyAtt5 1.256149e-04 1.061631e-04 2.188529e-04 -9.702760e-06
## RaceAtt2 -3.351025e-07 -1.352769e-05 -9.702760e-06 2.161721e-04
## RaceAtt3 -1.390786e-05 -3.094956e-05 -6.103642e-06 1.313401e-04
## RaceAtt4 -9.772560e-06 -2.202959e-05 -6.477298e-06 1.133851e-04
## ReligionAtt2 -1.259534e-05 4.009910e-06 1.680465e-05 -2.271262e-06
## ReligionAtt3 -1.701272e-05 7.397049e-06 3.315177e-06 -6.079155e-06
## ReligionAtt4 -4.624583e-05 -2.677860e-05 -3.378625e-05 8.710576e-06
## ReligionAtt5 -2.206119e-05 7.367105e-06 -1.575540e-05 -4.017747e-06
## RaceAtt3 RaceAtt4 ReligionAtt2 ReligionAtt3
## (Intercept) -1.233005e-04 -1.096822e-04 -1.652882e-04 -1.034560e-04
## AgeAtt2 -2.718995e-05 -2.149976e-05 -8.637105e-06 3.045780e-06
## AgeAtt3 -3.031537e-05 -1.738910e-05 4.250214e-06 2.739413e-05
## AgeAtt4 -4.111137e-05 -4.430448e-05 2.684611e-05 1.570683e-06
## EducationAtt2 1.803939e-05 1.654904e-05 4.823651e-05 -7.328454e-06
## EducationAtt3 2.697858e-05 3.029703e-05 3.467787e-05 -2.898240e-06
## EducationAtt4 4.037035e-05 1.771154e-05 2.565707e-05 -6.813657e-06
## ExperienceAtt2 4.685160e-05 1.658835e-05 -6.574686e-06 -1.896415e-05
## ExperienceAtt3 3.410358e-05 1.475554e-06 -1.362191e-05 -1.250367e-05
## ExperienceAtt4 2.652226e-05 1.451001e-05 -1.873608e-05 -2.639470e-05
## GenderAtt2 5.610792e-06 7.283958e-06 3.666557e-06 8.343064e-06
## Office2 2.160913e-06 9.781670e-07 -3.397178e-06 -3.971164e-06
## PartisanComp2 -3.117512e-05 1.053672e-05 1.459469e-06 -4.413210e-05
## PartisanComp3 -1.106682e-05 7.883288e-06 4.134385e-06 -1.956381e-05
## PartyAtt2 2.933144e-05 -1.676021e-05 1.997004e-06 3.194889e-05
## PolicyAtt2 -2.126553e-05 -1.549454e-05 1.408787e-05 1.640353e-05
## PolicyAtt3 -1.390786e-05 -9.772560e-06 -1.259534e-05 -1.701272e-05
## PolicyAtt4 -3.094956e-05 -2.202959e-05 4.009910e-06 7.397049e-06
## PolicyAtt5 -6.103642e-06 -6.477298e-06 1.680465e-05 3.315177e-06
## RaceAtt2 1.313401e-04 1.133851e-04 -2.271262e-06 -6.079155e-06
## RaceAtt3 2.248707e-04 1.343388e-04 -8.706441e-06 -9.973258e-06
## RaceAtt4 1.343388e-04 2.031074e-04 6.079811e-06 -3.892118e-06
## ReligionAtt2 -8.706441e-06 6.079811e-06 2.613117e-04 1.292364e-04
## ReligionAtt3 -9.973258e-06 -3.892118e-06 1.292364e-04 2.139120e-04
## ReligionAtt4 -1.110485e-05 7.701103e-06 1.333914e-04 1.263145e-04
## ReligionAtt5 -3.626891e-05 2.404919e-06 1.570137e-04 1.301257e-04
## ReligionAtt4 ReligionAtt5
## (Intercept) -1.089625e-04 -1.365343e-04
## AgeAtt2 -1.059489e-05 -1.010977e-05
## AgeAtt3 2.554846e-05 2.918792e-05
## AgeAtt4 2.875837e-05 4.859791e-05
## EducationAtt2 1.067678e-05 1.367437e-05
## EducationAtt3 -2.830746e-05 -5.203268e-06
## EducationAtt4 -1.868462e-05 -2.409906e-05
## ExperienceAtt2 -4.553185e-06 -3.463745e-06
## ExperienceAtt3 -3.207463e-05 -3.917468e-05
## ExperienceAtt4 -2.150324e-05 -2.698098e-05
## GenderAtt2 1.181996e-05 1.006125e-06
## Office2 -2.242351e-06 -2.568601e-06
## PartisanComp2 -5.771033e-05 -3.935634e-05
## PartisanComp3 -2.924338e-05 -2.285703e-05
## PartyAtt2 5.612435e-05 3.162244e-05
## PolicyAtt2 -2.675334e-05 2.610266e-05
## PolicyAtt3 -4.624583e-05 -2.206119e-05
## PolicyAtt4 -2.677860e-05 7.367105e-06
## PolicyAtt5 -3.378625e-05 -1.575540e-05
## RaceAtt2 8.710576e-06 -4.017747e-06
## RaceAtt3 -1.110485e-05 -3.626891e-05
## RaceAtt4 7.701103e-06 2.404919e-06
## ReligionAtt2 1.333914e-04 1.570137e-04
## ReligionAtt3 1.263145e-04 1.301257e-04
## ReligionAtt4 2.648730e-04 1.854656e-04
## ReligionAtt5 1.854656e-04 3.099136e-04
##
## $samplesize_prof
## [1] 20384
##
## $formula
## VotingChoice ~ AgeAtt + EducationAtt + ExperienceAtt + GenderAtt +
## Office + PartisanComp + PartyAtt + PolicyAtt + RaceAtt +
## ReligionAtt
## <environment: 0x000001cddc10beb0>
##
## $baselines
## $baselines$AgeAtt
## [1] "1"
##
## $baselines$EducationAtt
## [1] "1"
##
## $baselines$ExperienceAtt
## [1] "1"
##
## $baselines$GenderAtt
## [1] "1"
##
## $baselines$Office
## [1] "1"
##
## $baselines$PartisanComp
## [1] "1"
##
## $baselines$PartyAtt
## [1] "1"
##
## $baselines$PolicyAtt
## [1] "1"
##
## $baselines$RaceAtt
## [1] "1"
##
## $baselines$ReligionAtt
## [1] "1"
##
##
## $continuous
## list()
##
## $numrespondents
## [1] 1274
##
## $weights
## # A tibble: 20,384 × 1
## WEIGHT
## <dbl>
## 1 0.234
## 2 0.234
## 3 0.234
## 4 0.234
## 5 0.234
## 6 0.234
## 7 0.234
## 8 0.234
## 9 0.234
## 10 0.234
## # ℹ 20,374 more rows
##
## $user.names
## $user.names$VotingChoice
## [1] "Voting.Choice"
##
## $user.names$ReligionAtt
## [1] "Religion.Att"
##
## $user.names$GenderAtt
## [1] "Gender.Att"
##
## $user.names$RaceAtt
## [1] "Race.Att"
##
## $user.names$EducationAtt
## [1] "Education.Att"
##
## $user.names$AgeAtt
## [1] "Age.Att"
##
## $user.names$ExperienceAtt
## [1] "Experience.Att"
##
## $user.names$PartyAtt
## [1] "Party.Att"
##
## $user.names$PolicyAtt
## [1] "Policy.Att"
##
## $user.names$Office
## [1] "Office"
##
## $user.names$PartisanComp
## [1] "Partisan_Comp"
##
##
## $user.levels
## list()
##
## $data
## # A tibble: 20,384 × 75
## CaseId WEIGHT ConfidenceinGod Secularism1 Secularism2 Secularism3 Secularism4
## <dbl> <dbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl>
## 1 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 2 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 3 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 4 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 5 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 6 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 7 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 8 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 9 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 10 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## # ℹ 20,374 more rows
## # ℹ 68 more variables: MayorPresidentRandom1 <dbl+lbl>,
## # AttributeOrder1 <dbl+lbl>, AttributeOrder2 <dbl+lbl>,
## # AttributeOrder3 <dbl+lbl>, AttributeOrder4 <dbl+lbl>,
## # AttributeOrder5 <dbl+lbl>, AttributeOrder6 <dbl+lbl>,
## # AttributeOrder7 <dbl+lbl>, AttributeOrder8 <dbl+lbl>, PartyID7 <dbl+lbl>,
## # PartyID5 <dbl+lbl>, IDEO <dbl+lbl>, RELIG <dbl+lbl>, RELIGOE <chr>, …
##
## attr(,"class")
## [1] "amce"
test.results.3 <- amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
Education.Att + Age.Att + Experience.Att + Party.Att +
Policy.Att + Office + Partisan_Comp,
data=TESS_Data_Final_Vote_Recode,
cluster=TRUE, weights = "WEIGHT", respondent.id="CaseId",
design = "uniform")
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: AgeAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: EducationAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ExperienceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: GenderAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: Office changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartisanComp changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PartyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: PolicyAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: RaceAtt changed to factor
## Warning in amce(Voting.Choice ~ Religion.Att + Gender.Att + Race.Att +
## Education.Att + : Warning: ReligionAtt changed to factor
print(test.results.3)
## $estimates
## $estimates$AgeAtt
## AgeAtt2 AgeAtt3 AgeAtt4
## AMCE 0.007090786 0.004454963 -0.007869941
## Std. Error 0.012782228 0.012466207 0.013334719
##
## $estimates$EducationAtt
## EducationAtt2 EducationAtt3 EducationAtt4
## AMCE 0.02862141 0.02084978 -0.006898616
## Std. Error 0.01403189 0.01274581 0.014619545
##
## $estimates$ExperienceAtt
## ExperienceAtt2 ExperienceAtt3 ExperienceAtt4
## AMCE -0.01802921 -0.02208362 -0.01804155
## Std. Error 0.01323681 0.01263836 0.01374725
##
## $estimates$GenderAtt
## GenderAtt2
## AMCE -0.004761275
## Std. Error 0.009610831
##
## $estimates$Office
## Office2
## AMCE -0.001296915
## Std. Error 0.013060812
##
## $estimates$PartisanComp
## PartisanComp2 PartisanComp3
## AMCE 0.03083361 0.03094745
## Std. Error 0.02042755 0.01599552
##
## $estimates$PartyAtt
## PartyAtt2
## AMCE 0.004399420
## Std. Error 0.002859735
##
## $estimates$PolicyAtt
## PolicyAtt2 PolicyAtt3 PolicyAtt4 PolicyAtt5
## AMCE 0.04704615 0.03130175 0.03609877 0.02186687
## Std. Error 0.01693091 0.01462221 0.01579659 0.01593921
##
## $estimates$RaceAtt
## RaceAtt2 RaceAtt3 RaceAtt4
## AMCE 0.002438843 -0.02407743 -0.006779561
## Std. Error 0.013963229 0.01237012 0.012686129
##
## $estimates$ReligionAtt
## ReligionAtt2 ReligionAtt3 ReligionAtt4 ReligionAtt5
## AMCE -0.00540364 0.03137230 0.001632693 -0.00233990
## Std. Error 0.01494270 0.01538998 0.014607906 0.01582129
##
##
## $attributes
## $attributes$AgeAtt
## [1] "1" "2" "3" "4"
##
## $attributes$EducationAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ExperienceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$GenderAtt
## [1] "1" "2"
##
## $attributes$Office
## [1] "1" "2"
##
## $attributes$PartisanComp
## [1] "1" "2" "3"
##
## $attributes$PartyAtt
## [1] "1" "2"
##
## $attributes$PolicyAtt
## [1] "1" "2" "3" "4" "5"
##
## $attributes$RaceAtt
## [1] "1" "2" "3" "4"
##
## $attributes$ReligionAtt
## [1] "1" "2" "3" "4" "5"
##
##
## $vcov.prof
## (Intercept) AgeAtt2 AgeAtt3 AgeAtt4
## (Intercept) 7.249931e-04 -6.019933e-05 -5.464553e-05 -9.114717e-05
## AgeAtt2 -6.019933e-05 1.633853e-04 7.888305e-05 8.346367e-05
## AgeAtt3 -5.464553e-05 7.888305e-05 1.554063e-04 5.440921e-05
## AgeAtt4 -9.114717e-05 8.346367e-05 5.440921e-05 1.778147e-04
## EducationAtt2 -1.383602e-04 6.167234e-06 2.799096e-06 7.654127e-07
## EducationAtt3 -1.043540e-04 7.094160e-06 -5.170507e-06 1.336399e-05
## EducationAtt4 -1.252350e-04 9.321271e-06 3.281588e-05 1.085051e-05
## ExperienceAtt2 -5.049833e-05 2.166648e-05 1.178529e-05 2.223611e-05
## ExperienceAtt3 -7.104595e-05 2.328880e-06 5.107422e-06 2.009753e-05
## ExperienceAtt4 -9.828209e-05 1.856820e-05 2.403977e-07 2.765290e-05
## GenderAtt2 -5.946512e-05 -1.070143e-05 4.218775e-06 -2.528724e-06
## Office2 -8.726023e-05 -1.095176e-05 -9.338024e-06 -9.866019e-07
## PartisanComp2 -1.965845e-04 -4.880185e-05 -1.493788e-05 -1.805414e-05
## PartisanComp3 -1.841657e-04 -2.457938e-05 -1.277419e-05 -1.000023e-05
## PartyAtt2 -1.182916e-05 6.051766e-06 4.220510e-07 2.544052e-06
## PolicyAtt2 -1.373997e-04 -9.138300e-06 -2.563808e-05 2.807901e-06
## PolicyAtt3 -1.258107e-04 -1.185307e-05 -1.609548e-05 -3.730939e-06
## PolicyAtt4 -1.140297e-04 -5.970824e-09 -1.549730e-05 2.208888e-06
## PolicyAtt5 -1.220610e-04 2.111577e-05 -1.562001e-06 2.057498e-06
## RaceAtt2 -1.090851e-04 -1.430490e-05 -6.556998e-06 1.247528e-05
## RaceAtt3 -5.934394e-05 -1.673862e-05 -1.546613e-05 7.064730e-08
## RaceAtt4 -7.309419e-05 1.298564e-06 2.193921e-06 -8.382058e-06
## ReligionAtt2 -1.466681e-04 -8.452206e-06 -7.865566e-06 -1.202944e-06
## ReligionAtt3 -1.038623e-04 7.150608e-06 -1.869415e-05 -7.090705e-06
## ReligionAtt4 -1.098697e-04 -4.824047e-06 -1.534659e-05 4.919749e-06
## ReligionAtt5 -9.412861e-05 -1.228641e-05 -1.669221e-05 -7.647932e-06
## EducationAtt2 EducationAtt3 EducationAtt4 ExperienceAtt2
## (Intercept) -1.383602e-04 -1.043540e-04 -1.252350e-04 -5.049833e-05
## AgeAtt2 6.167234e-06 7.094160e-06 9.321271e-06 2.166648e-05
## AgeAtt3 2.799096e-06 -5.170507e-06 3.281588e-05 1.178529e-05
## AgeAtt4 7.654127e-07 1.336399e-05 1.085051e-05 2.223611e-05
## EducationAtt2 1.968939e-04 8.983802e-05 8.696003e-05 -2.032523e-05
## EducationAtt3 8.983802e-05 1.624556e-04 6.550137e-05 -1.482061e-07
## EducationAtt4 8.696003e-05 6.550137e-05 2.137311e-04 -2.434460e-06
## ExperienceAtt2 -2.032523e-05 -1.482061e-07 -2.434460e-06 1.752130e-04
## ExperienceAtt3 -1.241574e-06 -4.706344e-06 4.978223e-06 7.127116e-05
## ExperienceAtt4 6.932645e-07 7.754210e-06 4.910344e-06 8.531735e-05
## GenderAtt2 1.584364e-05 -5.985941e-06 1.370989e-05 -3.760508e-06
## Office2 7.415814e-06 -6.652616e-06 -7.403290e-06 -5.944160e-07
## PartisanComp2 9.431674e-06 2.614269e-05 3.249743e-05 -7.139032e-06
## PartisanComp3 1.257400e-05 2.046042e-05 9.794724e-06 -1.137810e-05
## PartyAtt2 8.235258e-06 -2.884668e-06 5.563758e-06 -4.661624e-06
## PolicyAtt2 1.340193e-05 -6.083852e-06 -3.318393e-05 -1.604718e-05
## PolicyAtt3 1.110484e-05 2.244232e-05 -1.772621e-05 -1.597021e-05
## PolicyAtt4 2.432073e-06 -8.879163e-06 -2.512129e-05 -2.057678e-05
## PolicyAtt5 1.539857e-05 -1.018016e-05 -2.238930e-05 -2.155722e-05
## RaceAtt2 -1.383510e-05 -1.651655e-05 -2.806434e-05 -6.311373e-06
## RaceAtt3 -3.500194e-05 -1.657787e-05 -7.370590e-06 9.618816e-06
## RaceAtt4 -7.370871e-06 -6.268719e-06 2.736738e-07 3.602450e-06
## ReligionAtt2 3.442409e-05 1.309746e-05 2.564343e-05 -4.923990e-06
## ReligionAtt3 1.622688e-05 8.882222e-06 1.432672e-05 -2.937522e-05
## ReligionAtt4 2.162740e-05 1.721603e-05 1.202488e-05 -2.615903e-05
## ReligionAtt5 -8.365031e-06 -9.862392e-07 1.587993e-05 -2.558170e-05
## ExperienceAtt3 ExperienceAtt4 GenderAtt2 Office2
## (Intercept) -7.104595e-05 -9.828209e-05 -5.946512e-05 -8.726023e-05
## AgeAtt2 2.328880e-06 1.856820e-05 -1.070143e-05 -1.095176e-05
## AgeAtt3 5.107422e-06 2.403977e-07 4.218775e-06 -9.338024e-06
## AgeAtt4 2.009753e-05 2.765290e-05 -2.528724e-06 -9.866019e-07
## EducationAtt2 -1.241574e-06 6.932645e-07 1.584364e-05 7.415814e-06
## EducationAtt3 -4.706344e-06 7.754210e-06 -5.985941e-06 -6.652616e-06
## EducationAtt4 4.978223e-06 4.910344e-06 1.370989e-05 -7.403290e-06
## ExperienceAtt2 7.127116e-05 8.531735e-05 -3.760508e-06 -5.944160e-07
## ExperienceAtt3 1.597281e-04 7.556965e-05 -8.286872e-06 -4.149294e-06
## ExperienceAtt4 7.556965e-05 1.889869e-04 -3.287369e-06 1.821606e-06
## GenderAtt2 -8.286872e-06 -3.287369e-06 9.236807e-05 1.817180e-05
## Office2 -4.149294e-06 1.821606e-06 1.817180e-05 1.705848e-04
## PartisanComp2 1.958378e-06 -5.934361e-06 2.427335e-05 3.565081e-05
## PartisanComp3 -8.995321e-07 -8.570238e-06 6.498285e-06 1.390011e-05
## PartyAtt2 7.118447e-06 3.465023e-06 -8.011891e-06 -1.989038e-06
## PolicyAtt2 9.241445e-06 1.206466e-05 -1.511330e-06 -1.793278e-06
## PolicyAtt3 -9.238811e-06 1.900673e-05 1.705137e-06 -7.286364e-06
## PolicyAtt4 -5.022810e-06 1.049915e-06 1.074272e-06 -4.177361e-06
## PolicyAtt5 -5.739147e-06 -1.333957e-05 2.214789e-06 -7.185966e-07
## RaceAtt2 3.761075e-06 2.659145e-05 2.520562e-05 8.527772e-06
## RaceAtt3 5.931550e-06 1.908468e-05 -9.138263e-06 -5.739464e-06
## RaceAtt4 2.143790e-06 -9.061007e-07 7.043988e-06 2.031758e-06
## ReligionAtt2 -2.749338e-06 5.248379e-06 2.311456e-06 -2.713043e-06
## ReligionAtt3 -1.780545e-05 -1.360683e-06 5.124978e-06 -3.969127e-06
## ReligionAtt4 -3.027229e-05 -1.812266e-05 -3.059357e-06 6.202908e-06
## ReligionAtt5 -2.444993e-05 -3.209266e-05 -9.358140e-07 -1.259571e-05
## PartisanComp2 PartisanComp3 PartyAtt2 PolicyAtt2
## (Intercept) -1.965845e-04 -1.841657e-04 -1.182916e-05 -1.373997e-04
## AgeAtt2 -4.880185e-05 -2.457938e-05 6.051766e-06 -9.138300e-06
## AgeAtt3 -1.493788e-05 -1.277419e-05 4.220510e-07 -2.563808e-05
## AgeAtt4 -1.805414e-05 -1.000023e-05 2.544052e-06 2.807901e-06
## EducationAtt2 9.431674e-06 1.257400e-05 8.235258e-06 1.340193e-05
## EducationAtt3 2.614269e-05 2.046042e-05 -2.884668e-06 -6.083852e-06
## EducationAtt4 3.249743e-05 9.794724e-06 5.563758e-06 -3.318393e-05
## ExperienceAtt2 -7.139032e-06 -1.137810e-05 -4.661624e-06 -1.604718e-05
## ExperienceAtt3 1.958378e-06 -8.995321e-07 7.118447e-06 9.241445e-06
## ExperienceAtt4 -5.934361e-06 -8.570238e-06 3.465023e-06 1.206466e-05
## GenderAtt2 2.427335e-05 6.498285e-06 -8.011891e-06 -1.511330e-06
## Office2 3.565081e-05 1.390011e-05 -1.989038e-06 -1.793278e-06
## PartisanComp2 4.172848e-04 1.746009e-04 -1.033531e-05 -2.308027e-05
## PartisanComp3 1.746009e-04 2.558566e-04 -5.287652e-06 1.360336e-05
## PartyAtt2 -1.033531e-05 -5.287652e-06 8.178082e-06 2.109329e-05
## PolicyAtt2 -2.308027e-05 1.360336e-05 2.109329e-05 2.866557e-04
## PolicyAtt3 2.590303e-06 1.081590e-05 1.920141e-05 1.206630e-04
## PolicyAtt4 -1.031958e-05 1.320521e-06 2.418927e-05 1.546335e-04
## PolicyAtt5 -2.141486e-05 1.047047e-05 2.270602e-05 1.612506e-04
## RaceAtt2 -3.185695e-06 8.937318e-06 -7.875023e-06 3.112860e-05
## RaceAtt3 1.045376e-05 9.076209e-06 -8.858420e-06 -5.340240e-06
## RaceAtt4 -8.715409e-06 7.473412e-06 -6.050503e-06 -2.464356e-05
## ReligionAtt2 3.988141e-05 3.462563e-05 -1.448962e-05 -6.219245e-07
## ReligionAtt3 -2.582347e-05 -4.711155e-06 -1.208628e-06 -1.445380e-05
## ReligionAtt4 -1.052293e-05 -1.262744e-05 8.132287e-06 9.557413e-06
## ReligionAtt5 4.636030e-06 5.974625e-07 -3.464680e-06 -1.460971e-05
## PolicyAtt3 PolicyAtt4 PolicyAtt5 RaceAtt2
## (Intercept) -1.258107e-04 -1.140297e-04 -1.220610e-04 -1.090851e-04
## AgeAtt2 -1.185307e-05 -5.970824e-09 2.111577e-05 -1.430490e-05
## AgeAtt3 -1.609548e-05 -1.549730e-05 -1.562001e-06 -6.556998e-06
## AgeAtt4 -3.730939e-06 2.208888e-06 2.057498e-06 1.247528e-05
## EducationAtt2 1.110484e-05 2.432073e-06 1.539857e-05 -1.383510e-05
## EducationAtt3 2.244232e-05 -8.879163e-06 -1.018016e-05 -1.651655e-05
## EducationAtt4 -1.772621e-05 -2.512129e-05 -2.238930e-05 -2.806434e-05
## ExperienceAtt2 -1.597021e-05 -2.057678e-05 -2.155722e-05 -6.311373e-06
## ExperienceAtt3 -9.238811e-06 -5.022810e-06 -5.739147e-06 3.761075e-06
## ExperienceAtt4 1.900673e-05 1.049915e-06 -1.333957e-05 2.659145e-05
## GenderAtt2 1.705137e-06 1.074272e-06 2.214789e-06 2.520562e-05
## Office2 -7.286364e-06 -4.177361e-06 -7.185966e-07 8.527772e-06
## PartisanComp2 2.590303e-06 -1.031958e-05 -2.141486e-05 -3.185695e-06
## PartisanComp3 1.081590e-05 1.320521e-06 1.047047e-05 8.937318e-06
## PartyAtt2 1.920141e-05 2.418927e-05 2.270602e-05 -7.875023e-06
## PolicyAtt2 1.206630e-04 1.546335e-04 1.612506e-04 3.112860e-05
## PolicyAtt3 2.138091e-04 1.221432e-04 1.150058e-04 9.089407e-06
## PolicyAtt4 1.221432e-04 2.495322e-04 1.558096e-04 1.522038e-05
## PolicyAtt5 1.150058e-04 1.558096e-04 2.540585e-04 2.537231e-06
## RaceAtt2 9.089407e-06 1.522038e-05 2.537231e-06 1.949718e-04
## RaceAtt3 1.697495e-07 -1.507427e-05 -2.443239e-05 8.181032e-05
## RaceAtt4 -9.101311e-06 -3.612063e-05 -4.032624e-05 8.813656e-05
## ReligionAtt2 -1.047869e-05 -2.209814e-05 -3.901009e-06 -4.220626e-06
## ReligionAtt3 -1.213364e-05 -1.878008e-05 -3.045910e-05 3.164258e-06
## ReligionAtt4 1.057961e-05 2.536628e-05 1.723533e-05 -1.893814e-06
## ReligionAtt5 -5.650252e-06 2.508231e-06 -2.228289e-05 -4.665389e-06
## RaceAtt3 RaceAtt4 ReligionAtt2 ReligionAtt3
## (Intercept) -5.934394e-05 -7.309419e-05 -1.466681e-04 -1.038623e-04
## AgeAtt2 -1.673862e-05 1.298564e-06 -8.452206e-06 7.150608e-06
## AgeAtt3 -1.546613e-05 2.193921e-06 -7.865566e-06 -1.869415e-05
## AgeAtt4 7.064730e-08 -8.382058e-06 -1.202944e-06 -7.090705e-06
## EducationAtt2 -3.500194e-05 -7.370871e-06 3.442409e-05 1.622688e-05
## EducationAtt3 -1.657787e-05 -6.268719e-06 1.309746e-05 8.882222e-06
## EducationAtt4 -7.370590e-06 2.736738e-07 2.564343e-05 1.432672e-05
## ExperienceAtt2 9.618816e-06 3.602450e-06 -4.923990e-06 -2.937522e-05
## ExperienceAtt3 5.931550e-06 2.143790e-06 -2.749338e-06 -1.780545e-05
## ExperienceAtt4 1.908468e-05 -9.061007e-07 5.248379e-06 -1.360683e-06
## GenderAtt2 -9.138263e-06 7.043988e-06 2.311456e-06 5.124978e-06
## Office2 -5.739464e-06 2.031758e-06 -2.713043e-06 -3.969127e-06
## PartisanComp2 1.045376e-05 -8.715409e-06 3.988141e-05 -2.582347e-05
## PartisanComp3 9.076209e-06 7.473412e-06 3.462563e-05 -4.711155e-06
## PartyAtt2 -8.858420e-06 -6.050503e-06 -1.448962e-05 -1.208628e-06
## PolicyAtt2 -5.340240e-06 -2.464356e-05 -6.219245e-07 -1.445380e-05
## PolicyAtt3 1.697495e-07 -9.101311e-06 -1.047869e-05 -1.213364e-05
## PolicyAtt4 -1.507427e-05 -3.612063e-05 -2.209814e-05 -1.878008e-05
## PolicyAtt5 -2.443239e-05 -4.032624e-05 -3.901009e-06 -3.045910e-05
## RaceAtt2 8.181032e-05 8.813656e-05 -4.220626e-06 3.164258e-06
## RaceAtt3 1.530199e-04 6.886890e-05 2.783120e-05 1.520464e-05
## RaceAtt4 6.886890e-05 1.609379e-04 1.215535e-05 2.376640e-05
## ReligionAtt2 2.783120e-05 1.215535e-05 2.232844e-04 1.103774e-04
## ReligionAtt3 1.520464e-05 2.376640e-05 1.103774e-04 2.368516e-04
## ReligionAtt4 -1.547515e-06 1.274415e-06 9.253509e-05 1.145016e-04
## ReligionAtt5 1.294152e-05 1.351672e-05 1.230710e-04 1.396555e-04
## ReligionAtt4 ReligionAtt5
## (Intercept) -1.098697e-04 -9.412861e-05
## AgeAtt2 -4.824047e-06 -1.228641e-05
## AgeAtt3 -1.534659e-05 -1.669221e-05
## AgeAtt4 4.919749e-06 -7.647932e-06
## EducationAtt2 2.162740e-05 -8.365031e-06
## EducationAtt3 1.721603e-05 -9.862392e-07
## EducationAtt4 1.202488e-05 1.587993e-05
## ExperienceAtt2 -2.615903e-05 -2.558170e-05
## ExperienceAtt3 -3.027229e-05 -2.444993e-05
## ExperienceAtt4 -1.812266e-05 -3.209266e-05
## GenderAtt2 -3.059357e-06 -9.358140e-07
## Office2 6.202908e-06 -1.259571e-05
## PartisanComp2 -1.052293e-05 4.636030e-06
## PartisanComp3 -1.262744e-05 5.974625e-07
## PartyAtt2 8.132287e-06 -3.464680e-06
## PolicyAtt2 9.557413e-06 -1.460971e-05
## PolicyAtt3 1.057961e-05 -5.650252e-06
## PolicyAtt4 2.536628e-05 2.508231e-06
## PolicyAtt5 1.723533e-05 -2.228289e-05
## RaceAtt2 -1.893814e-06 -4.665389e-06
## RaceAtt3 -1.547515e-06 1.294152e-05
## RaceAtt4 1.274415e-06 1.351672e-05
## ReligionAtt2 9.253509e-05 1.230710e-04
## ReligionAtt3 1.145016e-04 1.396555e-04
## ReligionAtt4 2.133909e-04 1.283117e-04
## ReligionAtt5 1.283117e-04 2.503134e-04
##
## $samplesize_prof
## [1] 20384
##
## $formula
## VotingChoice ~ AgeAtt + EducationAtt + ExperienceAtt + GenderAtt +
## Office + PartisanComp + PartyAtt + PolicyAtt + RaceAtt +
## ReligionAtt
## <environment: 0x000001cdd9ab9450>
##
## $baselines
## $baselines$AgeAtt
## [1] "1"
##
## $baselines$EducationAtt
## [1] "1"
##
## $baselines$ExperienceAtt
## [1] "1"
##
## $baselines$GenderAtt
## [1] "1"
##
## $baselines$Office
## [1] "1"
##
## $baselines$PartisanComp
## [1] "1"
##
## $baselines$PartyAtt
## [1] "1"
##
## $baselines$PolicyAtt
## [1] "1"
##
## $baselines$RaceAtt
## [1] "1"
##
## $baselines$ReligionAtt
## [1] "1"
##
##
## $continuous
## list()
##
## $numrespondents
## [1] 1274
##
## $weights
## # A tibble: 20,384 × 1
## WEIGHT
## <dbl>
## 1 0.234
## 2 0.234
## 3 0.234
## 4 0.234
## 5 0.234
## 6 0.234
## 7 0.234
## 8 0.234
## 9 0.234
## 10 0.234
## # ℹ 20,374 more rows
##
## $user.names
## $user.names$VotingChoice
## [1] "Voting.Choice"
##
## $user.names$ReligionAtt
## [1] "Religion.Att"
##
## $user.names$GenderAtt
## [1] "Gender.Att"
##
## $user.names$RaceAtt
## [1] "Race.Att"
##
## $user.names$EducationAtt
## [1] "Education.Att"
##
## $user.names$AgeAtt
## [1] "Age.Att"
##
## $user.names$ExperienceAtt
## [1] "Experience.Att"
##
## $user.names$PartyAtt
## [1] "Party.Att"
##
## $user.names$PolicyAtt
## [1] "Policy.Att"
##
## $user.names$Office
## [1] "Office"
##
## $user.names$PartisanComp
## [1] "Partisan_Comp"
##
##
## $user.levels
## list()
##
## $data
## # A tibble: 20,384 × 75
## CaseId WEIGHT ConfidenceinGod Secularism1 Secularism2 Secularism3 Secularism4
## <dbl> <dbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl> <dbl+lbl>
## 1 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 2 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 3 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 4 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 5 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 6 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 7 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 8 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 9 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## 10 53 0.234 5 [While I hav… 2 [2] 5 [5] 2 [2] 3 [3]
## # ℹ 20,374 more rows
## # ℹ 68 more variables: MayorPresidentRandom1 <dbl+lbl>,
## # AttributeOrder1 <dbl+lbl>, AttributeOrder2 <dbl+lbl>,
## # AttributeOrder3 <dbl+lbl>, AttributeOrder4 <dbl+lbl>,
## # AttributeOrder5 <dbl+lbl>, AttributeOrder6 <dbl+lbl>,
## # AttributeOrder7 <dbl+lbl>, AttributeOrder8 <dbl+lbl>, PartyID7 <dbl+lbl>,
## # PartyID5 <dbl+lbl>, IDEO <dbl+lbl>, RELIG <dbl+lbl>, RELIGOE <chr>, …
##
## attr(,"class")
## [1] "amce"