Hello everyone, I have a question about esttab command in a loop and getting the entire output in an excel file. So my command goes like this:
local name2 "shg_new shgs drain water_source water_supply education health icds irrigation market road waste_manage tubewell grant_received opening_bal closing_bal"
foreach name2 in shg_new shgs drain water_source water_supply education ///
health icds irrigation market road waste_manage tubewell ///
grant_received opening_bal closing_bal {
bysort year: eststo: estpost ttest `name2', by(cpgender) unequal
esttab using summarystat.csv, wide append
}
The issue is that the output table in the excel file is only for one year. The remaining years do not get compiled in the excel file. Is there something wrong with my command? Kindly help.
Related Posts with Esttab in a loop and getting table for summary statistics
Listing out the frequency distributions for multiple variablesHello! Quick question - I have data from a survey where participants can select multiple options fo…
Help with bootstrap in obtaining a standard error.Hi Everyone: I think my problem has nothing to do with the data set and so I'm not showing a data ex…
residual from multiple regresionI'm working with a base that it´s compouse from 500 samples, but I have to create a compillation of …
Box plot helpHello everyone, I am trying to make this visual from a book by Edward Tufte where he talks about us…
How to do a Box Plot with mean instead of median and SD instead of quartiles?Dear Statalisters, Please have a look at my data: Code: * Example generated by -dataex-. For more…
Subscribe to:
Post Comments (Atom)
0 Response to Esttab in a loop and getting table for summary statistics
Post a Comment