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

st: the speed problem of xtabond2 when it comes to large datasets


From   "Q. Cher Li" <[email protected]>
To   <[email protected]>
Subject   st: the speed problem of xtabond2 when it comes to large datasets
Date   Fri, 10 Dec 2004 11:15:52 -0000

Hi all,  

I asked a question previously regarding the speed of "xtabond2" command in
Stata (please see below), since it's unbearably slow to play with large
datasets. However, I got the reply from its author saying there's little to
be done about it given the way this programme was written. In particular,
"xtabond2" was not written in compiled C++ as opposed to "xtabond".  I am no
good in programming and am wondering whether anybody has written his/her own
version in C++. Or could anyone kindly tell me whether there's any other way
to speed up the computation or to obtain system GMM estimators in Stata? 

Thanks a lot

Best,
Cher 


Q. Cher Li
Department of Economics
Adam Smith Building
Glasgow G12 8RT, UK
Tel: 0141 330 5639
Fax: 0141 330 4940
Email: [email protected]

-----Original Message-----
From: Q. Cher Li [mailto:[email protected]] 
Sent: 01 December 2004 12:43
To: '[email protected]'
Subject: timing of xtabond2 in Stata

 

Dear all,

I am trying to estimate a system GMM model, using a large dataset (8M). It's
really unbearably long to wait for the output from "xtabond2" as it took
almost half a
day to compute Windmeijer finite-sample correction. Nevertheless, in
contrast, it just took around 15 minutes for PcGive to run the same DPD
model.  (In another instance, I eventually had to give it up after running
for a whole day on a 56M dataset with no results yet.)

Could anybody kindly tell me the reason and also whether there is any option
to speed up the whole process, given my preference in Stata?

Thanks a lot for your help in advance

Best,

Cher


 
 
Q. Cher Li
Department of Economics
Adam Smith Building
Glasgow G12 8RT, UK
Tel: 0141 330 5639
Fax: 0141 330 4940
Email: [email protected]



*
*   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