Select the second option Random sample of cases > click on Sample… button This option allows you to randomly select rows in the data. SPSS Select Cases – Random sample of cases When you run statistics report, you will only find the population size N is only 6. The slash means those rows are excluded in the dataset. Now you can see row 6 and row 8 (salary = 9545) have a slash on the row number. Salary>20000 AND Allowance=0 (0 can represent Null data) You can also use AND OR operator in the Text Box, for example Press Continue button > Press OK button to exit the Select Cases dialog box Select the first option If condition is satisfied > click on If… buttonįor example, if we only want to use data where Salary is larger than 20000, then we type the followings in the text box This option allows you to select data based on criteria. SPSS Select Cases – If condition is satisfied ![]() We will talk about each option in the below section. There are several options in this Select Cases box. In this tutorial, we will talk about the options are available to facilitate data filtering. SPSS has similar function but it is called “ Select Cases“. In Excel, you can apply Autofilter and enter criteria to select data what you want. ![]() This SPSS tutorial explains how to filter data using Select Cases Function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |