按小数对齐表格中的文本

按小数对齐表格中的文本

我有一张这样的表格。有人能帮我按小数点对齐吗?我还从其他答案中得到建议,对齐后,表格可能太宽,所以我应该使用 siunitx 中的 S 列而不是 D 列。我检查了相关问题并尝试过,但没有解决。如果有人能帮忙,我将不胜感激!

在此处输入图片描述

\documentclass{article}

\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{siunitx}
\usepackage{multirow}

\begin{document}
    \begin{table}[htbp]\centering
        \small
        \renewcommand{\arraystretch}{0.6}
        \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
        \caption{Descriptive Statistics (Pooled Sample)}
        \begin{tabular*}{\hsize}{@{\hskip\tabcolsep\extracolsep\fill}l*{1}{ccccc}}
            \toprule
            &   Obs&       Mean&  Std. Dev.&        Min& Max      \\
            \midrule
            SR1 (pooled)       & 5887 & 30.605 & 30.777 & 0     & 100    \\
            SR1 (rural)        & 3115 & 31.253 & 31.832 & 0     & 100    \\
            SR1 (urban)        & 2772 & 29.876 & 29.535 & 0     & 100    \\
            SR1+ (pooled)      & 3671 & 49.079 & 24.743 & 0.024 & 100    \\
            SR1+ (rural)       & 1923 & 50.626 & 25.699 & 0.062 & 100    \\
            SR1+ (urban)       & 1748 & 47.377 & 23.536 & 0.024 & 100    \\
            SRdummy1 (pooled)  & 5887 & 0.624  & 0.485  & 0     & 1      \\
            SRdummy1 (rural)   & 3115 & 0.617  & 0.486  & 0     & 1      \\
            SRdummy1 (urban)   & 2772 & 0.631  & 0.483  & 0     & 1      \\
            SR2 (pooled)       & 5887 & 42.495 & 31.928 & 0     & 100    \\
            SR2 (rural)        & 3115 & 43.943 & 32.949 & 0     & 100    \\
            SR2 (urban)        & 2772 & 40.867 & 30.665 & 0     & 100    \\
            SR2+ (pooled)      & 3671 & 60.649 & 21.319 & 0.306 & 100    \\
            SR2+ (rural)       & 1923 & 62.674 & 21.794 & 1     & 100    \\
            SR2+ (urban)       & 1748 & 58.421 & 20.561 & 0.306 & 100    \\
            SRdummy2 (pooled)  & 5887 & 0.758  & 0.428  & 0     & 1      \\
            SRdummy2 (rural)   & 3115 & 0.754  & 0.431  & 0     & 1      \\
            SRdummy2 (urban)   & 2772 & 0.763  & 0.426  & 0     & 1      \\
            PropRisky (pooled) & 5884 & 6.204  & 19.588 & 0     & 100    \\
            PropRisky (rural)  & 3049 & 1.343  & 9.069  & 0     & 100    \\
            PropRisky (urban)  & 2835 & 11.432 & 25.598 & 0     & 100    \\
            ProbRisky (pooled) & 5884 & 0.124  & 0.330  & 0     & 1      \\
            ProbRisky (rural)  & 3049 & 0.033  & 0.179  & 0     & 1      \\
            ProbRisky (urban)  & 2835 & 0.223  & 0.416  & 0     & 1      \\
            LnInc (pooled)     & 5842 & 10.236 & 1.295  & 1.386 & 14.914 \\
            LnInc (rural)      & 3081 & 9.948  & 1.223  & 1.386 & 14.914 \\
            LnInc (urban)      & 2761 & 10.558 & 1.299  & 3.555 & 14.914 \\
            Age (pooled)       & 6089 & 44.370 & 8.882  & 25    & 59     \\
            Age (rural)        & 3191 & 45.180 & 8.627  & 25    & 59     \\
            Age (urban)        & 2898 & 43.478 & 9.072  & 25    & 59     \\
            Education (pooled) & 6042 & 3.645  & 1.648  & 1     & 9      \\
            Education (rural)  & 3176 & 2.776  & 0.974  & 1     & 7      \\
            Education (urban)  & 2866 & 4.609  & 1.706  & 1     & 9      \\
            Kid (pooled)       & 6089 & 0.664  & 0.779  & 0     & 9      \\
            Kid (rural)        & 3191 & 0.799  & 0.892  & 0     & 9      \\
            Kid (urban)        & 2898 & 0.516  & 0.599  & 0     & 3      \\
            Old (pooled)       & 6089 & 0.229  & 0.531  & 0     & 4      \\
            Old (rural)        & 3191 & 0.252  & 0.550  & 0     & 3      \\
            Old (urban)        & 2898 & 0.203  & 0.509  & 0     & 4      \\
            HHsize (pooled)    & 6089 & 3.634  & 1.401  & 1     & 18     \\
            HHsize (rural)     & 3191 & 4.042  & 1.495  & 1     & 18     \\
            HHsize (urban)     & 2898 & 3.185  & 1.131  & 1     & 10     \\
            Male (pooled)      & 6089 & 0.729  & 0.444  & 0     & 1      \\
            Male (rural)       & 3191 & 0.803  & 0.398  & 0     & 1      \\
            Male (urban)       & 2898 & 0.649  & 0.477  & 0     & 1      \\
            Married (pooled)   & 6037 & 0.914  & 0.280  & 0     & 1      \\
            Married (rural)    & 3173 & 0.939  & 0.240  & 0     & 1      \\
            Married (urban)    & 2864 & 0.887  & 0.317  & 0     & 1      \\
            Party (pooled)     & 5679 & 0.148  & 0.355  & 0     & 1      \\
            Party (rural)      & 2949 & 0.063  & 0.243  & 0     & 1      \\
            Party (urban)      & 2730 & 0.240  & 0.427  & 0     & 1      \\
            Job (pooled)       & 6089 & 0.809  & 0.393  & 0     & 1      \\
            Job (rural)        & 3191 & 0.913  & 0.282  & 0     & 1      \\
            Job (urban)        & 2898 & 0.695  & 0.460  & 0     & 1      \\
            House (pooled)     & 6088 & 0.912  & 0.283  & 0     & 1      \\
            House (rural)      & 3191 & 0.946  & 0.226  & 0     & 1      \\
            House (urban)      & 2897 & 0.875  & 0.331  & 0     & 1      \\
            \bottomrule
        \end{tabular*}
        \label{tab:sum}
    \end{table}

