Hi all
I have the code below to show the coefficient for inflation in several regressions (10 regressions).
My problem is that for each regression, I want now to show the coefficient for not only inflation but also real. Unfortunately, if I simply add real in "keep (inflation real)" this will result in two figures. What I need is just the same graph where I now show the coefficient of inflation and real for each regression
I really appreciate your help.
I have the code below to show the coefficient for inflation in several regressions (10 regressions).
Code:
foreach s in macro { foreach v in 01 02 03 04 05 06 07 08 09 10 { eststo `s'`v', title(`s'`v'):xi: qui reg `s'`v' inflation real i.week ,robust } coefplot `s'01, bylabel("1Y") || `s'02, bylabel("2Y") || `s'03, bylabel("3Y") || /// `s'04, bylabel("4Y") || `s'05, bylabel("5Y") /// drop(_cons) keep(inflation) bycoefs vertical /// yli(0, lp(solid) lc(gray)) levels(90) /// levels(99 95 90) title(asset3, margin(sides)) subtitle(monetary) name(`s', replace) aspectratio(0, placement(top))legend(off) ciopts(recast(rcap)) }
I really appreciate your help.
Comment