** QUESTION TEXT STARTS AT "USING THE FOLLOWING DATA"**
**AGAIN PLEASE WRITE IN SAS**
Add the necessary statements to compute the 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 dias- tolic 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 dias- tole (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 PROC MEANS to compute the number of nonmissing 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: Starting Column Length Type Variable ID GENDER RACE HR SBP DBP N_PROC Description Subject ID Gender Race of subject Heart rate Systolic blood pressure Diastolic blood pressure Number of procedures 1 4 5 6 9 12 15 3 1 1 3 3 3 2 Char Char Char Num Num Num Num Sample data: 002M708013008010 002FW08811007205 003MB05018810002 004FB 10806801 005206812208204 0069B101 07404 007FW07810406603 008M10 4811207006 009FB07719011009 010FB06616410610
** QUESTION TEXT STARTS AT "USING THE FOLLOWING DATA"** **AGAIN PLEASE WRITE IN SAS**
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
** QUESTION TEXT STARTS AT "USING THE FOLLOWING DATA"** **AGAIN PLEASE WRITE IN SAS**
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!