Given the SAS data set PRICES:
PRICES
prodid price producttype sales
returns
K12S 5.10 NETWORK 15 2
B132S 2.34 HARDWARE 300 10
R18KY21.29 SOFTWARE 25 5
3KL8BY 6.37 HARDWARE 125 15
DY65DW 5.60 HARDWARE 45 5
DGTY23 4.55 HARDWARE 67 2
The following SAS program is
submitted:
data hware inter soft;
set prices (keep = producttype
price);
if price le 5.00;
if producttype = ‘HARDWARE’ then
output HWARE;
else if producttype = ‘NETWORK’ then
output INTER;
else if producttype = ‘SOFTWARE’
then output SOFT;
run;
How many observations does the HWARE
data set contain?
A - 0
B - 2
C - 3
D - 4
Contact
Details :
K.Naveen SAS Trainer +91-9177856619 (INDIA)
001-214-347-4655 (USA)
Knaveen.sas@gmail.com
goodonlinetrainings@gmail.com
For further details:
www.sasonlinetraining.training
No comments:
Post a Comment