// Create an indicator of having high blood presure at Wave 12
genl_high_bp=.
replacel_high_bp=1ifl_hcondncode16==1&l_hcondns16==1// Code as 1 for continuing respondents with newly diagnosed high blood pressure who still had it
replacel_high_bp=1ifl_hcondp16==1// Code as 1 for continuing respondents who reported high blood presure before Wave 12 and still had it
replacel_high_bp=1ifl_hcondcode16==1&l_hconds16==1// Code as 1 for new respondents who reported high blood pressure and still had it
replacel_high_bp=0if!(l_hcondncode16==1&l_hcondns16==1)&l_hcondp16!=1&!(l_hcondcode16==1&l_hconds16==1)// Code as 0 everyone who does not meet any of the above conditions
// Tabulate the variable indicating having high blood presure at Wave 12 against the Wave 13 m_prevhcondno16 variable
tabm_prevhcondno16l_high_bp
// 268 respondents who had high blood pressure at Wave 12 are coded as inapplicable for the m_prevhcondno16 variable