Syntax - Stata
Manipulate labelsSyntaxMenuDescriptionOptionsRemark s and examplesStored resultsReferencesAlso seeSyntaxLabel datasetlabel data["label"]Label variablelabel variablevarname["label"]Define value labellabel definelblname #"label"[#"label"...][, add modify replace nofix]Assign value label to variableslabel valuesvarlist[lblname|.][, nofix]List names of value labelslabel dirList names and contents of value labelslabel list[lblname[ ]]Copy value labelslabel copylblname lblname[, replace]Drop value labelslabel drop{lblname[ ]|all}Save value labels in do-filelabel save[lblname[ ]]usingfilename[, replace]where#is an integer or an extended missing value (.a,.b,...,.z).12 label Manipulate labelsMenulabel dataData>Data utilities>Label utilities>Label datasetlabel variableData>Variables Managerlabel defineData>Variables Managerlabel valuesData>Variables Managerlabel listData>Data utilities>Label utilities>List value labelslabel copyData>Data utilities>Label utilities>Copy value labelslabel dropData>Variables Managerlabel saveData>Data utilities>
label. Consider label values myvar mylab, and say that myvar has a %9.0g display format right now. Say that the maximum length of the strings in mylab is 12 characters. label values would change the format of myvar from %9.0g to %12.0g. nofix prevents this. nofix is also allowed with label define, but it is relevant only when you are modifying an
Download Syntax - Stata
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: