Hi all,
I am working on a database where each subject is identified by -id- and each visit by -visit-. The data are long. There are several visits for each id.
I am struggling finding a code to specifically identify the last visit for each subject. Of course, they don't have the same numbers of visits. I think very easy but ii can't find how to do that.
Thank you very much in advance,
CLY
Related Posts with panel data identify last visit
How to identify ID_code from _NHallo Statalists. I have the following question for you. Take the following two variables, id_code …
Heckman correctionHello, is there a possibility to include an if condition in the Heckman correction? I am currently…
Diff-in-Diff at district level with a Pseudo PanelDear all, I currently try to carry out a diff-in-diff analysis under the use of two cross-sectional…
Replacing ID on different dataHello, I am having 2 different data file from excel. This is data A (general data) Code: . list id…
Panel-data mixed logit: repeated choices under different circumstancesHi Statalist, Using the panel-data mixed logit choice model – cmxtmixlogit – one can take into acco…
Subscribe to:
Post Comments (Atom)
0 Response to panel data identify last visit
Post a Comment