Dear all,
I use Stata13 and I'm having some challenges exporting outputs to both Excel and Word.
Though, I've exported tables using this command:
estpost sum gini crime gdppc gdpgr dcredit
esttab using "C:\Users\ng\Desktop\Thesis\SumStat.csv", cells("mean(fmt(2)) sd(fmt(2)) min(fmt(1)) max(fmt(1))") nomtitle nonumber replace
But that doesn't seem to work for my next task. I became stuck trying to the 3 separate tables below to excel. I want all of them to be in 1 workbook so that I can further modify them into 1 table....that is if Stata cannot do that for me. But I've tried all the codes that I know to export ....all to no avail.....I've also tried 'putexcel'....but honestly I couldn't find my way around the click option neither do I know the exact codes to use. I've also gone through the online videos and read the 'pdfs'....still I can't export.
Here are the tables:
sum gini if year>=2000 & year<2004
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 548 .4015916 .1035351 .1537 .7526
. sum gini if year>=2004 & year<2008
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 548 .3947124 .0989441 .1697 .674
. sum gini if year>=2008
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 685 .3891018 .092145 .225 .6576999
I'll appreciate every urgent assistance.
Thanks.
Ngzi
I use Stata13 and I'm having some challenges exporting outputs to both Excel and Word.
Though, I've exported tables using this command:
estpost sum gini crime gdppc gdpgr dcredit
esttab using "C:\Users\ng\Desktop\Thesis\SumStat.csv", cells("mean(fmt(2)) sd(fmt(2)) min(fmt(1)) max(fmt(1))") nomtitle nonumber replace
But that doesn't seem to work for my next task. I became stuck trying to the 3 separate tables below to excel. I want all of them to be in 1 workbook so that I can further modify them into 1 table....that is if Stata cannot do that for me. But I've tried all the codes that I know to export ....all to no avail.....I've also tried 'putexcel'....but honestly I couldn't find my way around the click option neither do I know the exact codes to use. I've also gone through the online videos and read the 'pdfs'....still I can't export.
Here are the tables:
sum gini if year>=2000 & year<2004
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 548 .4015916 .1035351 .1537 .7526
. sum gini if year>=2004 & year<2008
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 548 .3947124 .0989441 .1697 .674
. sum gini if year>=2008
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
gini | 685 .3891018 .092145 .225 .6576999
I'll appreciate every urgent assistance.
Thanks.
Ngzi
Comment