Hey,

I am plotting the graph of an event study. I want to plot in the graph some information like the mean of the dependent variable, the avg effect of the treatment, etc.

For example, suppose I have the following depend variable:

set obs 100
gen dep_var = rnormal()

I would like to run:

mean dep_var
matrix mean = e(b)

and plot the following in the graph:

Mean depend variable = -.1053

Where I use the matrix "mean" to obtain the value that is plotted.

There is a way to do that?