Question

In: Computer Science

Please write SAS code 1) How to find age<65*Female? 2) How to assign region for the...

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)

Solutions

Expert Solution

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.


Related Solutions

Please type SAS code for questions below Age < 65 N = Age ≥ 65 N...
Please type SAS code for questions below Age < 65 N = Age ≥ 65 N = Total N = Sex      Male      Female Region      Northeast      Midwest      South      West Race      White      Black      Asian      All other race groups
Using SAS is preferred but not required. Please provide SAS code and the relevant output if...
Using SAS is preferred but not required. Please provide SAS code and the relevant output if SAS is used. •             Link to referenced FEV.CSV: https://drive.google.com/open?id=1t1CRIbnTE7xL_OE9Bmajb564RXcg8nDo For all hypothesis testing problems: •             state the null and alternative hypotheses, •             calculate the value of the test statistic, •             determine if the results are statistically significant (using rejection region or p-value approaches), •             then state your conclusion in terms of the problem. 1.            FEV (forced expiratory volume) is an index of pulmonary function...
I need the code in SAS and R and outputs please 2. The data below come...
I need the code in SAS and R and outputs please 2. The data below come from a study investigating a method of measuring body composition, and give the body fat percentage (% fat), age and sex for 18 adults aged between 23 and 61 years. Source: Mazess, R.B., Peppler, W.W., and Gibbons, M. (1984) Total body composition by dual-photon (153GD) absorptiometry. American Journal of Clinical Nutrition, 40, 834-839. age % fat sex 23 9.5 male 23 27.9 female 27...
In SAS code please. Tennis balls are tested in a machine to show how many bounces...
In SAS code please. Tennis balls are tested in a machine to show how many bounces they can withstand before they fail to bounce 30% of their dropping height. Two brands of balls (W and P) are compared. In addition, the effect of shelf life on these brands is tested. Half of the balls of each brand are 6 months old, the other half, fresh. Using a two-way analysis of variance, what conclusions can you reach? The data are shown...
Use SAS. Please include the code and the answers. 1. Generate 625 samples of size 961...
Use SAS. Please include the code and the answers. 1. Generate 625 samples of size 961 random numbers from U(1, 9). For each of these 625 samples calculate the mean: a) Find the simulated probability that the mean is between 5 and 5.2. b) Find the mean of the means. c) Find the standard deviation of the means. d) Draw the histogram of the means.
2. Find the following probabilities. (a) Suppose 75% of women live past age 65 and 55%...
2. Find the following probabilities. (a) Suppose 75% of women live past age 65 and 55% of women live past age 80. What is the probability that a woman who is now 65 will live past 80? (b) What’s the probability that a roll of two fair six-sided dice will sum to 6? What’s the probability of this once you observe that one of the dice came up 2? (c) A fair six-sided dice is tossed twice. The second toss...
HOW TO CODE AND SEQUENCE THE FOLLOWING: 1.ASSESSMENT: DKA, TYPE 1DM Tip: ASSIGN A SECOND CODE...
HOW TO CODE AND SEQUENCE THE FOLLOWING: 1.ASSESSMENT: DKA, TYPE 1DM Tip: ASSIGN A SECOND CODE FOR UNDERDOSING OF INSULIN FROM THE TABLE OF DRUGS AND CHEMICALS. 2. ASSESSMENT: TEST RESULTS SHOW ABNORMALLY LOW VITAMIN D LEVEL. PATIENT IS OBESE DUE TO EXCESS CALORIES AND HAS A (BMI) OF 30.5 KG/M2 TIP: Z CODE FOR ANNUAL CHECKUP IS NEEDED.
please write the java code so it can run on jGRASP Thanks! 1 /** 2 *...
please write the java code so it can run on jGRASP Thanks! 1 /** 2 * PassArray 3 * @Sherri Vaseashta 4 * @Version 1 5 * @see 6 */ 7 import java.util.Scanner; 8 9 /** 10 This program demonstrates passing an array 11 as an argument to a method 12 */13 14 public class PassArray 15 { 16 public static void main(String[] args) 17 { 18 19 final int ARRAY_SIZE = 4; //Size of the array 20 // Create...
Write code in SAS to do each of the following I have posted the data below...
Write code in SAS to do each of the following I have posted the data below from a pace delimited data set consisting of 66 randomly selected cars Upload the data set to SAS and store it as a SAS data set called cars. Make sure the full values are stored for all character variables. Create a comparative bar chart (with appropriate title and labels) displaying the brands of each car by fuel type (so that fuel type is on...
Write a Python program (with comments) to do the following: Assign the value '2+1' to a...
Write a Python program (with comments) to do the following: Assign the value '2+1' to a variable str1. Use the eval() function to evaluate str1and assign the result to a variable num1. Ask the user to input their birth month and assign it to a variable month and then print it with a suitable message. Determine the number of letters in month and display the result with a suitable message. Determine how many times the letter 'r ' occurs in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT