This sounds interesting. Can you please translate this into a
practical example because I don't understand all of your moves ?
Cheers,
ftr
On 09/01/2015 21:21, Frans Houweling
wrote:
Hi Matthias,
I use good ol' (SPSS 14) TABLES, so I don't usually save MRSETS
but define them on the fly with /MRGROUP; I guess CTABLES give
similar results.
Often I prefer to translate my MR variables to MD format like this
(suppose codes with max code 100, and suppose max 10 answers):
VECTOR bin (100) /* max code */.
DO REPEAT mr = mr1 TO mr10 /* input vars */.
+ DO IF NOT MISSING(mr).
+ COMPUTE bin(mr) = 1.
+ END IF.
END REPEAT.
RECODE bin1 TO bin100 /* max code again */ (SYSMIS=0) (1=1) /*
or for readability (1=100) */.
The tedious part is converting VAL LAB 1 "Alfa Romeo" 2 "Audi"
etc. into VAR LAB bin1 "Alfa Romeo" /bin2 "Audi" etc., but once
this is done you can use MEANS or DESCRIPTIVES in combination with
SPLIT FILE to live without (C)TABLES and without SPSS(C).
HTH
frans
On 08/01/2015 21:44, Matthias Faeth
wrote:
Yes I could use count, but the problem with open
questions is that I usually have a codeplan with up to 100
codes. That makes it tedious to use your solution. And it
would not produce 1 comprehensive table.
_______________________________________________
Pspp-users mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-users
_______________________________________________
Pspp-users mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-users
|