Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65570

add text to summarized data

$
0
0
halo

I’m using following command to export summary of EBIT's if certain condition is met. For every condition I want to have a row and then append them manually.
I would like to add an cell to each row to distinguish between rows/conditions used later.

Is there any way to do so?

foreach i in varlist {
estpost sum EBIT if `i' > 0
esttab using "results.csv", cells("mean max min sd count") append
}

P.S. I’m aware that this method is no efficient. If you have suggestion how to improve it, please share.

Viewing all articles
Browse latest Browse all 65570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>