Download 23/replication_package/Code/replicate_table_A11.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A11.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A11.R
-
curl -L -o replicate_table_A11.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A11.R
594 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A11 | |
| ##--##--##--##--##--##--## | |
| isr_wave2_sumstats = isr_survey_wave2[,c("age", "female", "religiosity", "ethnicity", "education", "income", "partyID", "ideology", | |
| "degree_violence", "police_action_required", "recall_violence2")] | |
| isr_wave2_sumstats = dummy_cols(isr_wave2_sumstats, select_columns = c("age", "religiosity", "ethnicity", "education", "income", "partyID")) | |
| table_a11 = stargazer(isr_wave2_sumstats, omit.summary.stat=c("p25", "p75")) | |
| cat(table_a11, sep = '\n', file = "Tables/table_A11.tex") | |