Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.

Re: st: Time-series operators and -outreg-

 From Jeremy Wells To statalist@hsphsun2.harvard.edu Subject Re: st: Time-series operators and -outreg- Date Sat, 4 May 2013 12:10:34 -0500

Dr. Gallup,

I see what you mean, but I did not mean to imply that you were responsible for the coding. I think this is a Stata issue in general and should be handled by Stata developers. (And since the issue seems to be everyone wants a different way of labeling operators, perhaps offer a -operator label- command similar to -variable label-.)

Anyhow, I have another -outreg- question. I am using the -summstat- and -summtitle- options, and  I am putting in the following:

summstat(chi2 \ p \ N) summtitle("$\chi^2$" \ "$p<\chi^2$" \ Obs.)

All works fine except the LaTeX file is missing the "$p":$\chi^2$& 52.69\\ <\chi^2$ & 0.00\\
Obs. & 9,952\\

I have tried several attempts to keep "$p" together, but nothing seems to work except "$[space]p" which, of course, puts in an obvious space that I do not want.

Honestly, I would prefer putting stars on the chi^2 statistic, but I could not find a way of coding this, so the added line works as well. Any ideas?

Thanks,

Jeremy Wells
Ph.D. Student
LSU Dept. of Poli. Sci.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/