Download 23/replication_package/Code/replicate_table_A15.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A15.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A15.R
-
curl -L -o replicate_table_A15.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A15.R
1.62 kB
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A15 | |
| ##--##--##--##--##--##--## | |
| ## A. U.S. sample | |
| degv_yg = lm(degree_violence ~ identity_protesters * tactic , data=us_survey_wave1, weights=weight) | |
| police_yg = lm(police_action_required ~ identity_protesters * tactic , data=us_survey_wave1, weights=weight) | |
| recall_violence_yg = lm(recall_violence2 ~ identity_protesters * tactic , data=us_survey_wave1, weights=weight) | |
| stargazer(degv_yg, recall_violence_yg, police_yg, | |
| covariate.labels = c("Black protesters", "Shut down traffic", "Destroy police cars", | |
| "Black protesters x Shut down traffic", | |
| "Black protesters x Destroy police cars", "Intercept"), | |
| out = "Tables/table_A15_panel_A.tex") | |
| ## B. Israel sample | |
| degv_isr = lm(degree_violence ~ identity_protesters * tactic , data=isr_survey_wave1, weights=weight) | |
| police_isr = lm(police_action_required ~ identity_protesters * tactic , data=isr_survey_wave1, weights=weight) | |
| recall_violence_isr = lm(recall_violence2 ~ identity_protesters * tactic , data=isr_survey_wave1, weights=weight) | |
| stargazer(degv_isr, recall_violence_isr, police_isr, | |
| covariate.labels = c("Ethiopian protesters", "Arab protesters", "Shut down traffic", | |
| "Destroy garbage cans", "Ethiopian protesters x Shut down traffic", | |
| "Arab protesters x Shut down traffic", "Ethiopian protesters x Destroy garbage cans", | |
| "Arab protesters x Destroy garbage cans", "Intercept"), | |
| out = "Tables/table_A15_panel_B.tex") | |