I am estimating several models, storing the results with estout (from ssc) and using coefplot (from ssc, by Ben Jann ) to plot the results. I would like to invert the way that coefplot treats models and coefficients. That is I would like each y-axis point to be a different model, with coefficients for different variables shown for each model, and a legend that shows which marker corresponds to which coefficient (the variables are common across models). How can I do this? I don't have to use coefplot, but I have many models and different plots I want to produce for different subsets of coefficients, so I am after solutions that don't involve manually relabeling everything. Suggestions welcome. Here is an illustrative example:
Code:
ssc install coefplot
ssc install eststo
sysuse auto
estimates clear
foreach var in price mpg {
eststo: reg `var' trunk weight foreign
}
coefplot *, keep(trunk weight) // incorrect, y-axis points are models, different markers for different coefficients
coefplot *, keep(trunk weight) swapnames asequation // also incorrect, stacks both models & variables, instead of multiple models for each variable

Comment