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 (June 2004)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Jun 2004 20:07:44 -0400
Reply-To:     Raynald Levesque <rlevesque@videotron.ca>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Raynald Levesque <rlevesque@videotron.ca>
Subject:      Re: Error with Casestovars command
In-Reply-To:  <000b01c45456$167e67c0$0501a8c0@lavolta.ch>
Content-type: text/plain; charset=iso-8859-1

Hi

For an exemple of solution, see file#2 of http://pages.infinit.net/rlevesqu/SampleSyntax.htm#SelfAdjustingSyntax

HTH

Raynald Levesque rlevesque@videotron.ca Visit my SPSS site: http://pages.infinit.net/rlevesqu/

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of la volta statistics Sent: June 17, 2004 6:30 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Error with Casestovars command

Dear all

I have problem with the CASESTOVARS command. When I use the command for a file that happens to have only one case I get an error when I subsequently want to compute a new variable (see syntax below). I know this is a rare case, but since I create the data file dynamically, I do not know beforehand if only one or more cases are available. Has anybody found a solution for this problem.

DATA LIST /ID 2 TIME 5-11 (A) SCORE 13-14. begin data. 1 before 73 end data.

LIST.

SORT CASES BY ID TIME . CASESTOVARS /ID = ID /INDEX = TIME /GROUPBY = VARIABLE.

Compute dummy = 1. Exec.

Thanks in advance, Christian

******************************* la volta statistics Christian Schmidhauser, Dr.phil.II Weinbergstrasse 108 Ch-8006 Zürich Tel: +41 (043) 233 98 01 Fax: +41 (043) 233 98 02 mailto:schmidhauser@lavolta.ch


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