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 2000)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 12 Jun 2000 11:53:47 GMT0BST
Reply-To:     PAUL MCGEOGHAN <Mcgeoghan@CARDIFF.AC.UK>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         PAUL MCGEOGHAN <Mcgeoghan@CARDIFF.AC.UK>
Subject:      loop syntax

Hi,

I am trying to produce some syntax which will do a number of scatterplots with the same dependent Y variable each time plotted against a number of X variables which are adjacent to each other in the dataset.

I have produced some simple syntax which I thought would do this: LOOP #I=SALBEGIN TO PREVEXP. GRAPH /SCATTERPLOT(BIVAR)=salbegin WITH #I /MISSING=LISTWISE . END LOOP.

Is this possible to do and why does the above give me the following error: Error # 4095. Command name: GRAPH >The transformations program contains an unclosed LOOP, DO IF, or complex >file structure. Use the level-of-control shown to the left of the SPSS >commands to determine the range of LOOPs and DO IFs. >This command not executed.

Thanks in advance, Paul

----------------------------------------------- Paul McGeoghan Application Support Specialist (Statistics and databases support) Information Services Cardiff University 40-41 Park Place CARDIFF (029) 20875035


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