I am working on a project running regression models for 10 dependent variables and I need to do subgroup analysis for several subgroups: race/ethnicity, gender, marital status, and education level. Currently I am using esttab to output the results into excel. I saved each subgroup category for the 10 dependent variables as one excel file. Since there are so many subgroups, I had to save the results to many excel files and manually to copy the coefficients for my key dependent variables into one big table. It is very time intensive and if I update the model, I need to do it from the beginning. I did this automatically in SAS using ODS function, and macro, and output the results as a SAS data file, then worked on the data file to create the final table for publication automatically. However some of the analyses are easier to do in STATA. I am wondering whether there are ways in stata that i can create the results as a dataset automatically and worked on it to format for publication, or can I output the needed coefficient to an excel file and designate a cell place for the coefficients?
Thanks everybody for help!
Rui
Related Posts with help with making automated tables in stata
Creation and anaysis of dummy variablesMy data consists of multiple countries (40 different countries) such as the US, UK, China, The level…
Calculating cumulative percentage for panel dataHi Everyone, I am looking for some help to calculate the cumulative percentages for a panel data. …
xtpcse and xtgls with fixed effectsHello community: I want to robustly estimate (xtgls) a panel data model, for both FE and RE. The fol…
How to find the closest value?Hi Statalist, I have a dataset, which looks like below, and I am trying to find the closest value t…
Is it possible to add _ to the variable used in by() when collapsing to simplify ability to perform search for said variablesUpdate: Title should refer to -reshape- not -collapse- I've performed a collapse to obtain a number…
Subscribe to:
Post Comments (Atom)
0 Response to help with making automated tables in stata
Post a Comment