log - Log, cmdlog, do-file, & profile.do in Stata I....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Log, cmdlog, do-file, & profile.do in Stata I. Log & cmdlog: how to log Stata sessions. See Getting Started with Stata manual. Either click the ‘log’ icon or File>Log>Begin, or type the commands. . log using practice, replace [or: append] . cmdlog using practice, replace [or: append] The downloadable ‘log2do2’ turns logfiles into command files. You can also right-click the command window and ‘Send to Do-file editor’. Example of log and cmdlog: Either click ‘log’ icon or File>Log>Begin, or type command for logfile: . log using practice, replace [or: append] . cmdlog using practice, replace [or: append] Type the following (or whatever you prefer to type) in Stata’s command window. (Be sure to type *, which tells Stata that you’re typing a comment, but don’t type . before commands, as Stata inserts . before each command in the results window.): * I will practice logging my Stata session’s commands and results. . use hsb2, clear . d . su . su math, d . codebook race . insp race * I will now practice turning log and command log off and on. . log off
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

log - Log, cmdlog, do-file, & profile.do in Stata I....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online