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
Extend window for variable labels in Stata's main windowHi, maybe I am not seeing sth. obvious, but how can I extend the space for variable labels in the ma…
Problems with simple adjusted logistic regression on small sample-size (n=13)Hi I am trying to make a simple logistic regression adjusted for one potential confounder ("Antibtio…
Interpreting interaction effectsHi everyone, I am running a model which has many interactions terms and I am facing difficulties in …
Age-adjusted P values for differences between categorical or continuous variablesHi, I have a table of baseline characteristics of a cohort in which I have compared the differences…
Creating a loop to generate a new variables in a panel datasetI would be be grateful for any help with my query. I have the following variables chd002_9 chd002_0…
Subscribe to:
Post Comments (Atom)
0 Response to Create a pivot table and then write to excel
Post a Comment