Hello,
I have to significantly modify a database that we have in order to correctly transform it for analysis. I am so far stumped, and cant seem to find what I should be doing in the help resources. I've attached a screenshot of a sample of the data that I am working with. For every person record (PER_REC) I need to identify the last (max value) occurrence of the activity sequence (ACT_SEQ), and then assign that last occurrence a DEP_time of 259. I was originally looking at the FAQ's for instructions on identify the last or first occurrence of panel data, but the examples did not seem correct for my application. Any help would be appreciated,
Thanks,
​Robert
I have to significantly modify a database that we have in order to correctly transform it for analysis. I am so far stumped, and cant seem to find what I should be doing in the help resources. I've attached a screenshot of a sample of the data that I am working with. For every person record (PER_REC) I need to identify the last (max value) occurrence of the activity sequence (ACT_SEQ), and then assign that last occurrence a DEP_time of 259. I was originally looking at the FAQ's for instructions on identify the last or first occurrence of panel data, but the examples did not seem correct for my application. Any help would be appreciated,
Thanks,
​Robert
Comment