Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Abdel Rahmen El Lahga <rahmen.lahga@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: how to reduce running time and data size |
Date | Fri, 23 Apr 2010 22:34:17 +0200 |
Also it seems that your sample size is excessivly large (10000). For a monte carlo study I think that you will be ok with 3000 or even 2000 observation HTH AbdelRahmen 2010/4/23 Maarten buis <maartenbuis@yahoo.co.uk>: > --- On Fri, 23/4/10, sun samn wrote: >> I am running simulation about a GMM in MATA; the >> matrices are only involved Within MATA. My sample size is >> 10000 and simulate for 1000 times, which makes the running >> like forever. Plus, it seems like the memory is not big >> enough, Is there any way I can do to improve this situation? > > The simple answer is use fewer observations or fewer iterations. > More specific advise is hard to give, as we haven't seen your > code. The are some general comments possible. You could try > adding starting values if you have good ones, as is often the > case in a simulation study. You could specify the > -derivative()- option, but that can mean a lot time spent on > programming and debugging, so if the time gain you receive from > the faster program will outweight the time lost programming is > an open quesiton. > > -- 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/ > -- AbdelRahmen El Lahga * * 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/