Hi all,
I would like to put a vertical line corresponding to the mean in the multiple graph panel generated by the following command:
I have already tried by generating :
and making the graph with line(`logsales_mean') but it does not work...
Thanks for the help!
I would like to put a vertical line corresponding to the mean in the multiple graph panel generated by the following command:
Code:
twoway kdensity log_salesmnf, by(Year) xline
Code:
gen logsales_mean=. forvalues c=2004/2015{ quietly summarize log_sales if Year==`c' replace logsales_mean=r(mean) if Year==`c' }
Thanks for the help!
Comment