Hello everyone,
I'm working with the coefplot. How can we have a secondary y axis for the second dependent variable? I'm using the following code and am getting the attached graphs. I'd appreciate any insights.


I'm working with the coefplot. How can we have a secondary y axis for the second dependent variable? I'm using the following code and am getting the attached graphs. I'd appreciate any insights.
Code:
foreach x in log_sales sales { quietly reghdfe `x' i.panel_year, absorb(store_code_uc) estimates store m_`x' } coefplot m_log_sales, drop(_cons) vertical baselevels ci(95) recast(connected) name(logs,replace) scheme(tab1) ytitle("Percentage, %") coefplot m_sale, drop(_cons) vertical baselevels ci(95) recast(connected) name(levels, replace) scheme(tab1) ytitle("Sales, $") coefplot m_log_sales m_sale, drop(_cons) vertical baselevels ci(95) recast(connected) name(all, replace) scheme(tab1)
Comment