Displaying 1 result from an estimated 1 matches for "exposure_2".
Did you mean:
  exposure_1
  
2008 Aug 05
2
Selecting Variables
Hi All,
i have a dataset that i want to dynamically inspect for the number of
variables that start with "Exposure_"  and then for these count the entries
across each case i.e
ID Exposure_1 Exposure_2 Exposure_3
1        y                 y                y
2        y                 y                -
3        y                 -                 -
So the corresponding new variables that would be created are
ID Max_Exposure Unique_Exposure
1           3                       3
2           3...