![]() Chapter Contents |
![]() Previous |
![]() Next |
Interactive Control Charts |
Variable | Type | Description |
_TEST_ | character or numeric | test identifier |
_CHART_ | numeric | primary (1) or secondary (2) chart |
_URL_ | character | URL 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 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;
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 |
![]() Previous |
![]() Next |
![]() Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.