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
Use the lastvar local to read v1 v2 v3 variables from insheet with numeric namesI am reading in GIS data provided by a soil scientist on my research team that is exported to csv fi…
Overlapping values on y axis in Stata graphArray Hi, is there a way to avoid overlapping of numbers on the y axis …
New version of xcontract )AGAIN) on SSCThanks once again to Kit Baum, a new version of the xcontract package (superseding yesterday's versi…
Median, Tercile and QuartileHi, I want to create dummy variables based on the median. Sometiems I do that based on quartile and …
Outreg2 to Excel R(198) error diagnosisI am trying to run the below code in STATA 16.1. STATA is fully updated, and I've uninstalled and re…
Subscribe to:
Post Comments (Atom)
0 Response to Merging long format or longitudinal datasets
Post a Comment