cd "C:\data\biostat212\" // create a folder for each assignment/activity // and change the directory this folder capture log close log using "Activity1_yourname.smcl", append //name the file whatever you choose set more off // prevents output from getting interrupted for page breaks version 14 // tells stata you are using version 14 /* Activity 1 */ use "Coronary Calcium.dta", clear //make sure this data set is saved in your folder ***** Analysis (this will change for each lab) tab dm tab chol log close //closes log file set more on