![]() For example, if you just wanted to select cases in which your variable 'v1' contained the values of '1,' '2,' or '3,' your Expression box should look something like, 'ANY(v1,1,2,3). If you have more than two values, you can specify those values by specifying a comma after each value. SPSS Tutorials: Date-Time Variables in SPSS This tutorial covers how SPSS treats Date-Time variables, and how to use the Date & Time Wizard to create and compute variables using dates and times. ![]() Tweets and select all twitter documents that you would like to include in your. You would click on the 'ANY' function in the function box within the 'If condition is satisfied' box within Select cases and replace the first question mark with your variable name and then replace the next two question marks with your two values. In this Methods Bites Tutorial, Andreas Kpfer (Technical University of. For example, if your variable were called 'v1' and you wanted to select cases for which 'v1'='1' and 'v1' = '2,' your Expression box within Select Cases should indicate, 'v1=1 OR v1=2.' The 'ANY' function also accomplishes the same result. If you would like to specify a condition for just one variable in which you want to select cases based on two or more values within that variable, you need to use the 'OR' function or use the 'ANY' function. The 'AND' function in the Select Cases within SPSS is used to specify a condition for 2 or more separate variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |