Dear all,
I am doing a 2SLS to grasp the relation between legal crop prices and coca production for a range of crops in Colombia. To test whether my results are driven by a specific region in Colombia I perform my regression also only for this specific region. This is how the code for my baseline regression looks like:
in which (yieldxprice = yieldxtop3export) is my first stage and cocaprod is my y-variable. All other variables are controls.
Now I would like to compare the confidence intervals of this regression with the regression when excluding a specific region (so basically comparing confidence intervals of two regressions) in a plot or graph in Stata. Is there a command for this?
I am using Stata 14.2
Help would be very much appreciated!
Best,
Sophie
I am doing a 2SLS to grasp the relation between legal crop prices and coca production for a range of crops in Colombia. To test whether my results are driven by a specific region in Colombia I perform my regression also only for this specific region. This is how the code for my baseline regression looks like:
Code:
foreach var of varlist cocaprod{ xi: xtivreg2 `var' lpop ylxlrer_ban /// yearxMuncode* YearInd*xWkmean /// (yieldxprice = yieldxtop3export) /// i.year, fe cluster(dept) partial(i.year) first outreg2 using CI_Analysis.xls, se bdec(3) tdec(3) nocons excel }
Now I would like to compare the confidence intervals of this regression with the regression when excluding a specific region (so basically comparing confidence intervals of two regressions) in a plot or graph in Stata. Is there a command for this?
I am using Stata 14.2
Help would be very much appreciated!
Best,
Sophie
Comment