| Date: | Thu, 25 Feb 1999 21:23:13 +1000 |
| Reply-To: | Peter Newcombe <newc@PSY.UQ.EDU.AU> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU> |
| From: | Peter Newcombe <newc@PSY.UQ.EDU.AU> |
| Organization: | University of Queensland |
| Subject: | Help with syntax |
|---|
Dear group
Could someone help with this syntax task: We have 10 variables where each
represents a tourist stop that people have taken on trips throughout their
travels (eg Stop 1 where they stayed the 1st night, stop 2 where they stayed
the 2nd night and so on). For each of these variables there are 30 possible
destinations (these same 30 are value labels for each of the stops). We
would like to gain data relevant to the number of times people travelled
from point A to Point B (regardless of whether it may have been from Stop 1
to 2 or Stop 9 to 10) as well as times (ie frequency of trips) travelled
from Point B to Point A. Further this needs to be repeated for all possible
combinations within the 30 destinations (= 465 combinations). Is there some
syntax command that might abbreviate this task (perhaps LOOP or VECTOR?)
--
Dr Peter Newcombe
School of Psychology
University of Queensland
Australia 4072
newc@psy.uq.edu.au
|