|
Dear All,
In a datafile, we have "X" variable with 5 mentions (X1, X2,X3,X4,X5). X1 to X4 has 20 valid value labels.Whereas X5 has 10 valid value labels. To provide total mention table for X1 to X4, we are using MRSETS (MCGROUP) & CTABLES and correct results. But if we add X5 variable to get the total mentions, we are getting "Two or more set variables use conflicting labels for the same data value" warning. Could any one suggest alternative for MRSETS or solution to get rid of "conflicting labels" with out recoding X5 (or giving same value labels to all mentions X1 to X5). Thanks in Advance, Sneha |
|
Not sure if this will help, but if the values for X5 indicate the same categories as for X1 to X4 (only the labels are different) you can use the MULT RESPONSE command. For example, try the following syntax: * MULT RESP takes labels from first variable only: substitute your own value for <maxval>. MULT RESP mcgroup2 (x1 to x5 (1, <maxval>) /freq mcgroup2. If you wish to tabulate the group variable by other variables (or by itself): MULT RESP mcgroup2 (x1 to x5 (1, <maxval>) /variables = sex (1,2) /tables = mcgroup2 by sex mcgroup2. Note that lower and upper limits have to be specified for any variables used. See my page 3.3 Multiple response for tutorials and worked examples: http://surveyresearch.weebly.com/33-multiple-response-mult-response.html John F Hall (Mr) [Retired academic survey researcher] Email: [hidden email] Website: www.surveyresearch.weebly.com SPSS start page: www.surveyresearch.weebly.com/1-survey-analysis-workshop -----Original Message----- Dear All, In a datafile, we have "X" variable with 5 mentions (X1, X2,X3,X4,X5). X1 to X4 has 20 valid value labels.Whereas X5 has 10 valid value labels. To provide total mention table for X1 to X4, we are using MRSETS (MCGROUP) & CTABLES and correct results. But if we add X5 variable to get the total mentions, we are getting "Two or more set variables use conflicting labels for the same data value" warning. Could any one suggest alternative for MRSETS or solution to get rid of "conflicting labels" with out recoding X5 (or giving same value labels to all mentions X1 to X5). Thanks in Advance, Sneha -- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Alternative-for-MRSETS-MCGROUP-or-how-to-get-rid-of-conflicting-labels-warning-tp5731660.html Sent from the SPSSX Discussion mailing list archive at Nabble.com. ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by snehachidire
If the value labels actually conflict, this indicates a potential problem in that the codes have different meaning in different variables and, therefore, should not be combined. If you want to define the set this way anyway, you can do this in syntax, but be careful with the CTABLES results. On Thu, Mar 3, 2016 at 10:21 PM, snehachidire <[hidden email]> wrote: Dear All, |
| Free forum by Nabble | Edit this page |
