I am having a few problems with the following code:
\documentclass{standalone}
\usepackage{booktabs}
\usepackage{siunitx}
\begin{document}
\begin{tabular}{
l
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
S[table-format = 4.2]
}
\toprule
& \multicolumn{3}{c}{HF} & \multicolumn{3}{c}{LF} & \multicolumn{3}{c}{HF-LF} \\
\midrule
Excess & -0.79\textsuperscript{***} & & & -0.90\textsuperscript{***} & & & -0.11 & & \\
& \tiny(0.152) & & & \tiny(0.161) & & & \tiny(0.066) & & \\
$\alpha$ & & -0.77\textsuperscript{***} & -0.79\textsuperscript{***} & & -0.89\textsuperscript{***} & -0.94\textsuperscript{***} & & -0.13\textsuperscript{*} & -0.16\textsuperscript{**} \\
& & \tiny(0.161) & \tiny(0.172) & & \tiny(0.174) & \tiny(0.178) & & \tiny(0.066) & \tiny(0.069) \\
MKT & & -0.07 & -0.06 & & -0.02 & -0.00 & & 0.05\textsuperscript{*} & 0.06\textsuperscript{**} \\
& & \tiny(0.056) & \tiny(0.064) & & \tiny(0.038) & \tiny(0.049) & & \tiny(0.028) & \tiny(0.027) \\
SMB & & & 0.04 & & & 0.04 & & & 0.00 \\
& & & \tiny(0.095) & & & \tiny(0.084) & & & \tiny(0.024) \\
HML & & & 0.04 & & & 0.11 & & & 0.06 \\
& & & \tiny(0.085) & & & \tiny(0.072) & & & \tiny(0.041) \\
\bottomrule
\end{tabular}
\end{document}
The result:

I would be grateful for any suggestions where to look in the docs and/or solutions and improvements.
The issues I cannot figure out how to fix:
- The number in parenthesis are standard errors and should be right aligned with the bigger numbers above them. Basically, the
)should end before any asterisk. Any approximate result that improves is also ok. - The asterisks at the right end of the table are truncated (why?)
- [minor] Can I improve the code and avoid typing
\tinyfor each entry in each second row? - [minor] Can I improve the code and avoid typing
\textsuperscript{<asterisks>}by definying a special column format? I will only have this format at -#.##*** with variable length of the whole part.