\end{document}

答案1

我也会使用longtableand siunitx。请注意,使用S最后两列的列类型是有问题的,因为大多数条目没有小数部分(但真正的条目可能有?)。以下是一些改进。

首先,由于行可以按三行分组,因此您可以每三行添加一个额外的垂直空间,以使读者更清楚地看到这些组。

第二种变体在视觉上更具吸引力,它将第一列分成两部分,因为单元格内容的第二部分始终是同一系列pooled, rural, urban。因此,我用某种颜色突出显示每个系列的第一行,并将第一部分加粗(在系列的其他行中不重复)。

\documentclass{article}
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.3pt}
\usepackage{ltablex}
\usepackage{caption, booktabs}
\usepackage{siunitx}
\usepackage{multirow, bigstrut}
\usepackage[table, svgnames]{xcolor}

\begin{document}

\renewcommand{\arraystretch}{0.9}\small
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{longtable}{lS[table-format =4.0]*{3}{S[table-format =2.3]}S[table-format =3.3]}
  \captionsetup{skip = 6pt}
  \caption{Descriptive Statistics (Pooled Sample)} \label{tab:sum} \\
  \toprule
                     & {Obs} & {Mean} & {Std. Dev.} & {Min} & {Max} \\
  \midrule
  \endfirsthead
  \toprule
                     & {Obs} & {Mean} & {Std. Dev.} & {Min} & {Max} \\
  \midrule
  \endhead
  \\
  \bottomrule
  \endlastfoot
  SR1 (pooled) & 5887 & 30.605 & 30.777 & 0 & 100 \\
  SR1 (rural) & 3115 & 31.253 & 31.832 & 0 & 100 \\
  SR1 (urban) & 2772 & 29.876 & 29.535 & 0 & 100 \\
  \addlinespace
  SR1+ (pooled) & 3671 & 49.079 & 24.743 & 0.024 & 100 \\
  SR1+ (rural) & 1923 & 50.626 & 25.699 & 0.062 & 100 \\
  SR1+ (urban) & 1748 & 47.377 & 23.536 & 0.024 & 100 \\
  \addlinespace
  SRdummy1 (pooled) & 5887 & 0.624 & 0.485 & 0 & 1 \\
  SRdummy1 (rural) & 3115 & 0.617 & 0.486 & 0 & 1 \\
  SRdummy1 (urban) & 2772 & 0.631 & 0.483 & 0 & 1 \\
  \addlinespace
  SR2 (pooled) & 5887 & 42.495 & 31.928 & 0 & 100 \\
  SR2 (rural) & 3115 & 43.943 & 32.949 & 0 & 100 \\
  SR2 (urban) & 2772 & 40.867 & 30.665 & 0 & 100 \\
  \addlinespace
  SR2+ (pooled) & 3671 & 60.649 & 21.319 & 0.306 & 100 \\
  SR2+ (rural) & 1923 & 62.674 & 21.794 & 1 & 100 \\
  SR2+ (urban) & 1748 & 58.421 & 20.561 & 0.306 & 100 \\
  \addlinespace
  SRdummy2 (pooled) & 5887 & 0.758 & 0.428 & 0 & 1 \\
  SRdummy2 (rural) & 3115 & 0.754 & 0.431 & 0 & 1 \\
  SRdummy2 (urban) & 2772 & 0.763 & 0.426 & 0 & 1 \\
  \addlinespace
  PropRisky (pooled) & 5884 & 6.204 & 19.588 & 0 & 100 \\
  PropRisky (rural) & 3049 & 1.343 & 9.069 & 0 & 100 \\
  PropRisky (urban) & 2835 & 11.432 & 25.598 & 0 & 100 \\
  \addlinespace
  ProbRisky (pooled) & 5884 & 0.124 & 0.330 & 0 & 1 \\
  ProbRisky (rural) & 3049 & 0.033 & 0.179 & 0 & 1 \\
  ProbRisky (urban) & 2835 & 0.223 & 0.416 & 0 & 1 \\
  \addlinespace
  LnInc (pooled) & 5842 & 10.236 & 1.295 & 1.386 & 14.914 \\
  LnInc (rural) & 3081 & 9.948 & 1.223 & 1.386 & 14.914 \\
  LnInc (urban) & 2761 & 10.558 & 1.299 & 3.555 & 14.914 \\
  \addlinespace
  Age (pooled) & 6089 & 44.370 & 8.882 & 25 & 59 \\
  Age (rural) & 3191 & 45.180 & 8.627 & 25 & 59 \\
  Age (urban) & 2898 & 43.478 & 9.072 & 25 & 59 \\
  \addlinespace
  Education (pooled) & 6042 & 3.645 & 1.648 & 1 & 9 \\
  Education (rural) & 3176 & 2.776 & 0.974 & 1 & 7 \\
  Education (urban) & 2866 & 4.609 & 1.706 & 1 & 9 \\
  \addlinespace
  Kid (pooled) & 6089 & 0.664 & 0.779 & 0 & 9 \\
  Kid (rural) & 3191 & 0.799 & 0.892 & 0 & 9 \\
  Kid (urban) & 2898 & 0.516 & 0.599 & 0 & 3 \\
  \addlinespace
  Old (pooled) & 6089 & 0.229 & 0.531 & 0 & 4 \\
  Old (rural) & 3191 & 0.252 & 0.550 & 0 & 3 \\
  Old (urban) & 2898 & 0.203 & 0.509 & 0 & 4 \\
  \addlinespace
  HHsize (pooled) & 6089 & 3.634 & 1.401 & 1 & 18 \\
  HHsize (rural) & 3191 & 4.042 & 1.495 & 1 & 18 \\
  HHsize (urban) & 2898 & 3.185 & 1.131 & 1 & 10 \\
  \addlinespace
  Male (pooled) & 6089 & 0.729 & 0.444 & 0 & 1 \\
  Male (rural) & 3191 & 0.803 & 0.398 & 0 & 1 \\
  Male (urban) & 2898 & 0.649 & 0.477 & 0 & 1 \\
  \addlinespace
  Married (pooled) & 6037 & 0.914 & 0.280 & 0 & 1 \\
  Married (rural) & 3173 & 0.939 & 0.240 & 0 & 1 \\
  Married (urban) & 2864 & 0.887 & 0.317 & 0 & 1 \\
  \addlinespace
  Party (pooled) & 5679 & 0.148 & 0.355 & 0 & 1 \\
  Party (rural) & 2949 & 0.063 & 0.243 & 0 & 1 \\
  Party (urban) & 2730 & 0.240 & 0.427 & 0 & 1 \\
  \addlinespace
  Job (pooled) & 6089 & 0.809 & 0.393 & 0 & 1 \\
  Job (rural) & 3191 & 0.913 & 0.282 & 0 & 1 \\
  Job (urban) & 2898 & 0.695 & 0.460 & 0 & 1 \\
  \addlinespace
  House (pooled) & 6088 & 0.912 & 0.283 & 0 & 1 \\
  House (rural) & 3191 & 0.946 & 0.226 & 0 & 1 \\
  House (urban) & 2897 & 0.875 & 0.331 & 0 & 1
