Using Stata for Survey Data Analysis


SECTION 5: STORING COMMANDS AND OUTPUT .............................................................. 17


Download 1.39 Mb.
Pdf ko'rish
bet3/61
Sana08.03.2023
Hajmi1.39 Mb.
#1252470
1   2   3   4   5   6   7   8   9   ...   61
Bog'liq
2009 Usingstataforsurveydataanalysis (1)

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 



Download 1.39 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   61




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling