@@ -1408,6 +1408,31 @@ gen econ_benefits_uc=econ_benefits
14081408replace econ_benefits_uc= 0 if benefits_uc== 0
14091409label var econ_benefits_uc " Household income includes UC benefits"
14101410
1411+
1412+ /* **************************** Financial Distress ***************************************************************************/
1413+ // This is a measure of subjective financial distress, corresponding to answering 4 or 5 to the question below:
1414+ // How well would you say you yourself are managing financially these days? Would you say you are...
1415+ // 1. Living comfortably
1416+ // 2. Doing alright
1417+ // 3. Just about getting by
1418+ // 4. Finding it quite difficult
1419+ // 5. Finding it very difficult
1420+
1421+ recode finnow (1 2 3 = 0) (4 5 = 1) (else = .), gen(financial_distress)
1422+ lab var financial_distress " DEMOGRAPHIC: Financial Distress"
1423+
1424+ // Impute financial distress when missing
1425+ preserve
1426+ drop if dgn < 0 | dag < 0 | dhe < 0 | drgn1 < 0
1427+ eststo predict_financial_distress: logit financial_distress c.dag i.dgn i.drgn1 i.swv i.dhe c.dls i.unemp i.dhh_owned c.yhhnb_asinh, vce(robust)
1428+ restore
1429+ estimates restore predict_financial_distress
1430+ predict financial_distress_prediction
1431+
1432+ replace financial_distress = 1 if missing(financial_distress) & financial_distress_prediction > = 0.5
1433+ replace financial_distress = 0 if missing(financial_distress) & financial_distress_prediction < 0.5
1434+
1435+
14111436/* ****************Was in continuous education sample***************************/
14121437//Generated from age_dv and ded variables. 1 includes first instance of not being in education.
14131438/* This variable is created in Cara’s SAS file in the following way:
@@ -1484,7 +1509,7 @@ keep ivfio idhh idperson idpartner idfather idmother dct drgn1 dwt dnc02 dnc dgn
14841509 dimxwt dhhwt jbhrs jshrs j2hrs jbstat les_c3 les_c4 lessp_c3 lessp_c4 lesdf_c4 ydses_c5 month scghq2_dv ///
14851510 ypnbihs_dv yptciihs_dv yplgrs_dv ynbcpdf_dv ypncp ypnoab swv sedex ssscp sprfm sedag stm dagsp lhw l1_lhw pno ppno hgbioad1 hgbioad2 der adultchildflag ///
14861511 econ_benefits econ_benefits_nonuc econ_benefits_uc ///
1487- sedcsmpl sedrsmpl scedsmpl dhh_owned dukfr dchpd dagpns dagpns_sp CPI lesnr_c2 dlltsd_sp ypnoab_lvl * _flag Int_Date dhe_mcs dhe_pcs dls dot unemp
1512+ sedcsmpl sedrsmpl scedsmpl dhh_owned dukfr dchpd dagpns dagpns_sp CPI lesnr_c2 dlltsd_sp ypnoab_lvl * _flag Int_Date dhe_mcs dhe_pcs dls dot unemp financial_distress
14881513
14891514sort swv idhh idperson
14901515
0 commit comments