SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 47312: Create a user-defined format containing decile ranges from PROC UNIVARIATE results

DetailsCodeResultsAboutRate It
The sample program on the Full Code tab uses a PROC UNIVARIATE step to create an output data set containing decile values for an analysis variable. After transposing the output data set, DATA step processing is used to create a data set that can be used in the CNTLIN= option of PROC FORMAT. The user-defined format containing the decile ranges can then be used in a DATA step or procedure step.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.