data list / v1 v2 (a3,x,f3).
begin data
fff 240
rrr 222
rrr 222
ttt 240
sss 240
sss 240
zzz 240
end data.
AGGREGATE OUTFILE * / BREAK v2 v1 / n=n.
FREQ V2.
V2
Frequency Percent Valid Percent Cumulative Percent
Valid
222 1 20.0 20.0 20.0
240 4 80.0 80.0 100.0
Total 5 100.0 100.0
acolmanj wrote
Hi,
I want to build an output where the values are calculated from the count of _unique_ values instead of the normal count all cases.
My raw data would be in the form:
V1_____V2__
fff 240
rrr 222
rrr 222
ttt 240
sss 240
sss 240
zzz 240
And I´d want the count to show..
240 - 4
222 - 1
Seems simple, but I can´t do it !!!
Any help appreciated.
John.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"