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 (March 1996)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 26 Mar 1996 12:43:08 EDT
Reply-To:     pss@VMS.CIS.PITT.EDU
Sender:       "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From:         pss@VMS.CIS.PITT.EDU
Organization: University of Pittsburgh
Subject:      Re: Creating duplicate set of variables

jpjohn@ix.netcom.com (James P. (Pat) Johnson) writes: > I am writing a syntax file to score a questionnaire which has 240 > items (Q1 to Q240). The items are scored 1 for true and 2 for false. > I want to preserve these items and create a duplicate set of > additional variables, say QQ1 to QQ240 with identical values as the > first set.

The way to do it would be:

DO REPEAT R = QQ1 TO QQ240 /X = Q1 TO Q240. COMPUTE R = X. END REPEAT.

Phil Sidel

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Philip S. Sidel Academic Computing Specialist: 2R26 Forbes Quad Research Computing Support Group University of Pittsburgh Coordinator: Pittsburgh, PA 15260 SPSS, LIMDEP, STATA, SYSTAT, EQS, TSP Phone: (412)648-7384 email: sidel@vms.cis.pitt.edu sidel+@pitt.edu


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