I'm new to LaTeX, and I've been messing around with "eststo" and "esttab" to get regression results from Stata to LaTeX without having to mess with the code too much in the LaTeX file.
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.
I originally suspected that changing the number of columns might have been the problem. I've looked into the dcolumn manual, but it didn't seem to help. Any suggestions would be much appreciated!
Last edited by localghost on Thu Feb 21, 2013 10:37 am, edited 1 time in total.
Please prepare a self-contained and minimal example to give an adequate problem description. And perhaps you can avoid abbreviations like SE which nobody else than you knows.
I also just encountered this specific issue and now have the solution:
If you use the wide option you need to provide 2 column specifiers within the alignment() option.
See the description of the alignment option in help esttab:
"If the table contains multiple columns per model/equation, the alignment specification should define all columns. For example, if the wide option is specified, you could type alignment(cr) to, say, center the point estimates and right-align the t-statistics."
In the original question, for the Stata code you want something like this if you want both the point estimates and t-stats to be aligned using dcolumn: alignment(D{.}{.}{-1} D{.}{.}{-1})