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
how could the difference of number of a variable in a panel data be shown in statahello, i want to see how many people' living status(dummy variable) have been changed using a 2-peri…
the `tebounds’ command - bound the average treatment effectHi Statalists, I am reaching out with some questions regarding the `tebounds’ command. I am wonderi…
Creating event time variableHi, I have a time series of stock returns with multiple event date indicators, such as the following…
Turning variable labels into variable names with a suffixHi I have data where my years are recorded in letters from H to CC (representing 1948 to 2021). The …
Adding multiple labels to regsaveI am saving coefficients using regsave (from ssc) and I am able to use the 'addlabel' option to add …
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