proc print data=stdhmeq(obs=10);
title 'Partial Listing of the OUT= Standardized Data Set';
run;
proc print data=hmeq(obs=10);
title 'Partial Listing of the Unstandardized Data Set';
run;
proc print data=stdstats;
title 'Location and Scale Measures Data Set';
run;
Output
PROC PRINT Partial Listing of the OUT= Standardized Data Set and the
Unstandardized Input Data Set
Partial Listing of the OUT= Standardized Data Set
M D
O R D E
R V E D E C B
L T A A E L L N C T
O B O D L S J Y R I A I L I
B A A U U O O O O N G N N N
S D N E E N B J G Q E Q O C
1 0 1700 30961 21341 HomeImp Office -4.0 0 0 -87.0825 -1 -6 .
2 0 2000 -2303 -3259 Mgr -4.5 0 0 -33.2825 -1 4 .
3 0 2300 35531 30294 HomeImp Office -5.0 0 0 -89.4233 -1 -7 -2.95317
4 0 2400 31610 26536 HomeImp Office -3.0 0 0 -86.6040 -1 -7 -4.85984
5 0 2500 -59610 -46143 HomeImp Self . 0 0 27.5842 -1 -8 .
6 0 2500 4569 -12059 HomeImp ProfExe 1.0 0 0 75.3175 -1 -8 .
7 0 2900 37110 21846 HomeImp Office -6.0 0 0 -84.3135 -1 -7 -4.49054
8 0 2900 37534 30043 HomeImp Office -5.0 0 0 -78.8755 -1 -7 -4.62581
9 0 3000 37731 31070 HomeImp Office -5.0 0 0 -94.5314 -1 -6 -2.48189
10 0 3000 -8839 -19159 HomeImp Mgr 3.0 . 2 31.5175 -1 5 .
Partial Listing of the Unstandardized Data Set
M D
O R D E
R V E D E C B
L T A A E L L N C T
O B O D L S J Y R I A I L I
B A A U U O O O O N G N N N
S D N E E N B J G Q E Q O C
1 0 1700 97800 112000 HomeImp Office 3.0 0 0 93.333 0 14 .
2 0 2000 64536 87400 Mgr 2.5 0 0 147.133 0 24 .
3 0 2300 102370 120953 HomeImp Office 2.0 0 0 90.993 0 13 31.5885
4 0 2400 98449 117195 HomeImp Office 4.0 0 0 93.812 0 13 29.6818
5 0 2500 7229 44516 HomeImp Self . 0 0 208.000 0 12 .
6 0 2500 71408 78600 HomeImp ProfExe 8.0 0 0 255.733 0 12 .
7 0 2900 103949 112505 HomeImp Office 1.0 0 0 96.102 0 13 30.0511
8 0 2900 104373 120702 HomeImp Office 2.0 0 0 101.540 0 13 29.9159
9 0 3000 104570 121729 HomeImp Office 2.0 0 0 85.884 0 14 32.0598
10 0 3000 58000 71500 HomeImp Mgr 10.0 . 2 211.933 0 25 .
PROC PRINT Partial Listing of the OUTSTAT= Location and Scale
Measurement Data Set
The OUTSTAT= data set contains a _TYPE_ variable that identifies the following summary statistics for each
variable for each value of the BY variable BAD:
LOCATION - the location value for the METHOD= measure.
q
SCALE - the scale value for the METHOD= measure.
q
ADD - a constant to add that is specified with the ADD= option.
q
MULT - a constant to multiply by that is specified with the MULT= option.
q
N - the number of total non-missing positive frequencies.
q
Location and Scale Measures Data Set
OBS BAD _TYPE_ MORTDUE VALUE YOJ DEROG DELINQ CLAGE NINQ CLNO DEBTINC
1 0 LOCATION 66839 90659 7 0 0 180.42 1 20 34.54
2 0 SCALE 1 1 1 1 1 1.00 1 1 1.00
3 0 ADD 0 0 0 0 0 0.00 0 0 0.00
4 0 MULT 1 1 1 1 1 1.00 1 1 1.00
5 0 N 4359 4764 4321 4150 4263 4541.00 4336 4602 4290.00
6 1 LOCATION 60279 82000 6 0 0 132.87 1 20 38.08
7 1 SCALE 1 1 1 1 1 1.00 1 1 1.00
8 1 ADD 0 0 0 0 0 0.00 0 0 0.00
9 1 MULT 1 1 1 1 1 1.00 1 1 1.00
10 1 N 1083 1084 1124 1102 1117 1111.00 1114 1136 403.00
Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.
PROC SORT sorts the SAMPSIO.HMEQ data set by the values of the target
BAD and outputs the data to the OUT=HMEQ data set.
proc sort data=sampsio.hmeq out=hmeq;
by bad;
run;
The PROC STDIZE statement invokes the procedure. The DATA= option names
the input data set. The OUT= option specifies the output data set.
proc stdize data=hmeq
out=stdhmeq