Hello everyone, thank you for the helpful advice in my previous posts.
I would like to create a variable for the maximum number of periods an individual could have participated in a panel.
Given I have refreshment samples, and four panels I already created a variable for number of periods actually participated in.
The structure of the panel is such that in the third period, 1/3 of the initial sample was refreshed.
How can I do this in a quick command?