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?
Related Posts with Add summary statistics in a graph
"Command ysca is unrecognized" - from help graph_combineHi, I am currently looking at the graph_combine help file to solve the problem that I have posted h…
Help choosing Fixed effect vs Random effect for a binary panel data regressionHello everyone, I am working on a binary panel data regression. I did the Hausman test to see if I…
How to extract numbers from string with combination of text and number?How do I extract 801011001, 801011002, 801011003, etc from the variable 'parm'. Example dataset is b…
Missing values have been mergedHello, I have an issue with merging that I find rather cryptic. I have several waves of household d…
--collect export-- takes a really long timeHi, I like the idea of the new -collect- functions, but in my first application it take >5 minute…
Subscribe to:
Post Comments (Atom)
0 Response to Add summary statistics in a graph
Post a Comment