[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Combining two data files and follow-up data in Stata
I currently have 2 data files in Stata - the first
file is the main file with a list of all the subjects
in the study organised by a main_ID number. I have a
second file which contains follow-up data - with each
entry representing one follow-up visit. That file is
sorted by the main_ID also but because each patient
has more than 1 follow-up visit, there might be
multiple entries per main_ID.
1. How do I combine these two data files using main_ID
as the common variable?
2. How can I combine the follow-up data such that I
have one 1 record for each main_ID number which lists
the outcome at each follow-up visit?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: