Ajustando uma tabela que compara matrizes de covariância?

Ajustando uma tabela que compara matrizes de covariância?

Ei pessoal,

Estou fazendo esta tabela que compara matrizes de covariância, mas não consigo fazer duas coisas que desejo. Primeiro de tudo, quero que as matrizes tenham exatamente o mesmo tamanho (as de cima parecem maiores agora). Em segundo lugar, gostaria de ver a seta Sigma+ acima das outras duas matrizes também.

Alguém por favor pode me ajudar?insira a descrição da imagem aqui

Meu código:

\begin{table}[H]
\caption{Covariance matrices using IME and sandwich form}\label{tab:2}
\vspace{-0.3cm}
\begin{adjustbox}{width=1\columnwidth, center}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} c c}
\toprule
 \textbf{Normally distributed errors} & \textbf{Student-t distributed errors} \\ 
\midrule 
$\Sigma_{IME}(\theta)$: \Longrightarrow \\ \[\left[ \begin{array}{ccc} \num{-2.05e-4} & \num{-7.16e-10} & \num{-2.42e-08} \\ \num{-7.16e-10} & \num{2.05e-04} & \num{2.71e-05} \\ \num{-2.42e-08} & \num{2.71e-05} & \num{2.64e-03} \end{array}\right]\]   & \[\left[ \begin{array}{ccc} \num{2.04e-08} & \num{-3.82e-12} & \num{-8.77e-12} \\ \num{-3.82e-12} & \num{4.11e-08} & \num{5.43e-09} \\ \num{-8.77e-12} & \num{5.43e-09} & \num{5.28e-07} \end{array}\right]\]  \\ 
$\Sigma_{Sandwich}(\theta)$: \Longrightarrow \\ \[\left[ \begin{array}{ccc} \num{6.58e-01} & \num{-1.64e-05} & \num{1.31e-04} \\ \num{-1.64e-05} & \num{2.04e-04} & \num{2.72e-05} \\ \num{1.31e-04} & \num{2.72e-05} & \num{2.64e-03}  \end{array}\right]\] & \[\left[ \begin{array}{ccc} \num{2.06e-08} & \num{3.85e-12} & \num{8.82e-12} \\ \num{3.85e-12} & \num{4.11e-08} & \num{5.44e-09} \\ \num{8.82e-12} & \num{5.44e-09} & \num{5.29e-07} \end{array}\right]\] \\
\midrule[\heavyrulewidth]            
\end{tabular*}
\end{adjustbox}
\centering
\end{table 

Responder1

se alguém conseguir fazer esta tabela caber em uma página com os Sigmas em uma coluna separada à esquerda, ficarei ainda mais feliz!

Esperando te fazer feliz :-)

insira a descrição da imagem aqui

\documentclass{article}
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage{amsmath,siunitx,booktabs,amssymb}
\newcolumntype{R}{>{$}r<{$}}
\newcolumntype{C}{>{$}c<{$}}
\begin{document}
\begin{table}[ht!]
\sisetup{table-format=-1.2e-2,tight-spacing}
\setlength\arraycolsep{2pt} % default: 5pt
\setlength\tabcolsep{0pt}

\caption{Covariance matrices using IME and sandwich form\strut}\label{tab:2}

\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} RCC}
\toprule
& \text{Normally distributed errors}
& \text{Student-$t$ distributed errors} \\ 
\midrule 
\Sigma_{\textrm{IME}}(\theta): \Longrightarrow &
\left[ \begin{array}{@{}SSS@{}} 
-2.05e-4  & -7.16e-10 & -2.42e-08 \\ 
-7.16e-10 &  2.05e-04 &  2.71e-05 \\ 
-2.42e-08 &  2.71e-05 &  2.64e-03
\end{array}\right]
  & 
\left[ \begin{array}{@{}SSS@{}} 
 2.04e-08 & -3.82e-12 & -8.77e-12 \\ 
-3.82e-12 &  4.11e-08 &  5.43e-09 \\ 
-8.77e-12 &  5.43e-09 &  5.28e-07 
\end{array}\right]
\\  \addlinespace
\Sigma_{\textrm{Sandwich}}(\theta): \Longrightarrow &
\left[ \begin{array}{@{}SSS@{}} 
 6.58e-01 & -1.64e-05 & 1.31e-04 \\ 
-1.64e-05 &  2.04e-04 & 2.72e-05 \\ 
 1.31e-04 &  2.72e-05 & 2.64e-03  
\end{array}\right]
 & 
\left[ \begin{array}{@{}SSS@{}} 
2.06e-08 & 3.85e-12 & 8.82e-12 \\ 
3.85e-12 & 4.11e-08 & 5.44e-09 \\ 
8.82e-12 & 5.44e-09 & 5.29e-07 
\end{array}\right]
\\
\bottomrule           
\end{tabular*}

\end{table}
\end{document}

Responder2

insira a descrição da imagem aqui

Com o uso do siunitxpacote:


\documentclass{article}
\usepackage{geometry}
\usepackage{siunitx}
\usepackage{booktabs, tabularx}

\begin{document}
    \begin{table}[ht]
    \sisetup{table-number-alignment = center,
             table-figures-integer = 2,
             table-figures-decimal = 2,
             table-figures-exponent = 2,
             }
    \renewcommand\arraystretch{1.2}

\caption{Covariance matrices using IME and sandwich form}
\label{tab:2}

\begin{tabularx}{\textwidth}{ *{2}{>{$}X<{$}} }
    \toprule
    \addlinespace
    \textbf{Normally distributed errors}
    &   \textbf{Student-t distributed errors}       \\
    \midrule
\Sigma_{\text{IME}}(\theta):\quad \Longrightarrow
    &                           \\
    \left[\begin{tabular}{SSS}
-2.05e-4    &   -7.16e-10   &   -2.42e-08       \\
-7.16e-10   &    2.05e-04   &    2.71e-05       \\
-2.42e-08   &    2.71e-05   &   2.64e-03
    \end{tabular}\right]
    &   \left[\begin{tabular}{SSS}
     2.04e-08   &   -3.82e-12   &   -8.77e-12   \\
    -3.82e-12   &    4.11e-08   &    5.43e-09   \\
    -8.77e-12   &    5.43e-09   &    5.28e-07
    \end{tabular}\right]        \\
% second row
    \addlinespace
\Sigma_{\text{Sandwich}}(\theta):\quad \Longrightarrow
    &                           \\ 
    \left[\begin{tabular}{SSS}
 6.58e-01   &   -1.64e-05   &   1.31e-04        \\
-1.64e-05   &    2.04e-04   &   2.72e-05        \\
 1.31e-04   &    2.72e-05   &   2.64e-03  
    \end{tabular}\right]
    &   \left[\begin{tabular}{SSS}
    2.06e-08    &   3.85e-12    &   8.82e-12    \\
    3.85e-12    &   4.11e-08    &   5.44e-09    \\
    8.82e-12    &   5.44e-09    &   5.29e-07
        \end{tabular}\right]    \\
    \addlinespace
    \bottomrule
\end{tabularx}
    \end{table}
\end{document}

informação relacionada