I basically need to create a regression table with coefficients on one line, and t-statistics in brackets on the second line. However, I have a problem when the t-statistics are negative. When I compile the code, I get a misplaced sign token error. Here is the code that I used:
\documentclass[12pt,a4paper,twoside]{article}
\usepackage[french,german,english]{babel}
\usepackage{array}
\usepackage{multirow}
\usepackage{amsmath, amssymb,mathrsfs}
\usepackage{siunitx}
\sisetup{
input-symbols = {()},
group-digits = false,
explicit-sign
}
\begin{document}
\begin{table}[H]
\centering
\begin{tabular}{l S S}
&\multicolumn{1}{c}{Proportion taken}&\multicolumn{1}{c}{Decision category}\\
Coefficient & -0.116** & 0.711** \\
t-test & (-0.23094) & (3223.3)\\
\end{tabular}
\end{table}
\end{document}
If I change the -0.23094 to 0.23094, it works fine, but not when I include the sign.
Best Answer
\sisetup{parse-numbers=false}
turns off the number parser inside the table environment. Then the numbers will be printed in math mode 'as given'.