Hello, I am trying to store the results of a twoway tab with summary:
tab race_code sex_code if level==0 & naics_econ_sec==0 & ethnicity_code==1 & veteran_code==1 & is_sub_race==0 & employer==1, sum(number_of_firms) nofreq nost
My end goal is to use putexcel and amend several of these tables one after the other in excel. I tried using tabout but it doesn't allow me to merge or append to the right. Using tabout will only append below. Here is what I mean:
I want to run this:
tab race_code sex_code if level==0 & naics_econ_sec==0 & ethnicity_code==1 & veteran_code==1 & is_sub_race==0 & employer==1, sum(number_of_firms) nofreq nost
[STORE THE RESULTS SOMEWHERE]
tab race_code sex_code if level==0 & naics_econ_sec==0 & ethnicity_code==1 & veteran_code==1 & is_sub_race==0 & employer==1, sum(rse_num_firms) nofreq nost
[STORE THESE SOMEWHERE]
And then use putexcel to export them side by side. Any ideas? THANK you very much!
Related Posts with Putexcel with twoway tab with summary
Merging/Appending excel datasetHi everyone! So I need to import a new variable 'x' from an excel dataset (ED) within a Stata datase…
Problem with the option xline with the user-written command coefplotDear all, I am currently working with Stata 16.1 on an event study analysis. I am having troubles w…
Fixed effect ordered logitHi Stata users, I have an ordered dependent variable and I am trying to implement fixed effect orde…
ODBC, *Stata 16 and Big SurHello, After updating to MacOS BigSur 11.1.3, i am now facing the following problem with Stata 16 a…
Frequency table for logistic regressionI'm running a multi-level miseducating effect logistic regression. I know that STATA will remove any…
Subscribe to:
Post Comments (Atom)
0 Response to Putexcel with twoway tab with summary
Post a Comment