Download 23/replication_package/Code/replicate_table_A18.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 774 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A18.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A18.R
-
curl -L -o replicate_table_A18.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A18.R
774 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A18 | |
| ##--##--##--##--##--##--## | |
| generic_goal_dv = lm(degree_violence ~ identity_protesters + commitment , data=isr_survey_wave2[isr_survey_wave2$group_goal==0,]) | |
| generic_goal_rv = lm(recall_violence2 ~ identity_protesters + commitment , data=isr_survey_wave2[isr_survey_wave2$group_goal==0,]) | |
| generic_goal_paq = lm(police_action_required ~ identity_protesters + commitment , data=isr_survey_wave2[isr_survey_wave2$group_goal==0,]) | |
| stargazer(generic_goal_dv, generic_goal_rv, generic_goal_paq, | |
| covariate.labels = c("Ethiopian protesters", "Arab protesters", | |
| "Commitment to nonviolence", "Intercept: White protesters, generic goal, no commitment"), | |
| out = "Tables/table_A18.tex") | |