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

From |
Richard Ochmann <rochmann@diw.de> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: three-way tables, exporting to tex |

Date |
Fri, 20 Mar 2009 17:45:47 +0100 |

Hi, how would you export a three-way table to a .tex document? I would like to produce a summary table for a continuous variable over three categorical variables. Cells shall contain means as well as frequencies. I found I can nicely do that with -table- (find my code below). Now I have a hard time exporting the resulting table to a .tex document that I can further edit in LaTeX. I tried with user-written programs like -estout- and -tabout-. While -tabout- brings me close, I didnt figure out how to do a three-way table there. While this problem is certainly easily worked-around producing separate two-way tables conditioning on the third variable and somehow combining them, I would be happy to have a one-step solution here. thanks for ideas! Stata 10, WinXP best, rich *** clear webuse union table year union south, c(freq mean grade) *** * * 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: three-way tables, exporting to tex***From:*Richard Ochmann <rochmann@diw.de>

**Re: st: three-way tables, exporting to tex***From:*Ben Jann <ben.jann@gmail.com>

**Re: st: three-way tables, exporting to tex***From:*"Martin Weiss" <Martin.Weiss1@gmx.de>

- Prev by Date:
**RE: st: nlcom, "Maximum number of iterations exceeded."** - Next by Date:
**st: Processing SF8 data with Stata** - Previous by thread:
**st: nlcom, "Maximum number of iterations exceeded."** - Next by thread:
**Re: st: three-way tables, exporting to tex** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |