Using the data set from problem 2.2. make two charts (using either PROC CHART or PROC G HART). One Should represent the frequencies of each GENDER for each value of RACE, as shown here. The other...


Using the data set from problem 2.2. make two charts (using either PROC CHART or PROC G HART). One Should represent the frequencies of each GENDER for each value of RACE, as shown here. The other should how a distribution of heart rate for each value of GENDER (also shown her). ore that the x-axis for the second chart uses midpoints of 50. 60. 70. Etc.


Problem 2.2


Using the following data. Create a SAS data set called CLINIC. In the DATA step, include a statement to compute average blood pressure (call it AVE-BP) computed as the diastolic blood pressure (DBP) plus one-third the difference of the systolic blood pressure (SBP) and the DBP.(For those interested in this since the heart spends more time in diastole (relaxed state)than it does in systole (when it contracts). A weighted average is used to represent the “average” blood pressure__ one-third of the SBP and two-thirds of the DBP. Use PROCMEANS to compute the number of non-missing values, the mean, the standard deviation, the 95% CI on the mean, and the median value for SBP, DBP. and AVE-BP.


The data layout:


Sample data



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here