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]

From |
"Rilke Rainer Michael" <rilke@wiso.uni-koeln.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: AW: TABOUT - Question / with exp.png |

Date |
Fri, 24 Sep 2010 11:07:11 +0200 |

Sorry, for sending the attachment! Basically I want Stata to export the following Latex-Code: \begin{table} \begin{tabular}{ccccccc} & \multicolumn{3}{c}{Prop} & \multicolumn{3}{c}{Resp} \\ &x&y &z &x&y &z\\ \hline (1-5) &&&&&& \\ 1&0.5&63.1&67.4 & 32.23 &0.5&63.1\\ \end{tabular} \end{table} For the proposed data. Sorry, again. Rainer -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Rilke Rainer Michael Gesendet: Freitag, 24. September 2010 10:51 An: statalist@hsphsun2.harvard.edu Betreff: st: TABOUT - Question / with exp.png Hello, I have a question concerning the tool: TABOUT. Basically I want a table that looks like the example in the attachment. Whereas PROP and RESP AND (1-5) are variables defining two different categories. X,Y and Z should be displayed in means and sd. Acutally I used tabout to solve this problem and typed in the following code: tabout (1-5) (Prop/Resp) using blabla.tex, style(tex) replace c( mean x mean y mean z) sum Tabout produces the following tables: & \multicolumn{3}{c}{Mean} \\ &x&y &z \\ \hline (1-5)&&& \\ 1&0.5&63.1&67.4 & 32.23 \\ 2&0.5&82.3&75.7 & 32.23\\ 3&0.5&98.2&89.3 & 32.23\\ 4&0.5&113.2&112.1 & 32.23\\ 5&0.5&149.7&144.3 & 32.23\\ Total&0.5&100.5&95.7 & 32.23\\ \hline (PROP/RESP)&&& \\ RESP&0.0&100.4&102.9 & 32.23\\ PROP&1.0&100.6&88.5 & 32.23\\ Total&0.5&100.5&95.7 & 32.23\\ If anyone has any suggestions I would be pleased to hear your comment. Kind Regards, Rainer * * 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/

**Follow-Ups**:**Re: st: AW: TABOUT - Question / with exp.png***From:*Eric Booth <ebooth@ppri.tamu.edu>

**References**:**st: TABOUT - Question / with exp.png***From:*"Rilke Rainer Michael" <rilke@wiso.uni-koeln.de>

- Prev by Date:
**st: AW: TABOUT - Question / with exp.png** - Next by Date:
**st: Hausman test for clustered random vs. fixed effects** - Previous by thread:
**st: AW: TABOUT - Question / with exp.png** - Next by thread:
**Re: st: AW: TABOUT - Question / with exp.png** - Index(es):