Hello everyone,
I've just come across tab2xl and have been trying to include it in a loop to get a two-way tab for my variables as follows:
foreach var of global catmyco {
tab2xl `var' totalmyco using test1, row (1) col (1) missing sheet ("testsheet1")
}
However, it's only giving me an excel sheet for the last variable in the global catmyco. The append option is not allowed.
Does anyone know of a way to get everything in a single sheet?
p.s: Tabout works, but it just seems like tab2xl would be an easier option.
foreach var of global catmyco {
tabout `var' totalmyco using bivar.xls, c(freq col) mi append
}
Thank you!
Related Posts with Tab2xl issues
3SLS with non-continuous endogenous variablesHello Everyone, Much thanks for the opportunity provided for clarification of doubts and guidance on…
fix effect and clustering residualsHello all, I have a panel of prices of 4 products, in 200 towns, posted by 20 compnies for 12 month…
regression of the panel data: dependent variable and independent variable is the same variable in different groupHi, I am now running a panel regression, for example, return in year 2018=c+return in year 2010-2017…
Interpretation of Interaction termsDear Statalisters I run following regression for panel data of children: PPVT being a test score, a…
Sts graph truncateCiao, I am conduct survival analysis and need to truncate x-axis. The survival time data I have obta…
Subscribe to:
Post Comments (Atom)
0 Response to Tab2xl issues
Post a Comment