Download 39/replication_package/Do/TableA9.do from ljx529/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 698 Bytes
-
https://huggingface.co/datasets/ljx529/REPRO-Bench/resolve/main/39/replication_package/Do/TableA9.do
- Command line
-
hf download hf://datasets/ljx529/REPRO-Bench/39/replication_package/Do/TableA9.do
-
curl -L -o TableA9.do https://huggingface.co/datasets/ljx529/REPRO-Bench/resolve/main/39/replication_package/Do/TableA9.do
698 Bytes
| ********************************************************************** | |
| *** TABLE A9 | |
| *** Impact of Trump Rallies on BLM Protests | |
| ********************************************************************** | |
| use "Data\stoplevel_data.dta", clear | |
| merge m:1 county_fips day_id using "Data\blm.dta" | |
| drop if _merge==2 | |
| replace blm_protest = 0 if blm_protest==. | |
| replace blm_protest = 100*blm_protest | |
| reghdfe blm_protest TRUMP_0 1.TRUMP_POST_1_30 TRUMP_POST_M30 TRUMP_PRE_M30, a(i.county_fips i.day_id c.day_id#i.county_fips) cluster(county_fips day_id) | |
| outreg2 using "Results/TableA9.txt", replace keep(1.TRUMP_POST_1_30) dec(3) nocons | |
| g esample = (e(sample)==1) | |
| summ blm_protest if esample==1 |