|
CHANCES : CR_SMO_YRS
This page last changed on 19.03.2012 by ttuv.
TROMSO_SMO_YRSVariables SMO_STAT_DAILY, SMO_START, SMO_STOP, and CONTACT_AGE are the CHANCES variables. SAS code: If SMO_STAT_DAILY EQ 1 then SMO_YRS = 0; Else if SMO_STAT_DAILY EQ 9 or SMO_START EQ 9999 then SMO_YRS = 9999; Else if SMO_STAT_DAILY EQ 2 and SMO_STOP NE 9999 and SMO_STOP >= SMO_START then SMO_YRS = SMO_STOP - SMO_START; Else if SMO_STAT_DAILY EQ 2 and SMO_STOP NE 9999 and SMO_STOP < SMO_START then SMO_YRS = 9999; Else if SMO_STAT_DAILY EQ 2 and SMO_STOP EQ 9999 then SMO_YRS = 9999; Else if SMO_STAT_DAILY EQ 3 then SMO_YRS = CONTACT_AGE - SMO_START; If SMO_YRS < 0 then SMO_YRS=9999; SHARE_SMO_YRSSMO_YRS is derived from SHARE variable br003 BR003_ HOW MANY YEARS SMOKED SENECA_SMO_YRSContact round 1: SMO_YRS is based on SMO_STAT_DAILY and SENECA variable SMOKEYRS (“Number of years smoking”) IF SMO_STAT_DAILY=1 THEN SMO_YRS=0; ELSE IF SMO_STAT_DAILY IN(2,3) AND SMOKEYRS NE . THEN SMO_YRS=SMOKEYRS; ELSE IF SMO_STAT_DAILY IN(2,3) AND SMOKEYRS=. THEN SMO_YRS=.; ELSE IF SMO_STAT_DAILY IN(9) THEN SMO_YRS=.; Contact round 2: SMO_YRS is based on SMO_STAT_DAILY and SENECA variable FMOKEYR (“Number of years smoking”) IF SMO_STAT_DAILY=1 THEN SMO_YRS=0; ELSE IF SMO_STAT_DAILY IN(2,3) AND FSMOKEYR NE . THEN SMO_YRS=FSMOKEYR; ELSE IF SMO_STAT_DAILY IN(2,3) AND FSMOKEYR=. THEN SMO_YRS=.; ELSE IF SMO_STAT_DAILY IN(9) THEN SMO_YRS=.; Contact round 3: SMO_YRS is not available for contact round 3.
MORGAM_SMO_YRSThe SMO_YRS variable is defined using the MORGAM derived variable CIGYRS and the CHANCES variable SMO_STAT_DAILY. CIGYRS Years of daily cigarette smoking before baseline
HAPIEE_SMO_YRSBased on HAPIEE baseline variables, l39 for current smoking status, l41, age at which current and past smokers started smoking, and l42, age at smoking cessation for past smokers. Contact_age is a CHANCES variable, based on HAPIEE variable age, rounded to the nearest integer. l39 "Do you smoke cigarettes?" 1 "Yes, regularly, at least 1 cigarette a day" replace l42=. if l42==.c ESTHER_SMO_YRSif smo_yrs = . then smo_yrs = 9999; Source of smo_yrs are the variables L41RAU2 from the participant's questionnaire and contact_age (CHANCES variable). EPIC_SMO_YRSThe variables DUR_SMOK and SMOKE_STAT_DAILY were used for the production of SMO_YRS according to the following definition and rule. EPIC var definition(s): DUR_SMOK: Epic elderly variable showing duration of smoking in years SMOKE_STAT_DAILY: Epic elderly variable showing current daily smoking status (1=never daily smoker , 2=former daily smoker, 3=daily smoker, 9=unknown) Coding rule: Is identical to DUR_SMOK. Is equal to 0 if the person has never been a daily smoker (SMO_STAT_DAILY=1) Otherwise SMO_YRS is coded as missing if the person's current daily smoking status is unavailable (SMO_STAT_DAILY=9) and for the rest of the cases. Coding rule in STATA: -gen SMO_YRS=DUR_SMOK -replace SMO_YRS= 9999 if SMO_STAT_DAILY==9 -replace SMO_YRS= 0 if SMO_STAT_DAILY==1 -replace SMO_YRS= 9999 if SMO_YRS==. |
| Document generated by Confluence on 26.02.2015 17:39 |