Information Technology Reference
In-Depth Information
data work.cardiovascular;
set nis.charlson;
codecabg= 0 ;
if (rxmatch('361',pr1)> 0 ) then codecabg= 1 ;
if (rxmatch('5361',pr1)> 0 or rxmatch('8361',pr1)> 0 or (rxmatch('9361',pr1)> 0 ) then code-
cabg= 0 ;
run;
data nis.cardiovascular;
set work.cardiovascular;
where codecabg= 1 ;
run;
Table 1 gives the resulting frequencies.
There are not enough of 3610 and 3617 to make meaningful comparisons. However, we look at the
mortality, average length of stay and charges for each of these procedures. Table 2 gives the mortality
in relationship to procedure; Table 3 gives the costs.
Procedure 3619 has the highest probability of mortality; however, the range between procedures is
relatively small, ranging from a low of zero to a high of 4%. Note that this 4% translates to just one
patient because there are so few patients receiving the procedure. For procedure 3612, 2% translates to
296 deaths.
There is a considerable difference between the average and the maximum values. In particular, at least
one patient stayed 150 days or more for procedures 3611, 3612, 3613, and 3614. As suggested here, the
distribution is considerably skewed with a few patient outliers having extremely high costs. We use the
following code to find the kernel density estimation functions (Figures 23 and 24).
proc sort data=nis.cardiovascular out=work.cardiovascular2;
by pr1;
proc kde data=work.cardiovascular2;
univar los/gridl= 0 gridu= 15 out=nis.kdecardlos;
Table 1. Frequency for 36.1 procedure
Procedure
Translation
Frequency
Percent
3610
Aortocoronary bypass for heart revascularization, not otherwise specified
8
0.02
3611
(Aorto)coronary bypass of one coronary artery
5112
11.14
3612
(Aorto)coronary bypass of two coronary arteries
13449
29.30
3613
(Aorto)coronary bypass of three coronary arteries
13176
28.70
3614
(Aorto)coronary bypass of four or more coronary arteries
7208
15.70
3615
Single internal mammary-coronary artery bypass
6419
13.98
3616
Double internal mammary-coronary artery bypass
508
1.11
3617
Abdominal - coronary artery bypass
3
0.01
3619
Other bypass anastomosis for heart revascularization
24
0.05
Search WWH ::




Custom Search