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
Computing IPW estimator by handHello everyone, For my project, I try to know if a certain type of policy ("pol", which is a dummy)…
Kolmogorov – Smirnov Test for panel databaseHello! I want to perform the Kolmogorov –Smirnov test to a panel database given that it is a freque…
hausman test problemDear all, I am working with panel data and when I use the command: hausman fe re, force, I get the…
Bar Chart PercentilesHello, I plotted a bar graph of the education level agains the mean of the average pay. Because of …
New to SSC mbitobit - Bivariate Tobit modelDear all, Thanks to Professor Baum, A new command is available in SSC. -mbitobit-. This command re-a…
Subscribe to:
Post Comments (Atom)
0 Response to Esttab in a loop and getting table for summary statistics
Post a Comment