*****1. CLASS ONE, WEEK ONE. INTRO TO STATA************ help operators **log files **starting, stopping and modifying log files log using log24 //start Stata session by starting a new log file sysuse auto, clear summarize *we are done, stop log file log close **open it again view log24 **translating log file into other text editor translate log24.smcl log24.log **if you want to continue writing into the same log file, use the option 'append' log using log24, append ***HOW TO LOAD AND IMPORT DATA IN STATA************ ** no back button in Stata!!! use "C:\Users\Aki\Documents\auto2.dta", clear //opening a Stata file from computer use http://www.stata.com/examples/simple.dta //using some data from Internet (.dta file) **Stata training files sysuse dir **opening an auto training file from Stata sysuse directory sysuse auto, clear ***importing data from Excel import excel "C:\Users\Aki\Documents\smoke.xls", sheet("Sheet1") firstrow clear