\end{longtable}

\newpage \renewcommand{\arraystretch}{1}\small
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{longtable}{ >{\bfseries}llS[table-format =4.0]*{3}{S[table-format =2.3]}S[table-format =3.3]}
  \captionsetup{skip = 6pt}
  \caption{Descriptive Statistics (Pooled Sample)}
  \label{tab:Sum} \\
  \toprule
            & {Obs} & {Mean} & {Std. Dev.} & {Min} & {Max} \\
  \midrule\noalign{\vspace*{-\belowrulesep}}
  \endfirsthead
  \toprule
            & {Obs} & {Mean} & {Std. Dev.} & {Min} & {Max} \\
  \midrule
  \endhead
  \\
  \bottomrule
  \endlastfoot
  \rowcolor{Gainsboro}\bigstrut[t]
  SR1 & (pooled) & 5887 & 30.605 & 30.777 & 0 & 100 \\
            & (rural) & 3115 & 31.253 & 31.832 & 0 & 100 \\
            & (urban) & 2772 & 29.876 & 29.535 & 0 & 100 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  SR1 + & (pooled) & 3671 & 49.079 & 24.743 & 0.024 & 100 \\
            & (rural) & 1923 & 50.626 & 25.699 & 0.062 & 100 \\
            & (urban) & 1748 & 47.377 & 23.536 & 0.024 & 100 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  SRdummy1 & (pooled) & 5887 & 0.624 & 0.485 & 0 & 1 \\
            & (rural) & 3115 & 0.617 & 0.486 & 0 & 1 \\
            & (urban) & 2772 & 0.631 & 0.483 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  SR2 & (pooled) & 5887 & 42.495 & 31.928 & 0 & 100 \\
            & (rural) & 3115 & 43.943 & 32.949 & 0 & 100 \\
            & (urban) & 2772 & 40.867 & 30.665 & 0 & 100 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  SR2+ & (pooled) & 3671 & 60.649 & 21.319 & 0.306 & 100 \\
            & (rural) & 1923 & 62.674 & 21.794 & 1 & 100 \\
            & (urban) & 1748 & 58.421 & 20.561 & 0.306 & 100 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  SRdummy2 & (pooled) & 5887 & 0.758 & 0.428 & 0 & 1 \\
            & (rural) & 3115 & 0.754 & 0.431 & 0 & 1 \\
            & (urban) & 2772 & 0.763 & 0.426 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  PropRisky & (pooled) & 5884 & 6.204 & 19.588 & 0 & 100 \\
            & (rural) & 3049 & 1.343 & 9.069 & 0 & 100 \\
            & (urban) & 2835 & 11.432 & 25.598 & 0 & 100 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  ProbRisky & (pooled) & 5884 & 0.124 & 0.330 & 0 & 1 \\
            & (rural) & 3049 & 0.033 & 0.179 & 0 & 1 \\
            & (urban) & 2835 & 0.223 & 0.416 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  LnInc & (pooled) & 5842 & 10.236 & 1.295 & 1.386 & 14.914 \\
            & (rural) & 3081 & 9.948 & 1.223 & 1.386 & 14.914 \\
            & (urban) & 2761 & 10.558 & 1.299 & 3.555 & 14.914 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Age & (pooled) & 6089 & 44.370 & 8.882 & 25 & 59 \\
            & (rural) & 3191 & 45.180 & 8.627 & 25 & 59 \\
            & (urban) & 2898 & 43.478 & 9.072 & 25 & 59 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Education & (pooled) & 6042 & 3.645 & 1.648 & 1 & 9 \\
            & (rural) & 3176 & 2.776 & 0.974 & 1 & 7 \\
            & (urban) & 2866 & 4.609 & 1.706 & 1 & 9 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Kid & (pooled) & 6089 & 0.664 & 0.779 & 0 & 9 \\
            & (rural) & 3191 & 0.799 & 0.892 & 0 & 9 \\
            & (urban) & 2898 & 0.516 & 0.599 & 0 & 3 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Old & (pooled) & 6089 & 0.229 & 0.531 & 0 & 4 \\
            & (rural) & 3191 & 0.252 & 0.550 & 0 & 3 \\
            & (urban) & 2898 & 0.203 & 0.509 & 0 & 4 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  HHsize & (pooled) & 6089 & 3.634 & 1.401 & 1 & 18 \\
            & (rural) & 3191 & 4.042 & 1.495 & 1 & 18 \\
            & (urban) & 2898 & 3.185 & 1.131 & 1 & 10 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Male & (pooled) & 6089 & 0.729 & 0.444 & 0 & 1 \\
            & (rural) & 3191 & 0.803 & 0.398 & 0 & 1 \\
            & (urban) & 2898 & 0.649 & 0.477 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Married & (pooled) & 6037 & 0.914 & 0.280 & 0 & 1 \\
            & (rural) & 3173 & 0.939 & 0.240 & 0 & 1 \\
            & (urban) & 2864 & 0.887 & 0.317 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Party & (pooled) & 5679 & 0.148 & 0.355 & 0 & 1 \\
            & (rural) & 2949 & 0.063 & 0.243 & 0 & 1 \\
            & (urban) & 2730 & 0.240 & 0.427 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  Job & (pooled) & 6089 & 0.809 & 0.393 & 0 & 1 \\
            & (rural) & 3191 & 0.913 & 0.282 & 0 & 1 \\
            & (urban) & 2898 & 0.695 & 0.460 & 0 & 1 \\
  \rowcolor{Gainsboro}\bigstrut[t]
  House & (pooled) & 6088 & 0.912 & 0.283 & 0 & 1 \\
            & (rural) & 3191 & 0.946 & 0.226 & 0 & 1 \\
            & (urban) & 2897 & 0.875 & 0.331 & 0 & 1 
