Answered step by step
Verified Expert Solution
Question
1 Approved Answer
** QUESTION TEXT STARTS AT USING THE FOLLOWING DATA** **AGAIN PLEASE WRITE IN SAS** Add the necessary statements to compute the Using the following data,
** 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 pressureone-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 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 pressureone-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 010FB06616410610Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started