|
CHANCES : CR_STR1_TIME
This page last changed on 19.03.2012 by ttuv.
TROMSO_STR1_TIMEName: STR1_TIME Description and values: STR1_TIME gives the length (in days) of the follow-up for a stroke event type 1. Local variable explanation: datoslag: date of stroke event. date_t4: date of examination flyttedato: date of relocation from town/municipality dslag: stroke event dato_dod: date of death SAS code: if sign(datoslag-'31dec2010'd)=1 or sign(date_t4 - datoslag)=1 then do; dslag=.; datoslag=.; end; IF DSLAG = 1 and sign(DATOSLAG-FLYTTEDATO)=1 then do; STR1_EXIT=FLYTTEDATO; end; ELSE IF DSLAG = 1 and .<(DATO_DOD -DATOSLAG)<=28 then do; STR1_EXIT=DATOSLAG; end; else if DSLAG = 1 then do; STR1_EXIT=DATOSLAG; end; else do; STR1_EXIT=min(FLYTTEDATO,dato_dod,'31dec2010'd); end; STR1_TIME=STR1_EXIT-DATE_T4; SHARE_STR1_TIME_alteredSTR1_TIME_altered counts the time until a stroke event occurs. It is calculated by: STR1_EXIT_altered - CONTACT_DATE if STR1_EXIT_altered != . STR1_TIME_altered equals zero for those cases for which no information on the date of event was available and thus STR1_EXIT_altered was set to CONTACT_DATE. STR1_TIME_altered is system missing if no event occured or just a baseline interview was available (and for the time after an event). MORGAM_STR1_TIMEThis is obtained from the MORGAM derived variable STRTIME1.
If STRTIME1 = 88888 or 99999, STR1_TIME is coded "0" . ESTHER_STR1_TIMEstr1_time = str1_exit - contact_date; Variables str_hist2 are CHANCES variables. EPIC_STR1_TIMEDescription: Follow-up time to the first cerebrovascular event type 1 (STR1) Description of variables used: D_RECRUI: Epic Elderly variable that shows the date of recruitment Coding rule: If the date of recruitment and the date of the exit from the cerebrovascular follow up are both available then variable STR1_TIME is produced from the formula: Date of exit from the follow-up for first cerebrovascular event type 1 - Date of recruitment. Stata script: gen STR1_TIME=STR1_EXIT- D_RECRUI if STR1_EXIT~=. & D_RECRUI~=. |
| Document generated by Confluence on 26.02.2015 17:44 |