I want to plot the single coefficient for treatment from multiple regressions on one graph- I am trying to figure out how to do that. I have several outcome variables that I regress on 'treatment' and other controls (mostly looking at log-odds and marginal effects). I want a graph that shows the effect of being treated on various outcome variables.
Just as an example
I want a graph that shows the coefficient on price for each of the four regressions on a single graph.
I understand that the units will be different on each of the outcome variables, but this is for illustration only. Think of this as if I want to plot log-odds from multiple logit regressions where outcome variables are all binary and I am trying to see effect of treatment on probability (or log odds) of being 1 versus 0.
The idea is to create a graph like the one below.
Just as an example
Code:
sysuse auto, clear foreach var in mpg trunk length turn { quietly regress `var' price //assume price is the "treatment" variable estimates store `var' }
I understand that the units will be different on each of the outcome variables, but this is for illustration only. Think of this as if I want to plot log-odds from multiple logit regressions where outcome variables are all binary and I am trying to see effect of treatment on probability (or log odds) of being 1 versus 0.
The idea is to create a graph like the one below.
Comment