Measurement Systems Analysis

%shortemp Macro

  • %shortemp (parameters);

You an use the %shortemp macro to perform a Short EMP Study, as described by Wheeler (2006). A Short EMP Study characterizes the relative utility of a particular measurement system for use with a particular product. The macro produces average and range charts and a table of statistics that summarize the study.

The parameters for this macro are as follows:

SAS-data-set

is the name of the data set that contains the measurement data. You must specify a value for this parameter.

NR=n

specifies the number of measurements that were taken to make one reported value. By default, $n=1$.

SAMPLE=variable

specifies the variable in the input data set that identifies the subgroups of measurements. By default, variable is Sample.

VALUE=variable

specifies the variable in the input data set that contains the reported values. By default, variable is Value.

DISCRETE=YES | NO

determines whether values of the sample variable are treated as discrete values in the mean and range chart. This option applies when the sample variable is numeric. If you specify DISCRETE=YES, the sample values will be displayed at regular intervals on the horizontal axis, even if the intervals between the sample values are not equal. By default, DISCRETE=YES;