LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 30 Aug 2005 10:01:37 +0200
Reply-To:     Spousta Jan <JSpousta@CSAS.CZ>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Spousta Jan <JSpousta@CSAS.CZ>
Subject:      Re: Converting SPSS value labels to SAS format
Comments: To: Parveen Sharma <parveen.sharma@gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi Parveen,

It really seems like a bug in SPSS. I am sorry, you must edit it by hand.

Btw. the labels in SPSS seems very strange - you will be not able to distinguish the values e.g. 3 and 7 in the output. Moreover, SAS formats work in another way than SPSS labels and SAS will probably group all values with the same label in one group.

Much better seems to have labels like x1a 0 "Very Dissatisfied" 1 "1" 2 "2" etc.

And this will probably solve the problems caused by the bug.

Greetings

Jan

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Parveen Sharma Sent: Monday, August 29, 2005 5:29 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: Converting SPSS value labels to SAS format

Hi Jan, I tried doing this but i get the following: value x1a 0 = 'Very Dissatisfied' 0 = 'Very Dissatisfied' 0 = 'Very Dissatisfied' 0 = 'Very Dissatisfied' 0 = 'Very Dissatisfied' 5 = 'Neither' 0 = 'Neither' 0 = 'Neither' 0 = 'Neither' 0 = 'Neither' 10 = 'Very Satisfied' ; Instead my value labels in SPSS are: x1a 0 "Very Dissatisfied" 1 " " 2 " " 3 " " 4 " " 5 "Neither" 6 " " 7 " " 8 " " 9 " " 10 "Very Satisfied"/

Any insights why this is happening. I think because of blanks. Regards, Parveen On 8/29/05, Spousta Jan <JSpousta@csas.cz> wrote: > > Hi Parveen, > > * File -> Save As... > * select the sas7bdat type of file, write a name of saved file > * check the box "save value labels into a sas file" - it will create > the file with labels for you > > Greetings > > Jan > > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf > Of Parveen Sharma > Sent: Monday, August 29, 2005 4:47 PM > To: SPSSX-L@LISTSERV.UGA.EDU > Subject: Converting SPSS value labels to SAS format > > Dear list, > I am trying to convert SPSS dataset to SAS format. The only problem I > am having is to convert value labels from SPSS to SAS format. > Do we have any utilities or easy methods to convert SPSS value labels > to SAS format? The only way for me is to manually code value labels in

> SAS format. > Regards, > Parveen >

-- __________________________ Parveen Sharma Ph: 9899790674 (Delhi)


Back to: Top of message | Previous page | Main SPSSX-L page