In my experience the option 'append' sometimes works and sometimes doesn't - could anyone explain the below to me?
sysuse auto
encode make, gen(make2)
* example 1: append works
table var foreign, stat(fvpercent rep78 ) sformat("%s%%" fvpercent) nformat(%6.0f) nototals style(table-1) name(t1)
table var foreign, stat(fvpercent make2) stat(mean mpg) sformat("%s%%" fvpercent) nformat(%6.0f) nototals style(table-1) name(t1) append
* example 2: append doesn't work
table var foreign, stat(fvpercent rep78 ) sformat("%s%%" fvpercent) nformat(%6.0f) nototals style(table-1) name(t2)
table var foreign, stat(mean mpg) nformat(%6.0f) nototals style(table-1) name(t2) append
Thanks in advance!
Related Posts with customizable tables: issue with appending tables
Advice regarding panel data and collapseHello Everyone, I have a situation with respect to my data. I have weekly data from the top 200 son…
Keeping variables in panelHi all, I have an unbalanced panel. The complete panel spans 11 periods from 2004 to 2015. I would …
Create variable of group frequenciesI have a data set that includes variables on individual's district (where a person lives) and occupa…
How to collapse observations and overwrite variablesHi everyone, I have a data set where there are 4 diseases, but the presence of each is entered as a …
Falsely identical numerical values in tabulate by groupDear all, I am running Stata15. I have the following simple truncated results: Code: . tab beta au…
Subscribe to:
Post Comments (Atom)
0 Response to customizable tables: issue with appending tables
Post a Comment