I'm thinking they do binary assignments (?) Can't find the examples again and SPSS documentation doesn't have anything. I've seen examples of "COMPUTE" that have two equal's signs. Value labels chol_1 to chol_4 0 "Don't use" 1 "Use" 2 "Don't know".Ĭompute chol_med_1 = sum(chol_1 to chol_4).Ĭompute chol_med_3 = (sum(chol_1 to chol_4) > 0). SPSS Statistics makes different models - HCA. Solution 4 uses IF which is a very simple but must-know command for questions like these.Ġ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MIXED: Getting insufficient memory warning for Repeated Covariance Types Unstructured (UN) and Unstructured Correlation. Solution 3 is rather puzzling but explained in Compute A = B = C. Then change 1, 2, 3 and 4 to 1 and leave 0 as 0 with RECODE as in Now the easiest way is to simply create a variable holding the number of 1's over all medicines. sav format), can also be downloaded using your browser. By Ruben Geert van den Berg on January 13th, 2019įirst off, I'll assume that missing values count as 0, ok?.Report this adTHIS TUTORIAL HAS 9 COMMENTS:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |