I have a question regarding the estout and esttab packages, avaible from ssc. I am using Stata IC 13.1 on Windows 7 and the newest version of estout.
What I want to do is export results from regressions to tex files. The problem is that estout and esttab are not replacing the #s in the .tex output as I expect which causes a problem when compiling the .tex file. I have constructed a small example to show what I mean:
In both of these cases, the output still contains the #s, which would need to be in a math environment in Latex. In the estout help file it says
But that doesn't seem to be the case, even if I add the interaction(" $\times$ ") option. What am I doing wrong?
EDIT: If I add the -label- option, everything seems to be working as it should. But why not without that option?
What I want to do is export results from regressions to tex files. The problem is that estout and esttab are not replacing the #s in the .tex output as I expect which causes a problem when compiling the .tex file. I have constructed a small example to show what I mean:
Code:
sysuse auto, clear reg price c.weight##foreign estimates store est1 estout est1, style(tex) esttab est1, tex
interaction(string) specifies the string to be used as delimiter for interaction terms
(only relevant in Stata 11 or newer). The default is interaction(" # "). For style(tex)
the default is interaction(" $\times$ ").
(only relevant in Stata 11 or newer). The default is interaction(" # "). For style(tex)
the default is interaction(" $\times$ ").
EDIT: If I add the -label- option, everything seems to be working as it should. But why not without that option?
Comment