I'm pretty sure this should be easy, but......
I have created a pivot table using the table function:
table country year, c(mean GDP)
But then I want to write it to excel (export excel of putexcel), but the table doesn't have a name to which I can refer. Apparently it is also not "in memory" because I can't save the table as a .dta file and then export it to excel.
Any help?
Rutger
Related Posts with Create a pivot table and then write to excel
Merging individual-level administrative data setsI am combining multiple administrative data sets and would be happy to receive input on a sensible a…
Comparing two groups with if statementsDear all, For an assignment I am comparing means of willingness to pay (WTP) with willingness to pa…
if ignored when using logit with tech() optionDear all, when using nbreg, I encountered a problem which I was able to replicate when estimating a…
Generating shares from a panel dataDear Statalist, I have a panel data for educational institutions and I need to write a code for the…
Help with test for trend in proportion using survey weightHi Statalist members, I am having difficulty with testing for trends in proportion using survey wei…
Subscribe to:
Post Comments (Atom)
0 Response to Create a pivot table and then write to excel
Post a Comment