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
understanding a treatment effect with group fixed effectsI am trying to understand why the effect of a treatment variable in a regression changes when a) inc…
An error "plugin not loaded or not available: use the adoonly option" accur after "ml maximize"I am trying to learn how to use mdraws by Cappellari and Jenkins.When replicating the example test_t…
Asdoc error in tabulation with Freq=1Hi all, I am having problems with asdoc when exist frequency=1, I know that its a naive question bu…
Time-varying Covariate with Competing RisksHello, I have to study the relationship between a drug exposure and outcomes, adjusting for other c…
Error r(43) convergence not achieved. CFA, SEM, estat gofHi, I have a dataset with 12 ordinal variables of 4 categories. I use SEM command to perform CFA and…
Subscribe to:
Post Comments (Atom)
0 Response to panel data identify last visit
Post a Comment