|
This page last changed on 25.09.2014 by ttuv.
EPIC_OSTEOP_AGE_PREV
Variable OSTEOP_AGE_PREV shows age at diagnosis of prevalent osteoporosis. it is created from the variables and coding rules written below.
Var definitions:
A_OSTEOP: EPIC elderly Greece variable showing age at diagnosis (in years) of osteoporosis
AGE_RECR_TR: EPIC elderly Greece variable showing age at recruitment
OSTEOP_PREV_FIRST: self reported diagnosis of osteoporosis recorded at the baseline
Coding rule:
Variable OSTEOP_AGE_PREV is identical to A_OSTEOP, for the self reported cases of prevalent osteoporosis.
Furthermore OSTEOP_AGE_PREV is coded as 999, if the age at ostoeporosis diagnosis is unavailable.
OSTEOP_AGE_PREV is equal to the age at recruitment (AGE_RECR_TR), for cases of incident osteoporosis.
Coding rule in STATA:
-gen OSTEOP_AGE_PREV= A_OSTEOP if OSTEOP_PREV_FIRST==1
-replace OSTEOP_AGE_PREV=999 if OSTEOP_AGE_PREV==.
-replace OSTEOP_AGE_PREV=AGE_RECR_TR if AGE_RECR_TR<A_OSTEOP & A_OSTEOP~=.
|