Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Stata equivalent to Matlab 'waitbar' function?

From   SLG Brilleman <>
To   Statalist <>
Subject   st: Stata equivalent to Matlab 'waitbar' function?
Date   Wed, 07 Apr 2010 12:22:36 +0100


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 Brilleman
Academic Unit of Primary Health Care
University of Bristol
25/27 Belgrave Road
Bristol  BS8 2AA

0117 331 3868
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index