|
From: | Frans Houweling |
Subject: | Re: multiple response set |
Date: | Fri, 09 Jan 2015 21:21:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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:
|
[Prev in Thread] | Current Thread | [Next in Thread] |