PROC GAP


Identifying possibly missing items within a sequentially numbered series. One example could be missing check numbers from a series of checks. Another could be a review of sequentially numbered transactions such as purchase orders.

Example screen shot:

Syntax

proc gap data=DATAFILE;
var VARIABLENAME;
out = OUTPUTRESULT;

Parameters Used

There are three parameters for the Gap procedure:

DATAFILE - the datafile to be analyzed
VARIABLENAME - the numeric variable to be analyzed
OUTPUTRESULT - name of the file to store the results of the analysis

Example Script

*;
* gap2.ezs;
* identify missing invoice numbers;
libname test 'c:\ezs\tab\tested';
libname gap 'c:\ezs\tab';
proc gap data=gap.GapData;
out = test.gapseq2;
var InvNo;
run;

Example Output

 

Analysts interested in Proc Gap may also be interested in Proc Means and Proc Univariate, which are also available at no charge.
 
 

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