Statalist


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

st: RE: ST: Is STATA working?


From   "Kieran McCaul" <Kieran.McCaul@uwa.edu.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: ST: Is STATA working?
Date   Sun, 13 Sep 2009 06:15:38 +0800

Hi Laura,

Whenever I have to run something on a large dataset and I want to be
sure that it's working OK, I first create a smaller test dataset from
the larger dataset and run the program on this.

If this is your farm/lake data, make a file with only one farm and run
the program on this to make sure that it's finding the closest lake for
that farm.  If it runs and the results look OK, then you can run it on
the main data.

Also, if you're looping through the farms and you have a counter in the
loop (a local `i', for example), you could add the following within that
loop:

n di "Farm number `i'"

and this will come up on your screen each time the farm loop begins, so
you can see how many farms have been linked and hence how many there are
to go.



______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
Phone: (08) 9224-2701
Fax: (08) 9224 8009
email: Kieran.McCaul@uwa.edu.au
http://myprofile.cos.com/mccaul 
http://www.researcherid.com/rid/B-8751-2008
______________________________________________
If you live to be one hundred, you've got it made.
Very few people die past that age - George Burns

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Laura
Platchkov
Sent: Sunday, 13 September 2009 1:53 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: ST: Is STATA working?

Hi, I am running a huge command wiht more than 1'000'000 operations to
do by STATA, and I wa just wondering how I could assure myself that it
is really computing some results and I am not waiting for Godot in front
of my computer ....?

Thanks, 


Laura 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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