SECTION 5: STORING COMMANDS AND OUTPUT .............................................................. 17
Using the Do-file Editor .................................................................................................................... 17
Saving the output .............................................................................................................................. 18
Using Stata output ............................................................................................................................. 20
Exercises for saving commands and output ...................................................................................... 21
SECTION 6: CREATING NEW VARIABLES AND ADDING LABELS ................................. 22
generate ............................................................................................................................................. 22
replace ............................................................................................................................................... 22
tabulate … generate .......................................................................................................................... 23
Using functions ................................................................................................................................. 26
recode ................................................................................................................................................ 26
xtile ................................................................................................................................................... 27
label variable ..................................................................................................................................... 28
label define ........................................................................................................................................ 28
label values........................................................................................................................................ 29
#delimit ............................................................................................................................................. 30
Exercises for creating variables and labels ....................................................................................... 31
Do'stlaringiz bilan baham: |