FOCUS AREAS

SAS Sample Code



data LabelDeviations;
   input Position @;
   do i = 1 to 5;
      input Deviation @;
      output;
   end;
   drop i;
   datalines;
1  -0.0239  -0.0285  -0.0300  -0.0043  -0.0362
1  -0.0422  -0.0014  -0.0647   0.0094  -0.0016
2  -0.0201  -0.0273   0.0227  -0.0332   0.0366
2   0.0438   0.0556   0.0098   0.0564   0.0182
3  -0.0073   0.0285  -0.0440  -0.0221  -0.0139
3   0.0486   0.0357   0.0235   0.0134  -0.0020
4   0.0669   0.1073   0.0597   0.0609   0.0755
4   0.0362   0.0561   0.0899   0.0418   0.0530
5   0.0368   0.0036   0.0374   0.0116  -0.0074
5   0.0250  -0.0080   0.0302  -0.0015  -0.0464
6   0.0049  -0.0384  -0.0204  -0.0049  -0.0120
6   0.0071  -0.0308   0.0017  -0.0285  -0.0070
run;

ods graphics on;
ods html style=statistical;

title 'Analysis of Label Deviations';

proc anom data=LabelDeviations;
   xchart Deviation*Position / alpha = 0.05;
   label Deviation = 'Mean Deviation from Center (mm)';
   label Position  = 'Labeler Position';
run;

ods html close;
ods graphics off;

Statistics and Operations Research Home Page