Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
"Alvarez,Sergio" <sergioal@ufl.edu> |

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

Subject |
st: tabstatmat question |

Date |
Thu, 01 Sep 2011 15:30:37 -0400 |

Dear Statalisters,

WAVE ZONE 1 2 ... 1 mean(1,1) mean(1,2) 2 mean(2,1) mean(2,2) ...

gen meancatch = TABLE[zone,wave]

Anyway, I thought -tabstatmat- would do the job, so I tried: by zone wave, sort: tabstat num_typ3, stat(mean) save

tabstatmat TABLE But this returns a 1x1 matrix: symmetric table[1,1] num_typ3 mean .94892632

Thanks in advance, Sergio -- Sergio Alvarez Food and Resource Economics University of Florida * * 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: tabstatmat question***From:*Austin Nichols <austinnichols@gmail.com>

**Re: st: tabstatmat question***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Re: st: complex panel data variable generation question** - Next by Date:
**Re: st: tabstatmat question** - Previous by thread:
**st: fit chi distribution to continuos variable** - Next by thread:
**Re: st: tabstatmat question** - Index(es):