\documentclass{article}
\usepackage{siunitx,booktabs}
\newsavebox{\toptabular}
\begin{document}
\begin{table}
\centering
\sbox{\toptabular}{%
\begin{tabular}{ @{} l r @{\hspace{3em}} l r @{} }
\toprule
\multicolumn{4}{@{}l}{\bfseries Probit Regression Results} \\
\midrule
Dep.\@ Variable & Excess return sign & No.\@ Observations & \num{254} \\
Model & Probit & Df Residuals & \num{248} \\
Methods & MLE & Df Model & \num{5} \\
Date & Thu, 16 Apr 2020 & Pseudo R-squ. & \num{0.1311} \\
Time & 00:35:44 & Log-Likelihood & \num{-149.65} \\
Converge & True & LL-Null & \num{-172.23} \\
Covariance Type & nonrobust & LLR p-value & \num{1.341e-08} \\
\bottomrule
\end{tabular}%
}
\usebox{\toptabular}
\bigskip
\begin{tabular*}{\wd\toptabular}{
@{\extracolsep{\fill}}
l
S[table-format=-2.4]
S[table-format=2.3]
S[table-format=-1.3]
S[table-format=1.3]
S[table-format=-2.3,table-align-text-pre=false,table-space-text-pre={[}]
S[table-format=-1.3,table-space-text-post={]}]% the minus also covers the second digit
@{}
}
\toprule
& {Correlation Coefficient} & {Standard Error} & {$z$} & {$P>|z|$} & [0.025 & 0.975] \\
\midrule
const & -5.1870 & 1.270 & -4.083 & 0.000 & -7.677 & -2.697 \\
Recession & -0.8608 & 0.394 & -2.183 & 0.029 & -1.634 & -0.088 \\
Dividend to price & 0.3881 & 0.087 & 4.483 & 0.000 & 0.218 & 0.558 \\
Earning to price & 11.3808 & 2.526 & 4.505 & 0.000 & 6.429 & 16.332 \\
Term spread & -1.3759 & 1.721 & -0.799 & 0.424 & -4.750 & 1.998 \\
\bottomrule
\end{tabular*}
\end{table}
\end{document}
The code above for drawing but I draw another table and the results was that in the picture, but that happened when I used the package xltabular
to draw a description table, how i can fix that.