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
marginscontplot problem.Dear All, I have a dataset with two variables (simplified). The basic statistics Code: . sum indep…
Estimating Productivity adnI am trying to find impact of (Dividends) on (Firm Sales) controlling for the firm characteristics i…
Estimating Productivity from Cobb Douglas and Variables Significance changeI am trying to find impact of (Dividends) on (Firm Sales) controlling for the firm characteristics i…
Clean syntax in STATAhi, please help me! I found command that is not recognized in STATA14 but is used in Chaney2012 pape…
How to create a formlacode year var2 top5 1100 201712 5 1 1100 201712 5 2 1100 201712 5 3 1100 201712 4.9 4 1100 201712 4.…
Subscribe to:
Post Comments (Atom)
0 Response to Add summary statistics in a graph
Post a Comment