PROC DOMAIN

Proc domain is used to determine the domain of values for each column within the data.

This procedure can help familiarize the analyst with the data contained in the file being analyzed. For each column in the file, the following information is presented

  • The name of the column
  • The type of data - C=character, D=Date, N=Integer, F=Floating Point
  • The number of instances when the values were among the first six unique values
  • The minimum value contained in the file
  • The maximum value contained in the file
  • The number of instances of the first six unique values encountered
  • The text of the first value encountered
  • The count of occurrences of the first value encountered
  • The text of the second value encountered
  • The count of occurrences of the second value encountered
  • The values for the next four occurrences will also be displayed

    Syntax

    proc domain data=INPUTFILE ;
    out = OUTPUTFILE;

    Parameters Used

    There is two parameters for the DOMAIN procedure:

    INPUTFILE - the name of the file to be analyzed
    OUTPUTFILE - filename where the results are to be stored

    Example Script


    *;
    * domain7.ezs;
    * obtain an overview of the data in the census;
    * write results to a work file;
    libname in '{%libin}';
    libname out '{%libout}';
    proc domain data=in.censuspart2;
    out = domain7;
    run;


    View sample output.

The Proc Domain procedure is part of EZ-R Stats for Windows - Professional Edition. View an overview of EZ-R Stats for Windows. Download EZ-R Stats for Windows and other products.

Analysts interested in Proc Domain may also be interested in Proc Means and Proc Univariate.
 
 

Web Page last updated on 04-11-2006
© EZ-R Stats, LLC 2005-2007

© EZ_R Stats

Visit EZ_R Stats on the web at:

www.ezrstats.com