Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: AW: Stata equivalent to Matlab 'waitbar' function?


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Stata equivalent to Matlab 'waitbar' function?
Date   Wed, 7 Apr 2010 13:24:43 +0200

<> 


Try http://www.stata-journal.com/sjpdf.html?articlenum=pr0030




HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von SLG Brilleman
Gesendet: Mittwoch, 7. April 2010 13:23
An: Statalist
Betreff: st: Stata equivalent to Matlab 'waitbar' function?

Hi,

Does anyone know of a way to produce either a graphical or numeric display 
in the STATA results window, that indicates the progress when running a 
program with a loop function in it (ie. to indicate the proportion of total 
iterations currently complete, when using a command such as -forvalues i = 
1/`iterations'- ...)

I can use -display- to provide a cumulative percentage, but would prefer if 
the printed result could overwrite the last text rather than a ridiculous 
build up of numbers in the results window.

If it helps, this would be something equivalent to the 'waitbar' function 
in Matlab.

This would be extremely helpful.

Many thanks,
Sam.

----------------------
Sam Brilleman
Academic Unit of Primary Health Care
University of Bristol
25/27 Belgrave Road
Bristol  BS8 2AA

0117 331 3868
sam.brilleman@bristol.ac.uk
*
*   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   |   Site index