[Tex/LaTex] adding significance levels under regression result table

multicolumntables

I have a table as the following:

\begin{table}[htbp]\centering
\caption{Dependent Variable: Enrollment}
\begin{tabular}{c c c c}
\hline\hline 
\textbf{Variable} & \textbf{Model 1} & \textbf{Model 2} & \textbf{Model 3}\\ \hline
frl         &      -0.012   &      -0.052   &      -0.156** \\
            &      (0.04)   &      (0.06)   &      (0.06)   \\
minority    &               &       0.034   &       0.097*  \\
            &               &      (0.05)   &      (0.04)   \\
disting     &               &               &       0.439***\\
            &               &               &      (0.06)   \\
cons       &       0.529***&       0.530***&       0.518***\\
            &      (0.03)   &      (0.03)   &      (0.02)   \\
\hline  N           &     196   &     196   &     196   \\          
R$^{2}$           &       0.001   &       0.003   &       0.235   \\
\hline
\end{tabular}
\end{table}

I would like to add the statistical significance stars bellow, but I can't seem to add code with three multicolumn. I tried adding the following at the end of the table but does not seem to work:

\bottomrule
\vspace{-3mm}\\
\multicolumn{3}{l}{\textsuperscript{***}$p<0.01$, 
  \textsuperscript{**}$p<0.05$, 
  \textsuperscript{*}$p<0.1$, 

How could I add the textsuperscripts?

Best Answer

You can, in fact, use a \multicolumn and \addlinespace from the booktabs package:

\documentclass{article}
\usepackage{booktabs}

\begin{document}

\begin{table}[htbp]\centering
\caption{Dependent Variable: Enrollment}
\begin{tabular}{c c c c}
\toprule
\textbf{Variable} & \textbf{Model 1} & \textbf{Model 2} & \textbf{Model 3}\\ 
\midrule
frl         &      -0.012   &      -0.052   &      -0.156** \\
            &      (0.04)   &      (0.06)   &      (0.06)   \\
minority    &               &       0.034   &       0.097*  \\
            &               &      (0.05)   &      (0.04)   \\
disting     &               &               &       0.439***\\
            &               &               &      (0.06)   \\
cons       &       0.529***&       0.530***&       0.518***\\
            &      (0.03)   &      (0.03)   &      (0.02)   \\
\midrule
 N           &     196   &     196   &     196   \\          
R$^{2}$           &       0.001   &       0.003   &       0.235   \\
\bottomrule
\addlinespace[1ex]
\multicolumn{3}{l}{\textsuperscript{***}$p<0.01$, 
  \textsuperscript{**}$p<0.05$, 
  \textsuperscript{*}$p<0.1$}
\end{tabular}
\end{table}

\end{document}

enter image description here

Below there's another possibility using the ctable package; I used some boxes to heide the width of the superscripted characters:

\documentclass{article}
\usepackage{ctable}
\usepackage{booktabs}

\begin{document}

\ctable[
  notespar,
  caption={Dependent Variable: Enrollment}
]{c c c c}
{\tnote[*]{$p<0.1$}\tnote[**]{$p<0.5$}\tnote[***]{$p<0.01$}}{
\toprule
\textbf{Variable} & \textbf{Model 1} & \textbf{Model 2} & \textbf{Model 3}\\ 
\midrule
frl         &      -0.012   &      -0.052   &      -0.156\tmark[{\makebox[0pt][l]{**}}] \\
            &      (0.04)   &      (0.06)   &      (0.06)   \\
minority    &               &       0.034   &       0.097\tmark[{\makebox[0pt][l]{*}}]  \\
            &               &      (0.05)   &      (0.04)   \\
disting     &               &               &       0.439\tmark[{\makebox[0pt][l]{***}}]\\
            &               &               &      (0.06)   \\
cons       &       0.529\tmark[{\makebox[0pt][l]{***}}]&       0.530\tmark[{\makebox[0pt][l]{***}}]&       0.518\tmark[{\makebox[0pt][l]{***}}]\\
            &      (0.03)   &      (0.03)   &      (0.02)   \\
\midrule  
N           &     196   &     196   &     196   \\          
R$^{2}$           &       0.001   &       0.003   &       0.235   \\
\bottomrule}

\end{document}

enter image description here

Without booktabs nor ctable, you can do something like:

\documentclass{article}
\usepackage{booktabs}

\begin{document}

\begin{table}[htbp]\centering
\caption{Dependent Variable: Enrollment}
\begin{tabular}{c c c c}
\hline\hline
\textbf{Variable} & \textbf{Model 1} & \textbf{Model 2} & \textbf{Model 3}\\ 
\hline
frl         &      -0.012   &      -0.052   &      -0.156** \\
            &      (0.04)   &      (0.06)   &      (0.06)   \\
minority    &               &       0.034   &       0.097*  \\
            &               &      (0.05)   &      (0.04)   \\
disting     &               &               &       0.439***\\
            &               &               &      (0.06)   \\
cons       &       0.529***&       0.530***&       0.518***\\
            &      (0.03)   &      (0.03)   &      (0.02)   \\
\hline
 N           &     196   &     196   &     196   \\          
R$^{2}$           &       0.001   &       0.003   &       0.235   \\
\hline
\\[-1.75ex]
\multicolumn{3}{l}{\textsuperscript{***}$p<0.01$, 
  \textsuperscript{**}$p<0.05$, 
  \textsuperscript{*}$p<0.1$}
\end{tabular}
\end{table}

\end{document}

enter image description here

Related Question