2.1 Add the necessary statements to compute 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 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: Variable Description Starting Column Length Туре ID Subject ID 3 Char GENDER Gender RACE Race of subject HR Heart rate SBP Systolic blood pressure DBP Diastolic blood pressure 12 N_PROC Number of procedures 15 -456925 1 Char Char 3 Num Num 3 Num 2 Num Sample data: 001MW08013008010 002FW08811007205 003MB05018810002 004FB 10806801 005MW06812208204 006FB101 07404 007FW07810406603 008MW04811207006 009FB07719011009 010FB06616410610

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%
2.1 Add the necessary statements to compute
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 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:
Variable
Description
Starting
Column
Length
Туре
ID
Subject ID
3
Char
GENDER
Gender
RACE
Race of subject
HR
Heart rate
SBP
Systolic blood pressure
DBP
Diastolic blood pressure
12
N_PROC
Number of procedures
15
-456925
1
Char
Char
3
Num
Num
3
Num
2
Num
Sample data:
001MW08013008010
002FW08811007205
003MB05018810002
004FB 10806801
005MW06812208204
006FB101 07404
007FW07810406603
008MW04811207006
009FB07719011009
010FB06616410610
Transcribed Image Text:2.1 Add the necessary statements to compute 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 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: Variable Description Starting Column Length Туре ID Subject ID 3 Char GENDER Gender RACE Race of subject HR Heart rate SBP Systolic blood pressure DBP Diastolic blood pressure 12 N_PROC Number of procedures 15 -456925 1 Char Char 3 Num Num 3 Num 2 Num Sample data: 001MW08013008010 002FW08811007205 003MB05018810002 004FB 10806801 005MW06812208204 006FB101 07404 007FW07810406603 008MW04811207006 009FB07719011009 010FB06616410610
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman