Dear All,
Trying to merge two longitudinal datasets is repeatedly giving following errors:
1) variable ptno does not uniquely identify observations in the using data
2) variable ptno does not uniquely identify observations in the master data
But I could merge these datasets without any hassles in SPSS. I need to do the same thing in the Stata. Please see the attached examples of datasets. Thank you
Related Posts with Merging long format or longitudinal datasets
Mundlak Correction for Logit/ Probit ModelHi everyone, I am wondering if there are any direct commands for the Mundlak Correction for Logit M…
Survey data - using command svyHello, I´m using a survey data (example below). I´m trying to understand the number of individuals …
How to add more decimal points to p-values?Hi everyone! I'm running several logistic regressions and I was wondering if there was any way to ge…
Non-Inferiority between two groups with no differenceThe statistical analysis I am wanting to run is for a non-inferiority study design, where treatment …
copy variable labelsHi Statalist, apologies if I missed this question. I tried most suggestions on here, unfortunately I…
Subscribe to:
Post Comments (Atom)
0 Response to Merging long format or longitudinal datasets
Post a Comment