This is my code:
*creates matrix of all results row(year) column(outcome)
Code:
matrix OLS_years = r_Mall, r_hotMall, r_totMall, r_irpMall matrix list OLS_years matrix TSTATS = ex_Tall, hot_Tall, tot_Tall, irp_Tall matrix list TSTATS
Code:
estout matrix(OLS_years), /// cells(OLS_years TSTATS(par)) /// stats(N, fmt(0) labels ("No. of Obs." )) /// starlevels(* 0.1 ** 0.05 *** 0.001) /// varwidth(20) /// modelwidth(12) /// delimiter(&) /// end(\\) /// prehead(`"\begin{tabular}{l*{4}{c}}"' `"\toprule"') /// posthead("\midrule") /// prefoot("\midrule") /// postfoot(`"\bottomrule"' `"\multicolumn{@span}{l}{\footnotesize t-statistics in parentheses}\\"' `"\multicolumn{@span}{l}{\footnotesize *** p{$<$}0.01; ** p{$<$}0.05; * p{$<$}0.10.}\\"' `"\end{tabular}"') /// varlabels(_cons Constant, end("" \addlinespace) nolast) /// eqlabels(, begin("\midrule" "") nofirst) /// substitute(_ \_ "\_cons " \_cons) /// interaction(" $\times$ ") /// notype /// level(95) /// style(esttab)
0 Response to Latex-tabulate a combined matrix of coefficients and of t-statistics
Post a Comment