Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Inteff Hanging


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Inteff Hanging
Date   Sat, 7 Apr 2007 22:34:57 +0100 (BST)

--- sabrina wang <[email protected]> wrote:
>    I have installed inteff by "net search inteff".
> However, whenever I run the inteff after my probit
> model, it hangs there. No error message. The CPU is
> very busy but nothing comes up. I waited like 20
> minutes and still no results come up. I have tried 
> this many times and with different model 
> specifications. But no luck.

The example below works for me, does it work for you?

*--------- begin example ------------
sysuse auto, clear
gen priceXmpg = price * mpg
probit foreign price mpg priceXmpg
inteff foreign price mpg priceXmpg
*----------- end example ------------
(For more on how to use examples I sent to the Statalist, see:
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )

Anyhow, a very quick look under the hood of -inteff- (using
-viewsource-) suggests to me that -inteff- loops over observations,
which would make it very slow in large datasets, so if your dataset is
large than it is likely that -inteff- just takes very very long (>20
minutes, maybe much more than 20 minutes) Try running it on a small
random sample of your data, and if that works run it overnight.

Hope this helps,
Maarten




-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
*
*   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