Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: R: Adding variable from baseline file into cohort based file


From   "Carlo Lazzaro" <carlo.lazzaro@tin.it>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: R: Adding variable from baseline file into cohort based file
Date   Sat, 29 Mar 2008 09:45:56 +0100

Dear Ziad,

as Svend Juul pointed out in his yesterday's reply, -merge-may be a useful
tool.
Otherwise, provided you have not a different number of id between baseline
and follow-up, files, you can try to copy and paste educ variable (but
results are usually worse than with Svend's solution).

Kind Regards,

Carlo

-----Messaggio originale-----
Da: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di Ziad El-Khatib
Inviato: venerd́ 28 marzo 2008 22.18
A: statalist@hsphsun2.harvard.edu
Oggetto: st: Adding variable from baseline file into cohort based file

Dear STATA lister, it might be very simple question:
 Any tips how I can add a variable, called 'educ' from a baseline file
 'baseline' into follow-up file (cohort based, where patients have been
 followed over 12 months time)?

 Thank you in advance and best regards
 ziad
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index