In: Computer Science
Please write SAS code
1) How to find age<65*Female?
2) How to assign region for the below description?
Age < 65 |
Age ≥ 65 |
Total N |
|
Sex Male Female |
|||
Region Northeast Midwest South West |
|||
Race White Black Asian All other race groups |
Table 1:
RACERPI2:
01 – White Only (New Category: White)
02 – Black/African American Only (New Category: Black)
03 – AI/AN Only (New Category: All Other Race Groups)
04 – Asian Only (New Category: Asian)
05 – Race Group Not Releasable (Set this to a missing value)
06 – Multiple Race (New Category: All Other Race Groups)
OBJECTIVES:This study characterized cardiac rehabilitation (CR) use in ventricular assist device (VAD) recipients in the United States and the association of CR with 1-year hospitalization and mortality by using the 2013 to 2015 Medicare files. BACKGROUND:Exercise-based CR is indicated in patients with heart failure with reduced ejection fraction, but no data exist regarding CR participation after VAD implantation. METHODS:The study included Medicare beneficiaries enrolled for disability or age >65 years. The investigators identified VAD recipients by diagnosis codes and cumulated CR sessions occurring within 1 year after VAD implantation. Multivariable-adjusted Andersen-Gill models were used to evaluate the association of CR with 1-year hospitalization risk, and Cox regression was used to evaluate the association of CR with 1-year mortality. RESULTS:There were 1,164 VADs implanted in Medicare beneficiaries in the United States in 2014. CR use was low, with 348 patients (30%) participating in CR programs. The Midwest had the highest proportion of VAD recipients who began CR (38%), whereas the Northeast had the lowest proportion of CR participants (25%). Each 5-year increase in age was associated with attending an additional 1.6 CR sessions (95% confidence interval [CI]: 0.7 to 2.5; p < 0.001). CR participation was associated with a 23% lower 1-year hospitalization risk (95% CI: 11% to 33%; p < 0.001) and a 47% lower 1-year mortality risk (95% CI: 18% to 66%; p < 0.01) after multivariable adjustment. CONCLUSIONS:Approximately one-third of VAD recipients attend CR. Although it is not possible to account fully for unmeasured confounding, VAD recipients who participate in CR appear to have lower risks for hospitalization and mortality.