Flag or Select Cases
- Exclude "outliers" from analysis
- Flag cases where a given string variable contains a given word
- Flag cases where any of a list of variables have same value
- Flag cases meeting a certain condition as well as preceding and following case for the same person
- Flag cases where salary is in top 95 percentile
- Flag first and last dates (within each ID)
- Keep only duplicate cases
- Print frequency table of the n most (less) frequent items
- Select cases where same letter appears twice in string
- Select patients where drug1 was given before drug2
- Sophisticated search in string variable
Related pages
...