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: RE: sqreg VERY slow


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: sqreg VERY slow
Date   Sun, 22 Aug 2010 16:40:21 +0200

<>

This example takes 50 seconds per replication. 

***********
clear*
set mem 1G
set obs 1800000
d,s
gen x=4*rnormal()
gen x2=runiform()*10
gen y=2+x+2*x2+rnormal()
sqreg y x?, quantile(.25 .5 .75) reps(10)
***********


There is no guarantee that MP will make your command faster. -bsample-, for
instance, does not profit much, as you can see from page 40 of
http://www.stata.com/statamp/report.pdf


HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lim, Raymond
Sent: Sonntag, 22. August 2010 16:07
To: [email protected]
Subject: st: sqreg VERY slow

Hello Statalisters,
I'm running sqreq on 1.8 million observations using Stata-MP. It takes about
a week to run. Are there options that will speed it up? I tried wlister(50)
hoping the first set of iterations would make the second set of iterations
faster, but wlister just made it slower.

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

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