Dear Stata users,
I want to coefplot two variables (var1_x and var2_x) in the same graph across different models. For each month of the year (noted x), I run one regression. Thus, I run the following set of regressions:
The problem is that I obtain two labels for each monthly variable and a doubled y-axis scale in the coefplot. How can I have only one label per variable in a unique coefplot (and only one scale for the whole graph)?
Sorry if the topic has already been treated; I don't find any help in the forum.
I want to coefplot two variables (var1_x and var2_x) in the same graph across different models. For each month of the year (noted x), I run one regression. Thus, I run the following set of regressions:
Code:
reg y var1_1 var2_1 controls eststo Jan reg y var1_2 var2_2 controls eststo Feb reg y var1_3 var2_3 controls eststo Mar ... reg y var1_12 var2_12 controls eststo Dec coefplot (jan) (feb) (ma) ... (dec), keep(var1* var2*) ylabel aseq swapnames xline(0)
Sorry if the topic has already been treated; I don't find any help in the forum.
Comment