Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Interactive Control Charts

URLS and Tests for Special Causes

The TESTURLS= data set provides a way to associate a URL with each subgroup in a control chart for which a given test for special causes is positive:

Table 50.2: Variables Required in a TESTURLS= Data Set
Variable Type Description
_TEST_character or numerictest identifier
_CHART_numericprimary (1) or secondary (2) chart
_URL_characterURL associated with subgroups with positive test

The variable _TEST_ identifies a test for special causes (see Chapter 48, "Tests for Special Causes"). A standard test is identified by its number (1 to 8) and a nonstandard test is identified by the CODE= character in its pattern specification. The _TEST_ variable must be a character variable if nonstandard tests are included in the TESTURLS= data set. The value of _CHART_ is 1 or 2, specifying whether the test applies to the primary or secondary chart. The character variable _URL_ contains the URL link to be associated with subgroups for which the test is positive.

The following statements create a TESTURLS= data set and an \bar{X}chart using the same DATA= data set as the previous example:

   ods html body = "example2.html";

   data testlink;
        length _URL_ $ 75;
        input _TEST_ _CHART_ _URL_;
   datalines;
   1  1  HREF="http://www.sas.com/"
   2  1  HREF="http://www.sas.com/service/techsup/faq/qc/shewproc.html"
   3  1  HREF="http://www.sas.com/rnd/app/qc.html"
   4  1  HREF="http://www.sas.com/rnd/app/qc/qcnew.html"
   5  1  HREF="http://www.sas.com/software/web_enablement/"
   6  1  HREF="http://www.sas.com/rnd/app/qc/qcspc.html"
   7  1  HREF="http://www.sas.com/software/components/qc.html"
   8  1  HREF="http://www.sas.com/rnd/app/qc/qcover.html"
   ;

   symbol1 v=dot;
   proc shewhart data=wafers testurls=testlink;
      xchart diamtr*batch / tests = 1 to 8;
   run;

   ods html close;
   run;

In this example only subgroups triggering tests for special causes have URLs associated with them.

Note: If a TESTSURLS= data set and an HTML= variable are both specified, the URL from the TESTURLS= data set is associated with any subgroup for which the test is positive.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.