Measurement Systems Analysis

%basicemp Macro

%basicemp (parameters) ;

You can use the %basicemp macro to perform a Basic EMP Study, which determines whether a condition has a detrimental effect on the measurement process. Common conditions include different operators and different measurement instruments.

The %basicemp macro produces the following outputs:

  • average and range charts

  • a main effect chart

  • a mean range chart

  • a table of summary statistics for the study

  • a table of statistics that characterize the measurement system and the relative utility for each level of the condition

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.

CONDITION=variable

specifies the variable in the input data set that identifies a condition that potentially affects measurement variation. By default, variable is Condition.

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;