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 <>
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: Richard.A.Williams.5@ND.Edu
WWW (personal):
WWW (department):

* For searches and help try:

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