Basic `coefplot` (LaTeX)
Using tenuredata.dta, create a coefficient plot.
- Run a regression of
yieldonq_f_ha,lt_f_ha,i.irrig, andi.tenure, with standard errors clustered at the household level:vce(cluster panelid). - Create a coefficient plot using
coefplot:- Drop the constant (
drop(_cons)) - Add a vertical reference line at zero (
xline(0)) - Relabel the coefficients to be more descriptive
- Add a
titleand anxtitle
- Drop the constant (
- Export the graph:
graph export "$answ/10-coefplot-basic.png", replace