Bookmark and Share

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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: latex output for "table"


From   Abhishek <cheerfulguy@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: latex output for "table"
Date   Thu, 8 Mar 2012 17:47:59 -0500

Hi,

I have a simple query that I've been having trouble with. How do I get
the following into a table? I've tried tabout, but it doesnt seem to
work, but perhaps I dont understand it well.

table var1 var2, c(mean statistic sd statistic)

I want output that looks something like this:

------------------------------
           |       var2
 var1 |        0         1
-----------+-------------------
        0 |  .157895   .182796
           | .5234516  .6133507
           |
        1 |  .666667   1.15054
           | 1.309673  1.693152
------------------------------


Thanks,
~A
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index