Logs of PROC Tabulate
80 proc tabulate data = d202_raw;
81 title 'Summary of patient characterisitcs';
82 class AF gender smoker CHF DM Stroke Hypertension HFstage hypoalbuminemia RIFLE
83 indication1 CYP2C9 VKORC1
84 Amiodarone Heparin Statin Antiplatelets
85 ;
86 var ageY wt bsa followUp
87 alb1 alb2 alb3 alb4 alb5
88 ;
89 table
90 ageY
91 wt
92 bsa
93 followUp
94 alb1
95 alb2
96 alb3
97 alb4
98 alb5
99 , AF = 'Atrial fibrillation' * (N Mean STD Q1 Q3)
100 all = 'Overall' * (N Mean STD Q1 Q3);
101 table
102 gender
103 smoker
104 CHF
105 DM
106 Stroke
107 Hypertension
108 HFstage
109 hypoalbuminemia
110 RIFLE
111 indication1
112 CYP2C9
113 VKORC1
114 Amiodarone
115 Heparin
116 Statin
117 Antiplatelets
118 , AF = 'Atrial fibrillation' * (N colpctn = '%')
119 all = 'Overall' * (N colpctn = '%')
120 ;
121 run;
NOTE: There were 200 observations read from the data set WORK.D202_RAW.
NOTE: The PROCEDURE TABULATE printed pages 134-139.
NOTE: PROCEDURE TABULATE used (Total process time):
real time 0.05 seconds
user cpu time 0.05 seconds
system cpu time 0.02 seconds
memory 11064.26k
OS Memory 55500.00k
Timestamp 05/04/2025 06:42:43 PM
Step Count 204 Switch Count 0
Page Faults 0
Page Reclaims 2161
Page Swaps 0
Voluntary Context Switches 614
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 616
The PROC Univariate could get the 200 observation. However, the PROC Tabulate only report the results of 199 observation. I don't know which observation was removed.
PROC Tabulate script:
proc tabulate data = d202_raw;
title 'Summary of patient characterisitcs';
class AF gender smoker CHF DM Stroke Hypertension HFstage hypoalbuminemia RIFLE
indication1 CYP2C9 VKORC1
Amiodarone Heparin Statin Antiplatelets
;
var ageY wt bsa followUp
alb1 alb2 alb3 alb4 alb5
;
table
ageY
wt
bsa
followUp
alb1
alb2
alb3
alb4
alb5
, AF = 'Atrial fibrillation' * (N Mean STD Q1 Q3)
all = 'Overall' * (N Mean STD Q1 Q3);
table
gender
smoker
CHF
DM
Stroke
Hypertension
HFstage
hypoalbuminemia
RIFLE
indication1
CYP2C9
VKORC1
Amiodarone
Heparin
Statin
Antiplatelets
, AF = 'Atrial fibrillation' * (N colpctn = '%')
all = 'Overall' * (N colpctn = '%')
;
run;
Log of PROC Univariate:
80 proc univariate data = d202_raw;
81 var ageY;
82 run;
NOTE: The PROCEDURE UNIVARIATE printed pages 140-141.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
real time 0.05 seconds
user cpu time 0.05 seconds
system cpu time 0.01 seconds
memory 1701.81k
OS Memory 47528.00k
Timestamp 05/04/2025 06:46:08 PM
Step Count 209 Switch Count 0
Page Faults 0
Page Reclaims 57
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 1
Block Input Operations 0
Block Output Operations 8
... View more