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
Help: Sum daily data monthly across multiple years and idsDear Statalist community, I am really a STATA beginner and tried to find a solution here to my prob…
Regression Loop: Include Condition for Set of Control VarsDear Statalist, in my analysis I have a simple regression with multiple dependent variables. The de…
estat classification after logitThere has been some problems getting correct/usable results from -estat classification-, eg: https:…
Speeding up random parameter mixed-logit estimation (cmxtmixlogit) with large datasetDear Stata Users, I am wondering if anyone has a strategy to speed up the estimation of the cmxtmix…
Adding Within R2 to my table using esttabHello guys, I am trying to export my regressions results to a table using the "esttab" command. I st…
Subscribe to:
Post Comments (Atom)
0 Response to Putexcel with twoway tab with summary
Post a Comment