Download 23/replication_package/Code/replicate_table_A3.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 2.13 kB
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A3.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A3.R
-
curl -L -o replicate_table_A3.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A3.R
2.13 kB
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A3 | |
| ##--##--##--##--##--##--## | |
| tab1 = lm(success ~ EPR_STATUS_EXCL* INIT_NV_ONSET , data= EBCR_EPR_NAVCO2) | |
| tab2 = lm(success ~ EPR_STATUS_EXCL * INIT_NV_ONSET + EPR_GROUPSIZE + POP_LOG_LAG_EXT + GDPPC_LOG_LAG_EXT + PASTNV + PASTV + VDEM_POLYARCHY_LAG + VDEM_PHYSINT_LAG + NVYEARS +I(NVYEARS^2) + I(NVYEARS^3) + VYEARS + I(VYEARS^2) + I(VYEARS^3), data= EBCR_EPR_NAVCO2) | |
| tab3 = lm(success ~ EPR_STATUS_EXCL * INIT_NV_ONSET + EPR_GROUPSIZE + POP_LOG_LAG_EXT + GDPPC_LOG_LAG_EXT + PASTNV + PASTV + VDEM_POLYARCHY_LAG + VDEM_PHYSINT_LAG + EPR_TEK_EGIP + EPR_DOWNGRADED5 + HORIZ_INEQ + NVYEARS + I(NVYEARS^2) + I(NVYEARS^3) + VYEARS + I(VYEARS^2) + I(VYEARS^3) , data= EBCR_EPR_NAVCO2) | |
| tab4 = lm(success ~ EPR_STATUS_ORD* INIT_NV_ONSET , data= EBCR_EPR_NAVCO2) | |
| tab5 = lm(success ~ EPR_STATUS_ORD * INIT_NV_ONSET + EPR_GROUPSIZE + POP_LOG_LAG_EXT + GDPPC_LOG_LAG_EXT + PASTNV + PASTV + VDEM_POLYARCHY_LAG + VDEM_PHYSINT_LAG + NVYEARS +I(NVYEARS^2) + I(NVYEARS^3) + VYEARS + I(VYEARS^2) + I(VYEARS^3), data= EBCR_EPR_NAVCO2) | |
| tab6 = lm(success ~ EPR_STATUS_ORD * INIT_NV_ONSET + EPR_GROUPSIZE + POP_LOG_LAG_EXT + GDPPC_LOG_LAG_EXT + PASTNV + PASTV + VDEM_POLYARCHY_LAG + VDEM_PHYSINT_LAG + EPR_TEK_EGIP + EPR_DOWNGRADED5 + HORIZ_INEQ + NVYEARS + I(NVYEARS^2) + I(NVYEARS^3) + VYEARS + I(VYEARS^2) + I(VYEARS^3) , data= EBCR_EPR_NAVCO2) | |
| stargazer(tab4, tab5, tab6, tab1, tab2, tab3, table.placement="H", order = c(3,1,20, 2, 21), | |
| covariate.labels = c("NV campaign", "EPR Status", "EPR Status × NV Campaign", | |
| "EPR Status: Excluded", "EPR Status: Excluded × NV Campaign", | |
| "EPR group size", "Country population", "Country GDP per capita", | |
| "Prior participation in NV", "Prior participation in V", | |
| "Level of democracy", "Physical integrity index", "Neighboring kin in power", | |
| "Group status downgraded", "Horizontal inequality"), | |
| omit = c("VYEARS", "NVYEARS"), | |
| out="Tables/table_A3.tex") | |