Download 23/replication_package/Code/replicate_table_A9.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 698 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A9.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A9.R
-
curl -L -o replicate_table_A9.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A9.R
698 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A9 | |
| ##--##--##--##--##--##--## | |
| isr_wave1_arab = isr_survey_wave1[isr_survey_wave1$survey=="isr_ar",] | |
| isr_wave1_arab_sumstats = isr_wave1_arab[,c("age", "female", "religiosity", "ethnicity", "education", "income", "partyID", "ideology", "interest_news", | |
| "degree_violence", "police_action_required", "recall_violence2")] | |
| isr_wave1_arab_sumstats = dummy_cols(isr_wave1_arab_sumstats, select_columns = c("age", "religiosity", "ethnicity", "education", "income", "partyID")) | |
| table_a9 = stargazer(isr_wave1_arab_sumstats, omit.summary.stat=c("p25", "p75")) | |
| cat(table_a9, sep = '\n', file = "Tables/table_A9.tex") | |