Hi I received a spss file, already coded with value labels. I need to add some new value labels that had been forgotten, using the syntax. for istance: val lab VAR1 8 "New Item". but this code deletes the previous labels 1 to 7. How can I add the 8 code without repeating the 1 to 7 labels? |
Administrator
|
VALUE LABELS obliterates previously existing labels; ADD VALUE LABELS does not.
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
thanks, and to see the codes already defined by synthax? a "print" or a similar concept?
|
Administrator
|
See DISPLAY DICTIONARY.
eg DISPLAY DICTIONARY/VARIABLES <varlist>
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" |
Or, better in many cases, use the CODEBOOK
command as it shows not only the labels but statistics for the data so
you can quickly see any values that do not have labels.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: David Marso <[hidden email]> To: [hidden email] Date: 12/16/2014 08:40 AM Subject: Re: [SPSSX-L] adding a value label item with synthax, if codes are already defined Sent by: "SPSSX(r) Discussion" <[hidden email]> See DISPLAY DICTIONARY. eg DISPLAY DICTIONARY/VARIABLES <varlist> progster wrote > thanks, and to see the codes already defined by synthax? a "print" or a > similar concept? ----- Please reply to the list and not to my personal email. Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/adding-a-value-label-item-with-synthax-if-codes-are-already-defined-tp5728195p5728201.html Sent from the SPSSX Discussion mailing list archive at Nabble.com. ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
Free forum by Nabble | Edit this page |