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

Re: st: Survey related questions

From   Richard Williams <>
Subject   Re: st: Survey related questions
Date   Thu, 08 Sep 2005 06:42:32 -0500

At 03:42 AM 9/8/2005, Thamana Lekprichakul wrote:
the second question is more for the Stata staff.  i noticed that the
svy: tab command in version 9.0 takes significantly much longer time
to present results.  why does Stata 9.0 regress in term of speed in
this particular routine?  how can i speed up estimation process in
svy: tab.
Jeff Pitblado offered this discussion of speed issues back on Aug. 9:

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.
If possible with your data, you can use the older & faster svy commands by using version control.

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