Stata Tidbits

These tidbits contain bits and pieces of information I hope you find helpful to use Stata more effectively. You can receive notifications of new tidbits as they are added (via email) by clicking on the subscribe box at the left. (Every email has an unsubscribe link, making it a snap to unsubscribe.)
« Using the variables window | Capturing and sharing screen images »
Tuesday
Apr202010

Using the review window

The review window stores the previous commands that you have issued to Stata. There are a number of ways that you can access the contents of this window for replaying or saving commands that you have previously issued, as illustrated in the video below.

You can also access this video by clicking the following link.

http://www.screencast.com/t/Yzg2MDc0ZDUt

You can download the example data files from this tidbit (as well as all of the other tidbits) as shown below. These will download all of the example data files into the current folder on your computer. (If you have done this before, then you may need to specify net get stowdata, replace to overwrite the existing files.

net from http://www.MichaelNormanMitchell.com/storage/stowdata net get stowdata

If you have thoughts on this Stata Tidbit of the Week, you can post a comment. You can also send me an email at MichaelNormanMitchell and then the at sign and gmail dot com. If you are receiving this tidbit via email, you can find the web version at http://www.michaelnormanmitchell.com/ .

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (8)

Hi, thanks for this excellent blog. I find many of the stata tips here extremely useful. I find they are right at my level, while the statalist tends to be a little too advanced. It's hard to find learning material at this level and so I'm very appreciative.

April 20, 2010 | Unregistered Commenterpaul

Very interesting and useful stuff! Readers, or rather viewers, may also like "Stata tip 69: Producing log files based on successful interactive commands" by Alan Riley, in: Stata Journal 8(4), 2008. See http://www.stata-journal.com/article.html?article=pr0044.

April 21, 2010 | Unregistered CommenterMartin Weiss

this post is useful, but i found the text writeups better than the video. they allow me to skim and read at my own pace, whereas the video forces everyone into the same pace. all the same, thanks for this service.

April 22, 2010 | Unregistered Commenterjack

I have found your Tidbits very helpful. For example, I had no idea I could sort in the review window or that I could right click and save the commands in a do file. Thanks for your work.

April 22, 2010 | Unregistered Commenterlaughlin

Dear Jack

Thanks for your comment... I agree that the video format has the disadvantage of being very linear and being in "real time", not allowing one to skip ahead and go faster. Because of that, I am striving to keep them at 2 minutes or at most 3 minutes, in keeping with the "tidbit" nature of these posts. For "point and click" tidbits, I like the video format because I can "show" how it works, rather than using words like "Click here", "point there" and so forth.

For tidbits about commands and output, I will continue to use the approach of commands and output as have been used previously (not the video approach) for the very reason that you mention.

Thanks for the comments... I appreciate them all, including the constructively critical ones like Jack's! I enjoy making these tidbits and want to make them as useful (and perhaps a little enjoyable) as possible.

Michael

April 22, 2010 | Registered CommenterMichael Mitchell

Really wonderful information. I will go to share this to my friends...

Business week MBA

April 26, 2010 | Unregistered CommenterSugi

I like this post very much. I will go to share this in my twitter page...

Email Database

April 26, 2010 | Unregistered CommenterSharath

I think one of the major drawback of the review window is that it doesn't make much sense when you are working with do files. The review window will only log the do command, which I find totally useless. And whenever I send something to the do-file editor, a new instance of it is being opened (instead of just appending the command at the end of the active do file).

August 9, 2010 | Unregistered CommenterPatrick
Editor Permission Required
You must have editing permission for this entry in order to post comments.