Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: svy regress Stata 9 vs Stata 8


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: svy regress Stata 9 vs Stata 8
Date   Tue, 09 Aug 2005 10:44:30 -0500

At 10:06 AM 8/9/2005 -0500, Jeff Pitblado, StataCorp LP wrote:
There are two reasons for the difference in speed between -svyregress- and
-svy: regress-.

1.  Compiled code written in C is faster than Mata, although compiled Mata
    code is very fast compared to interpreted Stata code.

2.  General purpose code tends to be slower than code written to take
    advantage of a special case.
Thanks for the explanation Jeff. Still, speed differences of 6:1, like Robert found, are not trivial. Hopefully Stata can do something to address that, perhaps either by going back to C code or speeding up Mata. Any one who doesn't need Stata 9's new features (which are very impressive) may wish to use Stata 8.2 version control when doing svy analysis.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index