溢出的水平盒 + 回归表

溢出的水平盒 + 回归表

当我将我的回归表从 R(stargazer 包)导出到 overleaf 时,我收到以下错误消息:第 xxx 行的段落中的 hbox 过满(38.93 太宽)。

我找不到调整表格的方法?我尝试了调整框包,但问题仍然存在。

\begin{table}
\begingroup
\centering
\begin{threeparttable}
\begin{tabular}{lcc}
      \tabularnewline \midrule \midrule
      \emph{Dependent variable}: & \multicolumn{2}{c}{Battles} \\
       & \multicolumn{1}{c}{Growing season} & \multicolumn{1}{c}{Non-growing season} \\ 
       \midrule 
                         & (1)      & (2)\\  
      \midrule 
      VCIshock                                         & 0.006             &   \\   
                                                       & (0.005)           &   \\   
      VCIshock $\times$ `Tropics,highland`             & 0.028$^{***}$     &   \\   
                                                       & (0.009)           &   \\   
      VCIshock $\times$ `Tropics,lowland`              & -0.024$^{**}$     &   \\   
                                                       & (0.010)           &   \\   
      VCIshock $\times$ `Subtropics,moderatelycool`    & -0.014            &   \\   
                                                       & (0.009)           &   \\   
      VCIshock $\times$ `Subtropics,cool`              & 0.025             &   \\   
                                                       & (0.018)           &   \\   
      VCIshock $\times$ `Cold,nopermafrost`            & 0.016             &   \\   
                                                       & (0.016)           &   \\   
      VCIshock $\times$ `Extremesoilconditions`        & 0.005             &   \\   
                                                       & (0.009)           &   \\   
      VCIshock $\times$ `Dominantlybuiltupland`        & -0.120            &   \\   
                                                       & (0.078)           &   \\   
      VCIshock $\times$ `Dominantlyhydromorphicsoils`  & -0.019            &   \\   
                                                       & (0.012)           &   \\   
      VCIshock $\times$ `Dominantlywater`              & -0.023            &   \\   
                                                       & (0.021)           &   \\   
      VCIshock $\times$ `Desert,AridClimate`           & 0.020$^{*}$       &   \\   
                                                       & (0.011)           &   \\   
      TCIshock                                         &                   & 0.017$^{*}$\\   
                                                       &                   & (0.009)\\   
      TCIshock $\times$ `Tropics,highland`             &                   & -0.021$^{*}$\\   
                                                       &                   & (0.013)\\   
      TCIshock $\times$ `Tropics,lowland`              &                   & -0.019\\   
                                                       &                   & (0.018)\\   
      TCIshock $\times$ `Subtropics,moderatelycool`    &                   & 0.001\\   
                                                       &                   & (0.007)\\   
      TCIshock $\times$ `Subtropics,cool`              &                   & 0.013\\   
                                                       &                   & (0.016)\\   
      TCIshock $\times$ `Cold,nopermafrost`            &                   & -0.007\\   
                                                       &                   & (0.008)\\   
      TCIshock $\times$ `Extremesoilconditions`        &                   & 0.004\\   
                                                       &                   & (0.016)\\   
      TCIshock $\times$ `Dominantlybuiltupland`        &                   & 0.044\\   
                                                       &                   & (0.072)\\   
      TCIshock $\times$ `Dominantlyhydromorphicsoils`  &                   & 0.015\\   
                                                       &                   & (0.013)\\   
      TCIshock $\times$ `Dominantlywater`              &                   & -0.001\\   
                                                       &                   & (0.017)\\   
      TCIshock $\times$ `Desert,AridClimate`           &                   & 0.021\\   
                                                       &                   & (0.018)\\   
       \\
      Observations                                     & 70,171            & 59,725\\  
      R$^2$                                            & 0.28538           & 0.26516\\  
    \item {\emph{Fixed-effects}}:\\
      gid FE  & X        & X             & X        & X\\  
      Year FE & X        & X             & X        & X\\  
      \bottomrule

   \multicolumn{4}{l}{\emph{Signif. Codes: ***: 0.01, **: 0.05, *: 0.1}}
\end{tabular}%
\end{adjustbox}
   \begin{tablenotes}\footnotesize
    \small
    \item {\emph{Notes}}: Standard errors clustered at the cell level are in parentheses. The dependant variable 'Violence' is the occurrence of conflict coded 
         as one if a conflict happened in a given cell/year; 
         '*shock':  fraction of the corresponding season during which the index is below the threshold representing drought conditions i.e., $<$-1.5 for SPEI, $<$40 for VCI and TCI;
        Variables columns (1) to (2): Growing season and columns (3) to (4): Non-growing season. 
 
  \end{tablenotes}
\end{threeparttable}
\end{table}
\par\endgroup

相关内容