This page last changed on 27.08.2013 by ttuv.

TROMSO_STR1_AGE

Name: STR1_AGE

Description and values:

STR1_AGE gives the age (in years) at the time of exit from the follow-up of a stroke event type 1.

The variable has no missing values.

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_AGE=year(FLYTTEDATO) - year(fdato);

end;

ELSE IF DSLAG = 1 and .<(DATO_DOD -DATOSLAG)<=28 then do; 

STR1_AGE=year(DATOSLAG) - year(fdato);

end;

else if DSLAG = 1 then do;

STR1_AGE=year(DATOSLAG) - year(fdato);

end;

else do;

STR1_AGE=year(min(FLYTTEDATO,dato_dod,'31dec2010'd)) - year(fdato);

end;


SHARE_STR1_AGE_altered

STR1_AGE_altered is calculated by CONTACT_AGE +(STR1_TIME_altered/365.25) if STR1_TIME_altered !=.

It is . = system missing if no event occured or just a baseline interview was available and for waves/the time after the event.


MORGAM_STR1_AGE

This was obtained from the MORGAM derived variable STRAGE1.

  STRAGE1 Age at the time of exit under STROKE1 (in years)
888.88 = irrelevant
999.99 = insufficient data

If STRAGE1 = 888.88 or 999.99, CONTACT_AGE is coded for STR1_AGE.


EPIC_STR1_AGE

Description:

Age at the time of exit from follow-up for cerebrovascular event type 1 (STR1).

Coding rule:

If the age at the point of recruitment and the follow up time to the first cerebrovascular event are both available, then variable STR1_AGE is created after this formula: age at recruitment + (follow up time, in days, to first cerebrovascular event/number of days in one year)

Stata script:

gen STR1_AGE= AGE_RECR+ (STR1_TIME/365.25) if AGE_RECR~=. & STR1_TIME~=.


Document generated by Confluence on 26.02.2015 17:41