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 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]

st: how to summarize a big matrix


From   Wu Zhang <wuzhang50@yahoo.com>
To   STATA LIST <statalist@hsphsun2.harvard.edu>
Subject   st: how to summarize a big matrix
Date   Mon, 8 Apr 2013 13:40:38 -0700 (PDT)

Hi there,

   I am required to investigate the elements of a big matrix(1000X1000); what I am trying to do now is to VEC the matrix and change it into a variable, then use "sum" in stata. But that is very slow.

  I am just wondering whether there is an easier way to summarize the matrix directly? By the way, the matrix is symmetric.

Thank you very much!

Wu 


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index