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
Comparing 2 mean changes per year for statistical difference?Dear Stata users, I have calculated mean changes in eGFR in 2 groups using mixed model. Group 1 me…
How to run Quantile regression with a dependent categorical variableDear all, Is there any way to run Quantile regression using a dependent categorical variable. I hav…
Meta-analysis: inverse variance heterogeneity modelDear all, I am trying to perform a meta-analysis using the inverse variance heterogeneity model as …
cmp for instrumental multinomial probit when there is cluster, baseoutcome, if conditionsI have been running non-instrumental multinomial probit that roughly looks like Code: mprobit Y X…
Using DateTime as Independent Variable - Regression Discontinuity in TimeHi everyone! In the same vein as Davis (http://faculty.haas.berkeley.edu/lda...JPE%202008.pdf), I w…
Subscribe to:
Post Comments (Atom)
0 Response to panel data identify last visit
Post a Comment