Data ICPNEED.data_carerecipients; Set ICPNEED.data_trim4; edu_numeric = edu + 0; If marriage = 1 then cr_marital = 'Married'; Else if marriage = 2 then cr_marital = 'Not married'; Else if marriage = 3 then cr_marital = 'Not married'; Else if marriage = 4 then cr_marital = 'Not married'; Else if marriage = 5 then cr_marital = 'Not married'; Else if marriage = . then cr_marital = " "; if iadl_income_3 = 1 then iadl_income_3rc = '$0-$10,999'; Else if iadl_income_3 = 2 then iadl_income_3rc = '$11,000-$14,999'; if iadl_income_3 = 3 then iadl_income_3rc = '$15,000-$24,999'; Else if iadl_income_3 = 4 then iadl_income_3rc = '$25,000-$34,999'; if iadl_income_3 = 5 then iadl_income_3rc = '$35,000-$49,999'; Else if iadl_income_3 = 6 then iadl_income_3rc = '$50.000-$74,999'; if iadl_income_3 = 7 then iadl_income_3rc = '$75,000-$99,999'; Else if iadl_income_3 = 8 then iadl_income_3rc = '$100,000-or more'; if iadl_income_3 = . then iadl_income_3rc = " "; Format race fmtrace. current_living_dich fmtcurrent_living_dich. sex fmtsex.; Label cr_marital = "Care Recipient Marital Status" current_living_dich = "Current living situation" edu_numeric = "Care Recipient Education" iadl_income_3rc = "Care Recipient Household Income"; run; Proc sort data = ICPNEED.data_carerecipients; by iadl_income_3rc; Run; Proc freq data = ICPNEED.data_carerecipients; Tables race sex current_living_dich cr_marital iadl_income_3rc; Run;
... View more