|
HI,
I have the following problem:
I have a variable "course" its CASE VALUE goes from 1 to 99, but some
values are not covered within the data. I would like to create FREQUENCIES
of another variable(i.e. "test"). These FREQUENCIES should only contain
cases, which have the value 1 for "course", then those with the value 2 for
"course" and so on.......
I know it does not work with LOOP and DO IF.
Does somebody know another way to solve it?
Thank,
Dmitrij!
P.S:
What I wont in Pseodocode:
do loop while (x=(max(CASE VALUE)from Kurs)-1)
compute x = x+1
do if(kurs=x)
FREQUENCIES
VARIABLES=e1x1x1
/BARCHART FREQ
/ORDER= ANALYSIS
end if
end while
|