| | |
| | |
| | |
| |
|
| | commitment_white_usa_rv = lm_robust(recall_violence_std ~ commitment, data=us_survey_wave2[us_survey_wave2$identity_protesters_fac=="White",]) |
| | commitment_black_usa_rv = lm_robust(recall_violence_std ~ commitment, data=us_survey_wave2[us_survey_wave2$identity_protesters_fac=="Black",]) |
| | commitment_white_israel_rv = lm_robust(recall_violence_std ~ commitment, data=isr_survey_wave2[isr_survey_wave2$identity_protesters==0,]) |
| | commitment_ethiopian_israel_rv = lm_robust(recall_violence_std ~ commitment, data=isr_survey_wave2[isr_survey_wave2$identity_protesters==1,]) |
| | commitment_arab_israel_rv = lm_robust(recall_violence_std ~ commitment, data=isr_survey_wave2[isr_survey_wave2$identity_protesters==2,]) |
| |
|
| | |
| | term_recall_violence = c(commitment_white_usa_rv$coefficients[2], commitment_black_usa_rv$coefficients[2]) |
| | se_recall_violence = c(commitment_white_usa_rv$std.error[2], commitment_black_usa_rv$std.error[2]) |
| | statistic_recall_violence = c(commitment_white_usa_rv$statistic[2], commitment_black_usa_rv$statistic[2]) |
| | pval_recall_violence = c(commitment_white_usa_rv$p.value[2], commitment_black_usa_rv$p.value[2]) |
| | term = c("Majority group", "Minority group") |
| | recall_violence = as.data.frame(cbind(term_recall_violence, se_recall_violence, statistic_recall_violence, pval_recall_violence)) |
| | recall_violence = cbind(recall_violence, term) |
| | colnames(recall_violence) = c("estimate", "std.error", "statistic", "p.value", "term") |
| | rownames(recall_violence) = term |
| | recall_violence$model = "Recall violence" |
| | differences_us = recall_violence |
| |
|
| | |
| | term_recall_violence = c(commitment_white_israel_rv$coefficients[2], commitment_arab_israel_rv$coefficients[2]) |
| | se_recall_violence = c(commitment_white_israel_rv$std.error[2], commitment_arab_israel_rv$std.error[2]) |
| | statistic_recall_violence = c(commitment_white_israel_rv$statistic[2], commitment_arab_israel_rv$statistic[2]) |
| | pval_recall_violence = c(commitment_white_israel_rv$p.value[2], commitment_arab_israel_rv$p.value[2]) |
| | term = c("Majority group", "Minority group") |
| | recall_violence = as.data.frame(cbind(term_recall_violence, se_recall_violence, statistic_recall_violence, pval_recall_violence)) |
| | recall_violence = cbind(recall_violence, term) |
| | colnames(recall_violence) = c("estimate", "std.error", "statistic", "p.value", "term") |
| | rownames(recall_violence) = term |
| | recall_violence$model = "Recall violence" |
| | differences_isr_arab = recall_violence |
| |
|
| | |
| | term_recall_violence = c(commitment_white_israel_rv$coefficients[2], commitment_ethiopian_israel_rv$coefficients[2]) |
| | se_recall_violence = c(commitment_white_israel_rv$std.error[2], commitment_ethiopian_israel_rv$std.error[2]) |
| | statistic_recall_violence = c(commitment_white_israel_rv$statistic[2], commitment_ethiopian_israel_rv$statistic[2]) |
| | pval_recall_violence = c(commitment_white_israel_rv$p.value[2], commitment_ethiopian_israel_rv$p.value[2]) |
| | term = c("Majority group", "Minority group") |
| | recall_violence = as.data.frame(cbind(term_recall_violence, se_recall_violence, statistic_recall_violence, pval_recall_violence)) |
| | recall_violence = cbind(recall_violence, term) |
| | colnames(recall_violence) = c("estimate", "std.error", "statistic", "p.value", "term") |
| | rownames(recall_violence) = term |
| | recall_violence$model = "Recall violence" |
| | differences_isr_ethiopian = recall_violence |
| |
|
| | |
| | differences_us$term = "Perception of Blacks \n(United States)" |
| | differences_isr_ethiopian$term = "Perception of Ethiopians \n(Israel)" |
| | differences_isr_arab$term = "Perception of Arabs \n(Israel)" |
| |
|
| | diffs_sm = rbind(differences_us, differences_isr_ethiopian, differences_isr_arab) |
| | diffs_sm$model = rep(c("Majority group", "Minority group"),3) |
| | rownames(diffs_sm) = 1:nrow(diffs_sm) |
| |
|
| | results_df <- data.frame(term = diffs_sm$term, |
| | estimate = diffs_sm$estimate, |
| | std.error = diffs_sm$std.error, |
| | model = diffs_sm$model, |
| | stringsAsFactors = FALSE) |
| |
|
| | dwplot(results_df,vline = geom_vline(xintercept = 0, colour = "grey60", linetype = 2), dot_args = list(size = 3)) + |
| | theme_bw() + xlab("Coefficient Estimate (Std. Dev. Units)") + theme(legend.position = "bottom", axis.text=element_text(size=9), legend.title = element_blank()) + |
| | scale_colour_grey(start = .1, end = .7) |
| | ggsave(filename="Figures/fig_A10.pdf", width=6, height=5) |
| |
|