Unfortunately, I'm running into a weird problem: I want to set the table to 'wide' using "esttab" (putting the SEs next to the estimated coefficients, rather than below), but when I do, LaTeX seems unhappy with the dcolumn package (to align the decimal points). When I typeset, it gives me this error.
Code: Select all
117: Extra alignment tab has been changed to \cr. <template> \endtemplate
l.117 ... &\multicolumn{2}{c}{(1)} & \multicolumn{2}{c}{(2)} ... ?
Code: Select all
esttab using /path/name.tex, ///
label title("Title") mtitles("M1" "M2") ///
nodepvars se(3) b(3) ar2 r2 scalars(F) gaps replace wide booktabs alignment(D{.}{.}{-1})
Code: Select all
\begin{table}[htbp]\centering
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\caption{Title}
\begin{tabular}{l*{2}{cc}}
\toprule
&\multicolumn{2}{c}{(1)} &\multicolumn{2}{c}{(2)} \\
&\multicolumn{2}{c}{M1} &\multicolumn{2}{c}{M2} \\
\midrule
X1 & 0.657\sym{*} & (0.199)& 0.970\sym{*} & (0.298)\\
I originally suspected that changing the number of columns might have been the problem. I've looked into the
