Date: Wed, 5 Dec 2007 20:06:22 -1000
Reply-To: Bob Schacht <schacht@hawaii.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bob Schacht <schacht@hawaii.edu>
Subject: Re: Value Label problem
In-Reply-To: <002401c837b3$c46d24e0$4d476ea0$@com>
Content-Type: text/plain; charset=us-ascii; format=flowed
At 04:57 PM 12/5/2007, ViAnn Beadle wrote:
>So what is the prior command to this. Is it a VALUE LABELS command and is it
>terminated with a period?
Good thought, but in this case, I ran the command isolated-- there was no
prior command. That is, I highlighted those lines of my syntax file, and
from the menu chose "Run/selection".
However, I did notice that as SPSS was running the command, the highlighted
portion of the file briefly expanded to include the previous 10 lines or
so, and then shrunk back to the originally highlighted lines. Does that
mean that even though those lines were not selected by me, they were run
anyway? I'll look tomorrow when I'm back at work and can see the file again.
Thanks,
Bob
>-----Original Message-----
>From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Bob
>Schacht
>Sent: Wednesday, December 05, 2007 7:51 PM
>To: SPSSX-L@LISTSERV.UGA.EDU
>Subject: Value Label problem
>
>I have two variables that are almost identical in format
> * Employment status at application (EMPSTAT), Numeric width = 2
> * Employment status at closure (CLOEMPST), Numeric, width = 1
>
>I use the following VALUE LABELS command:
>
>VALUE LABELS
> CLOEMPST 1 'Employed, no supports, integrated' 2 'Extended
>employment' 3 'Self-Employed (not BEP)'
> 4 'BEP' 5 'Homemaker' 6 'Unpaid Family Worker' 7 'Employed
>with supports, integrated'/
> EMPSTAT 1 'Employed, no supports, integrated' 2 'Extended employment'
>3 'Self-Employed (not BEP)'
> 4 'BEP' 5 'Homemaker' 6 'Unpaid Family Worker' 7 'Employed
>with supports, integrated'
> 8 'Secondary Student' 9 'Other students' 10 'Trainee or
>Intern' 11 'Other Not employed'/
> SUPPORT CLOSSUPP '1' 'Personal Income' '2' 'Family & Friends' '3'
>'Public support' '4' 'All other'/.
>
>With the following result that looks peculiar to me:
>
> >The (ADD) VALUE LABELS command specifies an unknown variable name. The
> >name will be ignored.
>
> >The error is associated with 'VALUE'
>
> CLOEMPST 1 'Employed, no supports, integrated' 2 'Extended
>employment' 3 'S
> elf-Employed (not BEP)'
>
> >Warning # 4474. Command name: VALUE LABELS
> >The (ADD) VALUE LABELS command specifies an unknown variable name. The
> >name will be ignored.
>
> >The error is associated with 'LABELS'
>
> 4 'BEP' 5 'Homemaker' 6 'Unpaid Family Worker' 7 'Employed
>with sup
> ports, integrated'/
> EMPSTAT 1 'Employed, no supports, integrated' 2 'Extended employment'
>3 'Se
> lf-Employed (not BEP)'
> 4 'BEP' 5 'Homemaker' 6 'Unpaid Family Worker' 7 'Employed
>with sup
> ports, integrated'
> 8 'Secondary Student' 9 'Other students' 10 'Trainee or
>Intern' 11 '
> Other Not employed'/
> SUPPORT CLOSSUPP '1' 'Personal Income' '2' 'Family & Friends' '3'
>'Public s
> upport' '4' 'All other'/.
>
>The syntax editor is recognizing a VALUE LABELS command, but then parses
>"VALUE" and "LABELS" separately and is parsing the line in a way that I
>find baffling. I would be grateful to the one who explains my error to me.
>What am I not seeing?
>
>Thanks,
>Bob Schacht
>
>Robert M. Schacht, Ph.D. <schacht@hawaii.edu>
>Pacific Basin Rehabilitation Research & Training Center
>1268 Young Street, Suite #204
>Research Center, University of Hawaii
>Honolulu, HI 96814
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>LISTSERV@LISTSERV.UGA.EDU (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
LISTSERV@LISTSERV.UGA.EDU (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
|