The UNIVARIATE Procedure |
Summarizing a Data Distribution |
Figure 4.1 shows a table of basic summary measures and a table of extreme observations for the loan-to-value ratios of 5,840 home mortgages. The ratios are saved as values of the variable LoanToValueRatio in a data set named HomeLoans. The following statements request a univariate analysis:
ods select BasicMeasures ExtremeObs; proc univariate data=HomeLoans; var LoanToValueRatio; run;
The ODS SELECT statement restricts the default output to the tables for basic statistical measures and extreme observations.
Basic Statistical Measures | |||
---|---|---|---|
Location | Variability | ||
Mean | 0.292512 | Std Deviation | 0.16476 |
Median | 0.248050 | Variance | 0.02715 |
Mode | 0.250000 | Range | 1.24780 |
Interquartile Range | 0.16419 |
The tables in Figure 4.1 show, in particular, that the average ratio is 0.2925 and the minimum and maximum ratios are 0.06518 and 1.1398, respectively.
Copyright © SAS Institute, Inc. All Rights Reserved.