Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

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

From |
John Luke Gallup <jlgallup@pdx.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: transpose question |

Date |
Fri, 22 Jul 2011 15:05:38 -0700 |

Dave, The most relevant part of the documentation for putting Stata data into Mata matrices is in help m1_ado (Using Mata with ado-files) help m4_stata (Stata interface functions) That said, I would recommend starting from the beginning! Read the relatively short and concise (like most Stata documentation - the reason I switched from SAS so many years ago) introduction to Mata programming at help m1_intro John On Jul 22, 2011, at 10:33 AM, Airey, David C wrote: > . > > Thank you! > > Where does one start to understand use of Mata for data manipulation in the documentation? Don't say at the beginning. :) > > -Dave > >> Once you work out the syntax to move data into Mata matrices, all the manipulation in Mata is _much_ easier than handling matrices in Stata. >> >> Stata's (and Mata's) matrix cross-product functions in many cases allows you to work with a K x K matrix, avoiding holding a larger K x N matrix. >> >> John >> >> On Jul 21, 2011, at 4:41 PM, Airey, David C wrote: >> >>> . >>> >>> Stata's data tables are limited to 32,767 variables. >>> >>> In Mata, matrices are limited only by the amount of memory on your computer. >>> >>> For very large row column transpose problem, do other users >>> break the data set into smaller pieces, transpose and then put it back >>> together in Stata? Or do you somehow use Mata? >>> >>> -Dave > > * > * 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/ > * * 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: transpose question***From:*Christophe Kolodziejczyk <ck.statalist@gmail.com>

**References**:**Re: st: transpose question***From:*"Airey, David C" <david.airey@vanderbilt.edu>

- Prev by Date:
**st: Error in ivreg2 and ivregress** - Next by Date:
**st: RE: Error in ivreg2 and ivregress** - Previous by thread:
**Re: st: transpose question** - Next by thread:
**Re: st: transpose question** - Index(es):