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