Derivation
variable: smokestest [decade estimate of smoking stop] (table[s]: tb_tbx, tb_tbxto2007, tbold_part1/2, tb_tbo, tb_tboto2007, tbold_control)
variable: smokestop [year estimate of smoking stop] (table[s]: tb_tbx, tb_tbxto2007, tbold_part1/2, tb_tbo, tb_tboto2007, tbold_control)
replace smokestop=1895 if smokestest==1
replace smokestop=1905 if smokestest==2
replace smokestop=1915 if smokestest==3
replace smokestop=1925 if smokestest==4
replace smokestop=1935 if smokestest==5
replace smokestop=1945 if smokestest==6
replace smokestop=1955 if smokestest==7
replace smokestop=1965 if smokestest==8
replace smokestop=1975 if smokestest==9
replace smokestop=1985 if smokestest==10
replace smokestop=1995 if smokestest==11
replace smokestop=1895 if smokestest==12
replace smokestop=1907 if smokestest==13
replace smokestop=1924 if smokestest==14
replace smokestop=1940 if smokestest==15
replace smokestop=1951 if smokestest==16
replace smokestop=1960 if smokestest==17
replace smokestop=1970 if smokestest==18
recode smokestop 0=.