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 |
"Widerstedt Barbro" <Barbro.Widerstedt@tillvaxtanalys.se> |

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

Subject |
st: SV: RE: save table output as a matrix? |

Date |
Tue, 23 Feb 2010 17:22:37 +0100 |

Thanks, that worked a treat. Problem solved! -----Ursprungligt meddelande----- Från: owner-statalist@hsphsun2.harvard.edu genom Nick Cox Skickat: ti 2010-02-23 14:56 Till: statalist@hsphsun2.harvard.edu Ämne: st: RE: save table output as a matrix? Check out -tabstatmat- from SSC. Nick n.j.cox@durham.ac.uk Widerstedt Barbro I am sorry if this is a trivial question, but I have not found a solution anywhere. I don't even seem to know how to phrase my search query right for this one. I need to save a table as a matrix and .table variableName , c(stat1 var1) will produce a table that i would like stored in a matrix. How do I do this? Tab (or tabulate) will only save number of observations in a scalar .tabstat variableName, stats(count) save Will store the results in N 1x1 matrices that I suppose I could concatenate - but since the number of 1x1 matrices will vary this is not ideal. I need it to workaround a command that does not allow by() , so I need not just the actual statistic in the table, but the value of variableName in the matrix as well * * 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/

`<<winmail.dat>>`

**References**:**st: save table output as a matrix?***From:*"Widerstedt Barbro" <Barbro.Widerstedt@tillvaxtanalys.se>

**st: RE: save table output as a matrix?***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**Re: AW: st: AW: AW: Re:** - Next by Date:
**st: Calculate individual distance from other group members** - Previous by thread:
**st: RE: save table output as a matrix?** - Next by thread:
**st: AW: save table output as a matrix?** - Index(es):