Bookmark and Share

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]

st: spmat memory considerations, datatype for banded matrix


From   [email protected] (Rafal Raciborski, StataCorp)
To   [email protected]
Subject   st: spmat memory considerations, datatype for banded matrix
Date   Wed, 10 Jul 2013 11:12:49 -0500

Laszlo Sandor <[email protected]> has some questions about the user-written
-spmat- command:

> I had a plan to do some social network analysis on a large family tree
> of 9 million people (with Stata/MP 12.1), but if I'm doing my sums right,
> the memory needs are enormous...

Mata matrices are stored in double precision, thus with a band of 20 Laszlo
would still need close to 1.5Gb of storage space,

  . di (9000000*21*8) / 2^30
  1.4081597

> Can I at least save some space with using only bits for each
> connection? (I do not weight be distance.)

At the moment, Mata does not offer bitwise manipulation capabilities.
 
-- Rafal
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index