Dear all,
I want to export table in Excel, but to have nice and funcional table. I have categorical variable lwi, and I tabulate the variable. Also I need wieghted data, therefore I use [iw=rb050] option, where rb050 are cross-sectional weights.
tab lwi [iw=rb050]
logout, save(lwi) excel replace: tab lwi [iw=rb050]
My variable has long value labels, and therefore labels of categories are exported in Excel into several columns. I experimented with fix option, but the results are again not nicely displayed. Also both dec and auto options for decimals remove the decimals, and do not round it, therefore when I put dec(1) option, I get 12.95 rounded to 12.9 instead of 13.0.
Could anyone please help me get some nice excel table. Btw, I have many tab tables, it will be quite time consuming to arrange them by hand. Please find attached the Excel document.
Thank you
Best,
Aleksandra
Related Posts with logout nicely formatted tables
endogenous switching regression modelHello,
Please I am new in stata so it's quite difficult for me to solve some regression problems.
A…
Command stir does not accept iweightsHello
I've been using the command stir (incidence rate comparison). The manual says that stir allows…
Can I test country level data and firm level data in one regressionHello everyone,
I'm trying to find the effects of culture on the existence of teamwork. My dataset …
-dstdize- to calculate average age-adjusted death rate by raceGood Morning,
I would like to calculate the average age-adjusted death rate by race (separately for…
Replace if not found within a loopDear all,
I am trying to bottom and top coding the household income for each country - wave.
I am us…
Subscribe to:
Post Comments (Atom)
0 Response to logout nicely formatted tables
Post a Comment