I have a data like the one below. For each person (with ID), he went to either cinema (1,2) at different time. Just ignore the variable date. I want to know how a program can be developed in the DATA step to resolve the following question:
Get a summary for each person (ID) in terms of their frequency of visit to the two cinemas, using only the DATA step?