[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: increasing time burden during resampling

From   "Feiveson, Alan H. (JSC-SK311)" <>
To   "" <>
Subject   RE: st: increasing time burden during resampling
Date   Wed, 30 Dec 2009 15:49:51 -0600

Vince - 

Thanks for looking at this problem. Actually, there are some matrices that I form before the iterations that I would like to preserve. Instead of "matrix drop _all", is there some easily referenced group of matrices (not my own) that should be dropped? I would rather avoid saving those original matrices in a data set if possible.

Al Feiveosn

-----Original Message-----
From: [] On Behalf Of Vince Wiggins, StataCorp
Sent: Wednesday, December 30, 2009 2:46 PM
Subject: Re: st: increasing time burden during resampling

In a continuing thread, Al Feiveson <> has written
that repeated invocations of -test- or -lincom- with factor variables causes
Stata to slow down on commands that subsequently use factor variables.

We asked for Al's data yesterday and have been able to reproduce the problem.

We will fix this soon (within the next few weeks) in an update.

The speed decrease is negligible unless you issue many hundreds or thousands
of -test- or -lincom- statements.  This means that only those doing
simulations or other heavily iterated processes need to be concerned.

As Al noted, the speed decrease grows approximately linearly and without
bound.  You can reclaim the original speed in any Stata session by typing
-matrix drop _all-.  Unless Al is collecting results in a matrix, this is a
safe short-term workaround for the problem.

-- Vince

*   For searches and help try:

*   For searches and help try:

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