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
Multi-column heading in outreg2Hi everyone, Using outreg2, is it possible to create a column heading that spans several columns of…
How to repeat the same difference-in-differences analysisHello, I am now trying to repeat the same difference-in-differences analysis with changing treatmen…
Random dummy variable with restrictionsI have a panel dataset and want to create a random dummy variable with mean 0.2 that marks a random …
Outreg2 providing one-sided p-valuesDear Stata users, I have a question regarding the one-sided p-value in outreg2, which I use to expo…
Fitting predictive model using plssem Stata packageI am currently working on developing a predictive model for childhood developmental outcomes. I am u…
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