Download 23/replication_package/Code/replicate_table_A10.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A10.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A10.R
-
curl -L -o replicate_table_A10.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A10.R
581 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A10 | |
| ##--##--##--##--##--##--## | |
| us_wave2_sumstats = us_survey_wave2[,c("age", "female", "education", "income", "partyID", "pol_views", "interest_politics", | |
| "degree_violence", "police_action_required", "recall_violence2", "race")] | |
| us_wave2_sumstats = dummy_cols(us_wave2_sumstats, select_columns = c("age", "education", "income", "partyID", "pol_views", "race")) | |
| table_a10 = stargazer(us_wave2_sumstats, omit.summary.stat=c("p25", "p75")) | |
| cat(table_a10, sep = '\n', file = "Tables/table_A10.tex") | |