I examine the relationship between portfolio returns and local temperature, running the following regression:
Code:
reghdfe EMC_EW_AD i.quint_ab_temp if year>2000, absorb(date) cluster(city_id date)
I want to create a graph which plots the portfolio returns on the y-axis and the temperature quintiles on the x-asis:
I tried the following:
Code:
quietly reghdfe EMC_EW_AD i.quint_ab_temp if year>2000, absorb(date) cluster(city_id date) estimates store bivariate coefplot bivariate, ytitle(EMC) xtitle(Quintile of Ab_Temp) recast(line) lpattern(dash) vert drop(_cons)
However, as you can see in the attachment, now I am missing the first temperature quintile, which I would also like to include...
I know that using "i." omits the first quintile, but is there a way to include it in the graph?
Moreover, since I have already a title for my x-axis, I would only like to have the numbers on the x-axis, so e.g. simply (1, 2, 3) instead of "quint_ab_temp=1", "quint_ab_temp=2")
Your help is highly appreciated!
Samuel
0 Response to Coefplot: Using quintile dummies on the x-asis
Post a Comment