\end{longtable}

\end{document} 

在此处输入图片描述 在此处输入图片描述 在此处输入图片描述

答案2

您不应该尝试将整个表格挤压到一页中(通过使用指令\small并重置\arraystretch为比其小得多的数字)1,而应该使用longtable可以处理分页符的环境。

在此处输入图片描述

\documentclass{article}
\usepackage{booktabs,siunitx,longtable}
% longtable: see https://ctan.org/pkg/longtable for more information

\begin{document}
    \begin{longtable}{@{} lc *{3}{S[table-format=2.3]} S[table-format=3.3] @{}}
    \caption{Descriptive Statistics (Pooled Sample)}
    \label{tab:sum}\\

    %% Headers and footers of longtable   
    \toprule
    &   Obs.& {Mean} &  {St.\ Dev.}& {Min} & {Max} \\
    \midrule
    \endfirsthead

    \multicolumn{6}{@{}l}{\small Table \ref{tab:sum}, cont'd from preceding page}\\
    \addlinespace
    \toprule
    &   Obs.& {Mean} &  {St.\ Dev.}& {Min} & {Max} \\
    \midrule
    \endhead

    \bottomrule
    \addlinespace
    \multicolumn{6}{r@{}}{\small (continued)}\\
    \endfoot

    \bottomrule
    \endlastfoot

    %% Body of table
    SR1 (pooled)       & 5887 & 30.605 & 30.777 & 0     & 100    \\
    SR1 (rural)        & 3115 & 31.253 & 31.832 & 0     & 100    \\
    SR1 (urban)        & 2772 & 29.876 & 29.535 & 0     & 100    \\
    SR1+ (pooled)      & 3671 & 49.079 & 24.743 & 0.024 & 100    \\
    SR1+ (rural)       & 1923 & 50.626 & 25.699 & 0.062 & 100    \\
    SR1+ (urban)       & 1748 & 47.377 & 23.536 & 0.024 & 100    \\
    SRdummy1 (pooled)  & 5887 & 0.624  & 0.485  & 0     & 1      \\
    SRdummy1 (rural)   & 3115 & 0.617  & 0.486  & 0     & 1      \\
    SRdummy1 (urban)   & 2772 & 0.631  & 0.483  & 0     & 1      \\
    SR2 (pooled)       & 5887 & 42.495 & 31.928 & 0     & 100    \\
    SR2 (rural)        & 3115 & 43.943 & 32.949 & 0     & 100    \\
    SR2 (urban)        & 2772 & 40.867 & 30.665 & 0     & 100    \\
    SR2+ (pooled)      & 3671 & 60.649 & 21.319 & 0.306 & 100    \\
    SR2+ (rural)       & 1923 & 62.674 & 21.794 & 1     & 100    \\
    SR2+ (urban)       & 1748 & 58.421 & 20.561 & 0.306 & 100    \\
    SRdummy2 (pooled)  & 5887 & 0.758  & 0.428  & 0     & 1      \\
    SRdummy2 (rural)   & 3115 & 0.754  & 0.431  & 0     & 1      \\
    SRdummy2 (urban)   & 2772 & 0.763  & 0.426  & 0     & 1      \\
    PropRisky (pooled) & 5884 & 6.204  & 19.588 & 0     & 100    \\
    PropRisky (rural)  & 3049 & 1.343  & 9.069  & 0     & 100    \\
    PropRisky (urban)  & 2835 & 11.432 & 25.598 & 0     & 100    \\
    ProbRisky (pooled) & 5884 & 0.124  & 0.330  & 0     & 1      \\
    ProbRisky (rural)  & 3049 & 0.033  & 0.179  & 0     & 1      \\
    ProbRisky (urban)  & 2835 & 0.223  & 0.416  & 0     & 1      \\
    LnInc (pooled)     & 5842 & 10.236 & 1.295  & 1.386 & 14.914 \\
    LnInc (rural)      & 3081 & 9.948  & 1.223  & 1.386 & 14.914 \\
    LnInc (urban)      & 2761 & 10.558 & 1.299  & 3.555 & 14.914 \\
    Age (pooled)       & 6089 & 44.370 & 8.882  & 25    & 59     \\
    Age (rural)        & 3191 & 45.180 & 8.627  & 25    & 59     \\
    Age (urban)        & 2898 & 43.478 & 9.072  & 25    & 59     \\
    Education (pooled) & 6042 & 3.645  & 1.648  & 1     & 9      \\
    Education (rural)  & 3176 & 2.776  & 0.974  & 1     & 7      \\
    Education (urban)  & 2866 & 4.609  & 1.706  & 1     & 9      \\
    Kid (pooled)       & 6089 & 0.664  & 0.779  & 0     & 9      \\
    Kid (rural)        & 3191 & 0.799  & 0.892  & 0     & 9      \\
    Kid (urban)        & 2898 & 0.516  & 0.599  & 0     & 3      \\
    Old (pooled)       & 6089 & 0.229  & 0.531  & 0     & 4      \\
    Old (rural)        & 3191 & 0.252  & 0.550  & 0     & 3      \\
    Old (urban)        & 2898 & 0.203  & 0.509  & 0     & 4      \\
    HHsize (pooled)    & 6089 & 3.634  & 1.401  & 1     & 18     \\
    HHsize (rural)     & 3191 & 4.042  & 1.495  & 1     & 18     \\
    HHsize (urban)     & 2898 & 3.185  & 1.131  & 1     & 10     \\
    Male (pooled)      & 6089 & 0.729  & 0.444  & 0     & 1      \\
    Male (rural)       & 3191 & 0.803  & 0.398  & 0     & 1      \\
    Male (urban)       & 2898 & 0.649  & 0.477  & 0     & 1      \\
    Married (pooled)   & 6037 & 0.914  & 0.280  & 0     & 1      \\
    Married (rural)    & 3173 & 0.939  & 0.240  & 0     & 1      \\
    Married (urban)    & 2864 & 0.887  & 0.317  & 0     & 1      \\
    Party (pooled)     & 5679 & 0.148  & 0.355  & 0     & 1      \\
    Party (rural)      & 2949 & 0.063  & 0.243  & 0     & 1      \\
    Party (urban)      & 2730 & 0.240  & 0.427  & 0     & 1      \\
    Job (pooled)       & 6089 & 0.809  & 0.393  & 0     & 1      \\
    Job (rural)        & 3191 & 0.913  & 0.282  & 0     & 1      \\
    Job (urban)        & 2898 & 0.695  & 0.460  & 0     & 1      \\
    House (pooled)     & 6088 & 0.912  & 0.283  & 0     & 1      \\
    House (rural)      & 3191 & 0.946  & 0.226  & 0     & 1      \\
    House (urban)      & 2897 & 0.875  & 0.331  & 0     & 1      \\

    \end{longtable}
\end{document}

相关内容