Bookmark and Share

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]

Re: st: Problem creating large matrices


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Problem creating large matrices
Date   Mon, 12 Jul 2010 12:53:38 +0000 (GMT)

--- On Mon, 12/7/10, Achilleas Vassilopoulos wrote:
> I need to save the results of multiple estimations in a
> matrix. My simulation produces 160,000 such results but when
> I’m trying to create a matrix containing 160,000 rows with
> the following command:
> matrix beta = J> (160000,1,0), I get the following warning : 
> 
> Matsize too small

You have two options: 1) you can store the results in a Mata
matrix, or 2) you can store the results in Stata data matrix.
There are a number of programs in Stata that are helpful if
you choose the latter option, see -help simulate- and 
-help post-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index