Question
Using the SAS data set vitals, create two temporary SAS data sets called Subset_A and Subset_B. Include in both of these data sets a variable
Using the SAS data set vitals, create two temporary SAS data sets called Subset_A and Subset_B.
Include in both of these data sets a variable called Combined equal to .001 times WBC plus RBC.
Subset_A should consist of observations from Blood where Gender is equal to Female and Blood type is equal to A.
Subset_B should consist of all observations from Blood where Gender is equal to Female, BloodType is equal to A, and Combined is greater than or equal to 14.;
data vitals;
input ID $
Gender $
BloodType $
AgeType $
WBC
RBC
Age;
datalines;
1 Female AB Young 7710 7.4 14
2 Male AB Old 6560 4.7 .
3 Male A Young 5690 7.53 18
4 Male B Old 6680 6.85 .
5 Male A Young . 7.72 17
6 Male A Old 6140 3.69 12
7 Female A Young 6550 4.78 29
8 Male O Old 5200 4.96 15
9 Male O Young . 5.66 31
10 Female O Young 7710 5.55 .
11 Male B Young . 5.62 15
12 Female O Young 7410 5.85 24
13 Male O Young 5780 4.37 .
14 Female O Old 5590 6.94 15
15 Female A Old 6520 6.03 27
16 Female O Young 7210 5.17 13
;
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
To create the temporary SAS data sets SubsetA and SubsetB usi...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