I just ran a command to get rid of some erroneously applied value labels. val lab var155 var225 var317 var324 var611 var617 var739 to var751 (). It’s an old trick and it worked, but I got a warning message from SPSS. Warning # 4493 in column 70. Text: ) The (ADD) VALUE LABELS command includes a symbol other than a value (either numeric or string) following a left parenthesis. All value labels up to the next slash will be ignored. Incidentally, why won’t the GUI let me delete value labels? It always keeps at least one. John F Hall (Mr) [retired academic survey researcher] Email: [hidden email] Website: www.surveyresearch.weebly.com |
Administrator
|
John, why do you have the parentheses? I think it should just be:
VALUE LABELS var155 var225 var317 var324 var611 var617 var739 to var751. Perhaps you're thinking of how one would use MISSING VALUES to get rid of all user-defined missing values. E.g., MISSING VALUES var155 var225 var317 var324 var611 var617 var739 to var751 (). HTH.
--
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/). |
Bruce
You're absolutely right, but it worked anyway. That's what comes of relying on long distant memories. Nice trick to remember as it's not specifically mention in the FM, only implied. The FM states that VALUE LABELS deletes all labels for variables in the list. However on checking -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Bruce Weaver Sent: 08 March 2013 14:35 To: [hidden email] Subject: Re: Warning # 4493 for value labels John, why do you have the parentheses? I think it should just be: VALUE LABELS var155 var225 var317 var324 var611 var617 var739 to var751. Perhaps you're thinking of how one would use MISSING VALUES to get rid of all user-defined missing values. E.g., MISSING VALUES var155 var225 var317 var324 var611 var617 var739 to var751 (). HTH. John F Hall wrote > I just ran a command to get rid of some erroneously applied value labels. > > val lab var155 var225 var317 var324 var611 var617 var739 to var751 (). > > It's an old trick and it worked, but I got a warning message from SPSS. > > > Warning # 4493 in column 70. Text: ) > The (ADD) VALUE LABELS command includes a symbol other than a value > (either numeric or string) following a left parenthesis. All value > labels up to the next slash will be ignored. > > Incidentally, why won't the GUI let me delete value labels? It always > keeps at least one. > > John F Hall (Mr) > [retired academic survey researcher] > > Email: <mailto: > johnfhall@ > > > johnfhall@ > Website: <http://surveyresearch.weebly.com/> > www.surveyresearch.weebly.com ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Warning-4493-for-value-labels- tp5718479p5718481.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 |
In reply to this post by Bruce Weaver
Bruce
Previous reply sent prematurely ([ctrl=enter?]) You're absolutely right, but it worked anyway. That's what comes of relying on long distant memories from 40 years ago. Nice trick to remember as it's not specifically mention in the FM, only implied. The FM states that VALUE LABELS deletes all labels for variables in the list. However I did learn one new thing: using \n in long labels forces a wrap. I never knew that. John -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Bruce Weaver Sent: 08 March 2013 14:35 To: [hidden email] Subject: Re: Warning # 4493 for value labels John, why do you have the parentheses? I think it should just be: VALUE LABELS var155 var225 var317 var324 var611 var617 var739 to var751. Perhaps you're thinking of how one would use MISSING VALUES to get rid of all user-defined missing values. E.g., MISSING VALUES var155 var225 var317 var324 var611 var617 var739 to var751 (). HTH. John F Hall wrote > I just ran a command to get rid of some erroneously applied value labels. > > val lab var155 var225 var317 var324 var611 var617 var739 to var751 (). > > It's an old trick and it worked, but I got a warning message from SPSS. > > > Warning # 4493 in column 70. Text: ) > The (ADD) VALUE LABELS command includes a symbol other than a value > (either numeric or string) following a left parenthesis. All value > labels up to the next slash will be ignored. > > Incidentally, why won't the GUI let me delete value labels? It always > keeps at least one. > > John F Hall (Mr) > [retired academic survey researcher] > > Email: <mailto: > johnfhall@ > > > johnfhall@ > Website: <http://surveyresearch.weebly.com/> > www.surveyresearch.weebly.com ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Warning-4493-for-value-labels- tp5718479p5718481.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 |