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: Use of stata and maximisation of one's computer capabilities


From   Francisco Rowe <frowe@ucn.cl>
To   statalist@hsphsun2.harvard.edu
Subject   st: Use of stata and maximisation of one's computer capabilities
Date   Thu, 6 Oct 2011 16:59:06 +1000

Hi,

I am running a set of models in a multinomial logit model framework, using 4,000,000 observations, 3 choices (plus the reference category) and 54 variables. Stata takes 40-60 mins, running each the model.

I ran my code in two different machines:

1) A Win 2008 R2 terminal server (2x quad core/16HT cores, Xeon E5540 @2.53GHz, 32GB RAM, 500+GB free disk space) -using Stata/SE 10.0

2) A Mac 2.66 GHz Intel Core i7, 8 GB 1067 MHz -using Stata/SE 10.1

Despite of these machines’ capabilities, my models take too long. I have set the memory usage to:

On the Win server:

                   current                                 memory usage
   settable          value     description                 (1M = 1024k)
   --------------------------------------------------------------------
   set maxvar        32767     max. variables allowed          12.501M
   set memory         1024M    max. data space              1,024.000M
   set matsize       4500     max. RHS vars in models        154.873M
                                                           -----------
                                                            1,800.169M

On mac:
                   current                                 memory usage
   settable          value     description                 (1M = 1024k)
   --------------------------------------------------------------------
   set maxvar        30000     max. variables allowed          12.390M
   set memory         1024M    max. data space              1,024.000M
   set matsize       10000     max. RHS vars in models        763.779M
                                                           -----------
                                                            1,800.169M 

Is there any way to take advantage of the full capabilities of these machines? Do anyone have any suggestions on an “more" efficient way (in time terms) running my models using Stata?

Regards,

Francisco.
*
*   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