Download 23/replication_package/Code/replicate_table_A13.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A13.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A13.R
-
curl -L -o replicate_table_A13.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A13.R
1.28 kB
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A13 | |
| ##--##--##--##--##--##--## | |
| ## A. U.S. sample | |
| degv_yg = lm(degree_violence ~ identity_protesters + tactic + age +female + education + income + ideology + race, data=us_survey_wave1, weights=weight) | |
| police_yg = lm(police_action_required ~ identity_protesters + tactic + age +female + education + income + ideology + race, data=us_survey_wave1, weights=weight) | |
| recall_violence_yg = lm(recall_violence2 ~ identity_protesters + tactic + age +female + education + income + ideology + race, data=us_survey_wave1, weights=weight) | |
| stargazer(degv_yg, recall_violence_yg, police_yg, out = "Tables/table_A13_panel_A.tex") | |
| ## B. Israel sample | |
| degv_ip = lm(degree_violence ~ identity_protesters + tactic + age +female + education + income + ideology + ethnicity, data=isr_survey_wave1, weights=weight) | |
| police_ip = lm(police_action_required ~ identity_protesters + tactic + age +female + education + income + ideology + ethnicity , data=isr_survey_wave1, weights=weight) | |
| recall_violence_ip = lm(recall_violence2 ~ identity_protesters + tactic + age +female + education + income + ideology + ethnicity , data=isr_survey_wave1, weights=weight) | |
| stargazer(degv_ip, recall_violence_ip, police_ip, out = "Tables/table_A13_panel_B.tex") | |