1

Please I will appreciate help to fit the following regression table in a single page. As you can see, a very small part of the table (the number of observations and footnotes) breaks in to the next page. I've tried using arraystretch, but i've been unable to reduce it further than this.

Here's my code. Sorry for the clutter. Thanks

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{apacite}
\usepackage{graphicx}
\usepackage{caption}        %for setting table caption
\captionsetup[table]{font={small,stretch=0.80}} % caption settings here

\usepackage[usenames, dvipsnames]{color}

%\usepackage{hyperref}      %to break long urls
%\def\UrlBreaks{\do\/\do-}  %ditto

\usepackage{bm}

\pagestyle{plain}

\usepackage{setspace}
\onehalfspacing
\raggedbottom

\usepackage{mathtools}
\usepackage{longtable}

\usepackage{booktabs}
\newcommand{\rowgroup}[1]{\hspace{-0.60em}#1} %% to create indents for variable headings

\usepackage{multirow}

\usepackage{siunitx}
\usepackage{dcolumn}

\usepackage{array, booktabs, ragged2e}

\usepackage{threeparttablex}
\usepackage{microtype}

\newcommand{\beginsupplement}{% complete program to generate appendix with tables
    \setcounter{table}{0}
    \renewcommand{\thetable}{A\arabic{table}}%
    \setcounter{figure}{0}
    \renewcommand{\thefigure}{A\arabic{figure}}%    
}


\begin{document}

{
{\renewcommand*{\arraystretch}{0.015}       %line spacing
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{longtable}{l*{2}{D{.}{.}{-1}}}
\caption{Bivariate probit models for occupational injury and informal
 employment\label{tab1}}\\
\toprule\endfirsthead\midrule\endhead\midrule\endfoot\endlastfoot
                    &\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}\\
                    &\multicolumn{1}{c}{Occupational injury}&\multicolumn{1}{c}{Informal employment}\\
\midrule
\rowgroup{Informal}            &     -0.123         &              \\
                    &     (-0.62)         &              \\
\rowgroup{Female}              &    -0.0497         &    -0.338         \\
                    &     (-0.33)         &     (-1.22)         \\
\rowgroup{\textit{Age (ref:15-24 years old)}}&                     &                                         \\                     
 25-34            &       0.126         &      0.611         \\
                    &      (0.50)         &      (1.47)         \\
35-44               &      0.151         &      0.262         \\
                    &      (0.57)         &      (0.64)         \\
45-54               &     0.0656         &      0.432         \\
                    &      (0.24)         &      (0.97)         \\
55-64               &     -0.471         &     0.108          \\
                    &     (-1.28)         &     (0.20)         \\
\rowgroup{\textit{Education (ref: Primary or below)}}&                     &                                          \\                    
Secondary           &     -0.553\sym{***} &     -0.559\sym{*} \\
                    &     (-3.47)         &     (-2.16)         \\
Tertiary            &     -0.606\sym{**} &     -1.564\sym{***} \\
                    &     (-2.97)         &     (-4.20)         \\
Earnings            &     -0.139\sym{*}  &     -0.568\sym{***}  \\
                    &     (-2.10)         &     (-5.02)         \\
\rowgroup{\textit{Sector (ref: Agriculture)}}&                     &                                         \\              
Mining              &     -0.278         &     -0.978         \\
                    &     (-0.64)         &     (-1.31)         \\
Manufacturing       &     -0.151         &     0.344         \\
                    &     (-0.37)         &     (0.45)         \\
Construction        &       0.174         &      0.295         \\
                    &      (0.46)         &      (0.42)         \\
Trade               &     -0.199         &     0.192         \\
                    &     (-0.46)         &     (0.27)         \\
Transport           &     -0.0454         &     0.812         \\
                    &     (-0.11)         &     (1.18)         \\
Other service activities&     -0.230         &     0.590         \\
                    &     (-0.67)         &     (0.95)         \\
\rowgroup{Occupation}          &      0.154         &      0.815\sym{**}         \\
                    &      (0.82)         &      (0.82)         \\
\rowgroup{\textit{Region (ref: Western Area)}}&                     &                                          \\                 
Eastern             &       0.336         &      0.323         \\
                    &        (1.87)       &      (1.06)         \\
Northern            &      0.511\sym{**}  &      0.671\sym{*}  \\
                    &      (2.90)         &      (1.99)         \\
Southern            &      0.209         &       0.0930         \\
                    &      (1.23)         &      (-0.62)         \\
\rowgroup{Union}               &      0.262         &      0.0918         \\
                    &      (1.92)         &      (0.30)         \\
\rowgroup{No. of household members informal}              &              &      3.318\sym{***}         \\
                                        &               &      (12.04)         \\
\rowgroup{Job search method}           &             &     0.737\sym{**}         \\
                            &             &     (3.13)         \\
\rowgroup{$\rho$}               &            &   0.0566           \\
                        &             &     (0.25)         \\                           
\midrule
\(N\)               &         979         &         979         \\
\bottomrule
\multicolumn{3}{l}{\footnotesize \textit{t} statistics in parentheses}\\
\multicolumn{3}{l}{\footnotesize \sym{*} \(p<0.05\), \sym{**} \(p<0.01\), \sym{***} \(p<0.001\)}\\
\end{longtable}
}

\end{document}

Which produces the following table

enter image description here

  • How about using \small? – Peter Grill Oct 26 '18 at 17:01
  • 1
    Some ideas to reduce that table: a) Remove the useless first row with "1" and "2" b) Use a \small font. c) Put the groupings rows as "Age" and "Education" in a first column with multirow cells, so that "Age" cell start in the same row that the "25-34 category. d) and, of course, make less complex models :-) – Fran Oct 26 '18 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.