Hi all,
I'm a very green stata user and not even sure where to begin with my datasets. I have two datasets that ostensibly collect the same data - testing events for unique individuals over time - but were captured in different ways. One data set, lets call it the master, has data (mainly date and test outcome) for each testing event by unique ID. The other data set also records same testing events by same IDs and has other demographic etc info that I want to use. However, the testing date and outcome data in the second dataset is less reliable, so what I want to do is to 'attach' the demographic data and variables from the second data base to the testing info (date, outcome) in the master by the unique id. The other issue is not all of the records in the master data appear in the second dataset.
So beyond identifying what I need to do, I have zero idea how to enact this. Can anyone point me in the right direction, even by suggesting the commands I might use so I can do some more targeted googling?
Many thanks!
I'm a very green stata user and not even sure where to begin with my datasets. I have two datasets that ostensibly collect the same data - testing events for unique individuals over time - but were captured in different ways. One data set, lets call it the master, has data (mainly date and test outcome) for each testing event by unique ID. The other data set also records same testing events by same IDs and has other demographic etc info that I want to use. However, the testing date and outcome data in the second dataset is less reliable, so what I want to do is to 'attach' the demographic data and variables from the second data base to the testing info (date, outcome) in the master by the unique id. The other issue is not all of the records in the master data appear in the second dataset.
So beyond identifying what I need to do, I have zero idea how to enact this. Can anyone point me in the right direction, even by suggesting the commands I might use so I can do some more targeted googling?

Many thanks!
Comment