Hi, I am currently trying to generate a table in stata to import into Latex using the following code:
esttab using OLS_Tables.tex, replace keep(Leverage logTotalAssets Tangibility RevenueGrowth FirmAge _cons) order(Leverage logTotalAssets Tangibility RevenueGrowth FirmAge _cons) r2 b(%9.3f) se(%9.3f)label star(* 0.10 ** 0.05 *** 0.01) nonotes addnotes("$^{\ast} \text{ } p<0.10,\text{ } ^{\ast \ast}p<0.05, \text{ } ^{\ast \ast}p<0.01$" "Robust standard errors in parentheses") compress
It generates the following table as seen below
Array
How would I edit my code further to replicate the format of the following table including a title, a row below the equation number to include the type of regression (OLS) above the dependent variable (ROA), a seperate section showing Year FE?
Array
Thanks!
Related Posts with Generating tables using the eststo and esttab commands in Stata and exporting the tex. file into Latex
Fixed & Random Effects with noisy ESG (sustainability) dataDear readers & contributers! I am completely new here, a master (Msc. Sustainable Finance) stud…
Random group generationDear Statalists, I would like to generate 67 random groups for 271 observations. I know the below c…
How to estimate multiple treatment effects?Hi friends, I need some advise. I am trying to estimate the effect of government program (funding) …
Fake private messagesIf anyone receives a private message that appears to be from me please disregard it (and perhaps not…
Issues with string variable that takes numeric values ('1', '2', ...)I read in a dataset that includes many columns of categorical variables denoted by '1', '2', ... 1)…
Subscribe to:
Post Comments (Atom)
0 Response to Generating tables using the eststo and esttab commands in Stata and exporting the tex. file into Latex
Post a Comment