fork download
  1. Load and prepare data
  2. use "pak_growth_1990_2023.dta", clear
  3. gen HighGrowth = (gdp_growth >= 5)
  4. Main model
  5. logit HighGrowth remittances fdi trade_open inflation debt_service polity
  6. Marginal effects
  7. margins, dydx(*) atmeans
  8. Robustness checks
  9. foreach threshold in 4 6 {
  10. gen HighGrowth_`threshold' = (gdp_growth >= `threshold')
  11. logit HighGrowth_`threshold' remittances fdi trade_open inflation debt_service polity
  12. }
  13.  
  14.  
  15.  
Success #stdin #stdout 0.03s 26028KB
stdin
Standard input is empty
stdout
Load and prepare data
use "pak_growth_1990_2023.dta", clear
gen HighGrowth = (gdp_growth >= 5)
 Main model
logit HighGrowth remittances fdi trade_open inflation debt_service polity
Marginal effects
margins, dydx(*) atmeans
 Robustness checks
foreach threshold in 4 6 {
    gen HighGrowth_`threshold' = (gdp_growth >= `threshold')
    logit HighGrowth_`threshold' remittances fdi trade_open inflation debt_service polity
}