I've seen this question get asked a few times (e.g. here), but I have been unable to find an answer anywhere. When using coefplot to graph coefficients from multiple models, how do I sort these by the size of the point estimate?
The sort option only seems to allow sorting based on the same model/equation. Any help here would be highly appreciated!
here's a quick example:
Code:
sysuse auto, clear *run a few models forvalues i=3/5 { eststo reg_`i': reg price mpg if rep78==`i' } *plot regression coefficient (sort option added, but as described, that doesn't do anything) coefplot reg_*, keep(mpg) sort()
John
0 Response to Coefplot: sort coefficients from different models
Post a Comment