Hi, I am using file write to output results.
I would like to add brackets around the standard error but it creates space in between the number and the bracket.
Anybody knows why?
Below an example export code
I would like to add brackets around the standard error but it creates space in between the number and the bracket.
Anybody knows why?
Below an example export code
Code:
file close firstTable1
cap file close firstTable1
file open firstTable1 using "$outp/firstTable.tex", write replace
file write firstTable1 ///
"\begin{tabular}{lcccccc}" _n ///
"\toprule" _n ///
" & (1) & (2) & (3) & (4) & (5) \\" _n ///
" & `v1' & `v2' & `v3' & `v4' & `v5' \\" _n ///
"\midrule" _n ///
" \underline{\textbf{Unconditional}} \\" _n ///
"$ z $ &" %9.3f (b11) " &" %9.3f (b12) " &" %9.3f (b13) " &" %9.3f (b14) " &" %9.3f (b15) " \\" _n ///
" & (" %9.3f (se11) ") &" %9.3f (se12) " &" %9.3f (se13) " &" %9.3f (se14) " &" %9.3f (se15) " \\" _n ///
" \addlinespace \\" _n ///
" \underline{\textbf{Conditional}} \\" _n ///
"$ z $ &" %9.3f (b21) " &" %9.3f (b22) " &" %9.3f (b23) " &" %9.3f (b24) " &" %9.3f (b25) " \\" _n ///
" &" %9.3f (se21) " &" %9.3f (se22) " &" %9.3f (se23) " &" %9.3f (se24) " &" %9.3f (se25) " \\" _n ///
"\midrule" _n ///
"$ F_{unconditional} $ &" %9.3f (f11) " &" %9.3f (f12) " &" %9.3f (f13) " &" %9.3f (f14) " &" %9.3f (f15) " \\" _n ///
"$ F_{conditional} $ &" %9.3f (f21) " &" %9.3f (f22) " &" %9.3f (f23) " &" %9.3f (f24) " &" %9.3f (f25) " \\" _n ///
" N & " %9.0f (n1) " &" %9.0f (n2) " &" %9.0f (n3) " &" %9.0f (n4) " &" %9.0f (n5) " \\" _n ///
"\bottomrule" _n ///
"\end{tabular}"
file close firstTable1

Comment