home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…e: Engineering & Science / Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso / programs / statistc / qtms9403.exe / QTMSIM.DOC < prev    next >
Text File  |  1994-03-01  |  59KB  |  1,207 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           ┌───────────────────────────────────────────────────────────────┐
  8.           │                 QTMSIM.EXE...Version 9403                     │
  9.           ├───────────────────────────────────────────────────────────────┤
  10.           │             A Quality Assurance Training Tool:                │
  11.           │      Statistics Committee of the QA Section of the PMA        │
  12.           ├───────────────────────────────────────────────────────────────┤
  13.           │         Bob Obenchain, CompuServe User ID=72007,467           │
  14.           │         5261 Woodfield Drive North, Carmel,IN 46033           │
  15.           └───────────────────────────────────────────────────────────────┘
  16.              Note:  PMA = Pharmaceutical Manufacturers Association
  17.  
  18.  
  19.                                  Table-of-Contents
  20.  
  21.        Introduction to QTMSIM Simulation Scenarios. . . . . . . . . . . . . 1
  22.        Input Data Restrictions. . . . . . . . . . . . . . . . . . . . . . . 4
  23.        Naming Conventions for QTMSIM Input/Output Files . . . . . . . . . . 5
  24.        Resetting QMP/WAMOC Internal Parameters. . . . . . . . . . . . . . . 8
  25.        Example .SIM Scenario Files. . . . . . . . . . . . . . . . . . . . . 8
  26.        Results from QTMSIM Simulation Scenarios . . . . . . . . . . . . . . 9
  27.        REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
  28.        QTMSIM Software Update History . . . . . . . . . . . . . . . . . . .22
  29.  
  30.  
  31.                                  ┌────────────────┐
  32.                                  │  Introduction  │
  33.                                  └────────────────┘
  34.  
  35.        QTMSIM.EXE allows the user to define "Simulation Scenarios" in which
  36.        true quality level may vary over a sequence of 12 consecutive
  37.        reporting periods (say, 12 months.)  For each period in the sequence,
  38.        the user must specify:
  39.  
  40.          (i) the "volume" of information that will be available from quality
  41.              inspections that period, expressed as an Equivalent Expectancy
  42.              (EE) at standard quality,
  43.        and
  44.  
  45.         (ii) the "true" quality level attained that period, expressed as a
  46.              ratio of true expected nonconformance rate to the standard rate.
  47.  
  48.        QTMSIM.EXE then generates pseudo-random Poisson or standardized Gamma
  49.        deviates representing "observed" nonconformances for each period.  In
  50.        other words, period-to-period changes in nonconformance expectancy
  51.        follow the scenario input by the user, but state-of-the-art computer
  52.        algorithms assure that the observed noncomformances for successive
  53.        reporting periods are statistically independent (although usually not
  54.        identically distributed.)
  55.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 2 of 22
  56.  
  57.  
  58.  
  59.        Next, QTMSIM analyses the generated nonconformance data using either
  60.        of two powerful Moving Average methodologies...
  61.  
  62.                             QMP = Quality Measurement Plan
  63.                                                                   or
  64.                           WAMOC = Windowed At-Most-One Change.
  65.  
  66.        In other words, these Quality-Trend-Monitoring methodologies attempt
  67.        to recover the pattern of period-to-period quality variation specified
  68.        in the scenario.  We illustrate these concepts with an example.
  69.  
  70.        *********************************************************************
  71.        EXAMPLE: Suppose a simulation scenario is specified to QTMSIM as...
  72.  
  73.                           Period Number: 01 02 03 04 05 06 07 08 09 10 11 12
  74.                      True Quality Level:  1  1  1  1  1  1  3  3  3  3  3  3
  75.          Expectancy at Standard Quality:  2  2  2  2  1  1  1  1  2  2  2  2
  76.  
  77.        This is a scenario with only one shift in level over 12 periods;
  78.        quality is at Standard for the 1st 6 periods, then shifts to 3 times
  79.        Standard.  Meanwhile, during the middle 4 periods, sampling intensity
  80.        is half of what it is in the 1st and 3rd 4 periods.
  81.  
  82.        On the type of chart used by QTMSIM for both QMP and WAMOC, this
  83.        scenario would be graphed as follows...
  84.  
  85.                     Zero Defects  ┌──────────────────────────────────────┐
  86.                                   │                                      │
  87.                      At Standard  ├──T──T──T──T──T──T────────────────────┤
  88.            TRUE                   │                                      │
  89.           QUALITY   2 x Standard  │                                      │
  90.            LEVEL                  │                                      │
  91.                     3 x Standard  ├────────────────────T──T──T──T──T──T──┤
  92.                                   │                                      │
  93.                     4 x Standard  │                                      │
  94.                                   │                                      │
  95.                     5 x Standard  └──────────────────────────────────────┘
  96.                                     01 02 03 04 05 06 07 08 09 10 11 12
  97.                                                   PERIOD -->
  98.  
  99.        The True Nonconformance Expectancy for each period is the product of
  100.        its Expectancy at Standard Quality times its True Quality Level...
  101.  
  102.                      Period Number: 01 02 03 04 05 06 07 08 09 10 11 12
  103.                    True Expectancy:  2  2  2  2  1  1  3  3  6  6  6  6
  104.  
  105.        Thus there are 3 changes in per-period Nonconformance Expectancy even
  106.        though there is only 1 shift in Quality Level over the 12 periods.
  107.        *********************************************************************
  108.  
  109.        Results from the very first "cycle" of at most 12 periods are
  110.        displayed in CGA-graphics and also "smoothed" using the QMP or WAMOC
  111.        algorithms.  Generated quality level estimates (plotted below with the
  112.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 3 of 22
  113.  
  114.  
  115.  
  116.        X symbol) will deviate from their true values (T symbol) due to random
  117.        sampling error.  But QMP or WAMOC I-plots provide nominal 90%
  118.        confidence intervals for the (unknown) true level...
  119.  
  120.                     Zero Defects  ┌──────────────────────────────────────┐
  121.                                   │   X  ┬     X  ┬  X                   │
  122.                      At Standard  ├──T┼─T┼─T┬─T┼─TX─T┼───────────────────┤
  123.          ESTIMATED                │   ┴  X  │  ┴  ┴  ┴  ┬     ┬          │
  124.           QUALITY   2 x Standard  │      ┴  X           X  ┬  │  ┬     ┬ │
  125.            LEVEL                  │         ┴           ┴  X  │  X  ┬  X │
  126.                     3 x Standard  ├────────────────────T──T┴─TX─T┼─T┼─T┼─┤
  127.                                   │                           ┴  │  X  ┴ │
  128.                     4 x Standard  │                              ┴  │    │
  129.                                   │                                 ┴    │
  130.                     5 x Standard  └──────────────────────────────────────┘
  131.                                      01 02 03 04 05 06 07 08 09 10 11 12
  132.                                                   PERIOD -->
  133.  
  134.        The numbers of times that the true-Quality-Level was ABOVE, WITHIN, or
  135.        BELOW the QMP or WAMOC I-plot limits are then counted and displayed on
  136.        your graphics screen.  QMP and WAMOC I-plots are designed to cover the
  137.        true quality level about 90% of the time, on long range average, at
  138.        least when per period expectancy is large.  But QTMSIM lets the user
  139.        investigate how good those coverage claims are in actual practice!
  140.  
  141.        Of course, any single quality scenario needs to be evaluated hundreds
  142.        or even thousands of times in order to develop good estimates of
  143.        "coverage probabilities," especially at any points within the scenario
  144.        where the true quality level is changing rapidly between periods.
  145.        Thus, after that first cycle, QTMSIM uses a "non-graphical mode" so
  146.        that many cycles may be evaluated rapidly.
  147.  
  148.        QTMSIM is designed, primarily, to help users new to QMP and/or WAMOC
  149.        methodology to "visualize" what can happen.  For example, QTMSIM can
  150.        be used to show "trade-offs" between conflicting objectives, such as:
  151.  
  152.           ...making good use of recent process history to predict
  153.              performance during the next reporting period, and
  154.  
  155.           ...responding quickly to abrupt shifts in quality level.
  156.  
  157.        In summary, QTMSIM can help new users develop QMP and WAMOC
  158.        "intuition."  See the QMPCHART.DOC and WAMOC.DOC documentation files
  159.        that are distributed with QMPCHART.EXE and WAMOC.EXE, respectively,
  160.        for detailed information on these powerful new Moving Average
  161.        methodologies.
  162.  
  163.        QTMSIM.EXE...
  164.          - accepts either Keyboard or Batch input (from a .SIM file),
  165.          - writes detailed simulation results to a .OUT file,
  166.          - can make optional dumps of its graphics screen if your PC's has a
  167.                slave printer connected to LPT1, and
  168.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 4 of 22
  169.  
  170.  
  171.  
  172.          - creates a batch data file (.WIN) of results from only its very
  173.                first cycle that is suitable for input to QMPCHART or WAMOC.
  174.  
  175.                            ┌───────────────────────────┐
  176.                            │  Input Data Restrictions  │
  177.                            └───────────────────────────┘
  178.  
  179.               Variable                            Minimum Default Maximum
  180.               Name      Brief Explanation          Value   Value   Value
  181.               -------   ------------------------  ------- ------- -------
  182.               wind      Moving Avg. Window Width      1       6       12
  183.  
  184.               histp     number of history periods     0       0      wind-1
  185.                         preceeding the first period
  186.                         actually plotted by QTMSIM
  187.  
  188.               E-factor  defect expectancy factor    .001      1        1
  189.  
  190.               expect    Equivalent Expectancy at      0       1      999
  191.                         standard quality for the
  192.                         current reporting period
  193.  
  194.               trueindx  true quality level for       .1       1        6
  195.                         current reporting period
  196.  
  197.               idum      Random Number SEED Value   -32767     0*       0
  198.  
  199.  
  200.        For pseudo-random number generation, QTMSIM uses the poidev(),
  201.        gamdev() and gammln() functions of Press, Flannery, Teukolsky, and
  202.        Vetterling(1988).  The Poisson defect "intensity" parameter used for
  203.        the current reporting period is always of the form:
  204.  
  205.                        Poisson Intensity = trueindx * expect
  206.  
  207.  
  208.        NOTE 1: Specifying an E-factor < 1.0 implies that you wish to specify
  209.            inspection intensity in terms of SAMPLE SIZES inspected.  In this
  210.            case, QTMSIM will compute expectancies for you as follows:
  211.  
  212.                   EE = Equivalent Expectancy = Sample Size * E-factor.
  213.  
  214.            For example, if you inspect 250 units and the E-factor (quality
  215.            standard) is 0.004 defects/unit, then you "expect" to see one
  216.            defect, EE = 1, when quality is indeed at its "standard" level.
  217.  
  218.        NOTE 2: idum = 0 causes the start-up seed value to be generated using
  219.            your personal computer's System Clock.  When QTMSIM.EXE writes a
  220.            .SIM file in response to keyboard input, QTMSIM will always set
  221.            idum=0 so that successive QTMSIM runs can start at different points
  222.            in the pseudo-random sequence and, therefore, give different
  223.            results.  The seed value that actually gets used is recorded,
  224.            however, in the QTMSIM .OUT file.  If you use an editor to modify a
  225.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 5 of 22
  226.  
  227.  
  228.  
  229.            .SIM file and specify a non-zero seed, the exact same results will
  230.            be generated each time that scenario is executed by QTMSIM.
  231.  
  232.        NOTE 3: CAPQUANT software (a separate module in this "QA Training Tool"
  233.            series) can be used to convert almost any single (or pair) of
  234.            quantitative variable(s) into equivalent defects (nonconformances)
  235.            and expectancies.  The user can specify any one of ten types of
  236.            cost-of-poor-quality loss functions.  Due to "Poissonization",
  237.            Obenchain(1991), each EE is (at least, approximately,) both the
  238.            mean and the variance if its corresponding ED.  Thus, once you
  239.            know the range of EE values generated by ANY QUALITY PROCESS, you
  240.            have all the information needed to use QTMSIM to simulate behavior
  241.            of the QMP or WAMOC algorithms in trending that process!
  242.  
  243.  
  244.                  ┌────────────────────────────────────────────────────┐
  245.                  │  Naming Conventions for QTMSIM Input/Output Files  │
  246.                  └────────────────────────────────────────────────────┘
  247.  
  248.        QTMSIM uses three different sorts of input/output files, with 4-
  249.        character filename EXTensions of .WIN, .OUT, and .SIM.  The contents
  250.        of these three types of QTMSIM input/output files are as follows...
  251.  
  252.        =======================================================================
  253.         .WIN  ==> The QTMSIM output file suitable for input to either the
  254.                   QMPCHART.EXE or WAMOC.EXE trend charting modules (VGA.)
  255.        =======================================================================
  256.  
  257.                       I                                  ...I, F, or B
  258.                       Year-to-Date                       ...Year Identifier
  259.                       12                                 ...Number of Periods
  260.                       1 2 3 4 5 6 7 8 9 0 A B            ...Period Labels
  261.                       QTM Simulation Scenario            ...1st Title
  262.                       Batch Input File = FILENAME.WIN    ...2nd Title
  263.                       Equivalent Nonconformances         ...1st Footer
  264.                       and Equivalent Expectancies        ...2nd Footer
  265.                       QMP Window Width                   ...1 to 12
  266.                       Expectancy Factor                  ...0 to 999
  267.                       Audible Signaling Speed            ...0.0 to 2.0
  268.                       Number of History Periods          ...0 to WinWidth-1
  269.                       expectancy defects
  270.                       expectancy defects    [2 numerical values on each row]
  271.                       expectancy defects
  272.                       ...
  273.  
  274.        NOTE: You may use your favorite text file editor or word processor to
  275.              modify/customize the first 8 to 12 lines of a .WIN file.  In
  276.              fact, it will be NECESSARY to modify the 3rd and 4th lines
  277.              whenever your simulation scenario does not include all 12 of the
  278.              plotting periods supported by QTMSIM.
  279.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 6 of 22
  280.  
  281.  
  282.  
  283.        =======================================================================
  284.          .OUT ==> The QTMSIM detailed output file, including...
  285.        =======================================================================
  286.  
  287.  
  288.           Wed Feb 23 22:33:52 1994  ...Date/Time Stamp
  289.                       Q             ...Moving Average Type, QMP or WAMOC
  290.                       P             ...Distribution, Gamma or Poisson
  291.                       FILENAME.SIM  ...Simulation Save-Input
  292.                       FILENAME.WIN  ...Moving Average Analysis File
  293.                       -19023        ...Actual Startup Seed
  294.                        6            ...Window Width
  295.                       1.000         ...Expectancy Factor
  296.                        5            ...History Periods
  297.  
  298.                 NEXT: 3 measures for each history period in FIRST CYCLE...
  299.                       truei = true quality level index for that period
  300.                       defct = Poisson defectes generated (intensity = truei*exptc)
  301.                       exptc = equivalent expectancy
  302.  
  303.                        truei  defct  exptc
  304.                         0.65  64.00 100.00
  305.                         2.71 279.00 100.00
  306.                         0.35  37.00 100.00
  307.                         1.32 151.00 100.00
  308.                         1.60 164.00 100.00
  309.  
  310.                 NEXT: 12 measures for each plotting period in FIRST CYCLE...
  311.                       truei = true quality level index for that reporting period
  312.                       defct = Poisson defectes generated (intensity = truei*exptc)
  313.                       exptc = equivalent expectancy
  314.                         q95 = lower 95% quality index for current period
  315.                          q5 = upper  5% quality index for current period
  316.                        best = best measure of current quality
  317.                        pavg = process average quality over current window
  318.                        indx = raw quality index for current period
  319.                        symb = plotting symbol for current index
  320.                        pvar = variance of current process average
  321.                        bvar = variance of current best measure
  322.                        pfac = P - factor
  323.  
  324.    truei  defct  exptc  q95   q5    best  pavg  indx symb pvar   bvar   pfac
  325.     1.07  94.00 100.00  1.113 0.796 0.949 1.306 0.940 X   0.518  0.009  0.071
  326.     1.06 108.00 100.00  1.264 0.925 1.089 1.377 1.080 X   0.456  0.011  0.064
  327.     0.38  44.00 100.00  0.587 0.361 0.468 0.997 0.440 X   0.185  0.005  0.023
  328.     0.23  31.00 100.00  0.447 0.250 0.342 0.987 0.310 X   0.197  0.004  0.024
  329.     2.36 227.00 100.00  2.487 1.998 2.237 1.110 2.270 X   0.374  0.022  0.048
  330.     0.66  69.00 100.00  0.839 0.567 0.697 0.956 0.690 X   0.342  0.007  0.042
  331.     0.77  73.00 100.00  0.880 0.601 0.735 0.922 0.730 X   0.349  0.007  0.043
  332.     1.21 112.00 100.00  1.292 0.949 1.115 0.929 1.120 X   0.350  0.011  0.043
  333.     1.82 194.00 100.00  2.149 1.698 1.918 1.171 1.940 X   0.404  0.019  0.053
  334.     0.14   8.00 100.00  0.169 0.054 0.105 1.134 0.080 X   0.466  0.001  0.060
  335.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 7 of 22
  336.  
  337.  
  338.  
  339.     0.51  57.00 100.00  0.708 0.461 0.579 0.859 0.570 X   0.270  0.006  0.033
  340.     1.11  93.00 100.00  1.091 0.778 0.929 0.898 0.930 X   0.265  0.009  0.032
  341.  
  342.                 NEXT: I-plot coverage summary for FIRST CYCLE...
  343.  
  344.                            True Index  Above I ... 1 times
  345.                            True Index Within I ... 10 times
  346.                            True Index  Below I ... 1 times
  347.  
  348.  
  349.                 FINALLY: I-plot coverage summary for all non-display cycles...
  350.  
  351.                            Elapsed Simulation Time (seconds) = 509
  352.                            Summary of QTMSIM Results in 5002 Cycles...
  353.  
  354.                             Expect TruIdx  Below Within  Above
  355.  
  356.                             100.00   1.07   4.82  90.30   4.88
  357.                             100.00   1.06   4.56  90.14   5.30
  358.                             100.00   0.38   1.44  88.76   9.80
  359.                             100.00   0.23   0.56  87.23  12.22
  360.                             100.00   2.36   8.02  88.74   3.24
  361.                             100.00   0.66   4.56  90.40   5.04
  362.                             100.00   0.77   4.80  90.14   5.06
  363.                             100.00   1.21   6.06  90.02   3.92
  364.                             100.00   1.82   6.96  89.36   3.68
  365.                             100.00   0.14   0.64  88.42  10.94
  366.                             100.00   0.51   3.64  90.44   5.92
  367.                             100.00   1.11   6.40  89.96   3.64
  368.  
  369.                             Overall % :     4.37  89.50   6.13
  370.                             Precision +/-  0.289  0.434  0.339
  371.  
  372.        =======================================================================
  373.          .SIM ==> The QTMSIM simulation scenario batch input file, including...
  374.        =======================================================================
  375.  
  376.                  0       ...Seed (0 => Use Clock to get Startup Seed.)
  377.                  6       ...Moving Average Window Width
  378.                  1.000   ...Expectancy Factor
  379.                  0.0     ...Audible Signaling Speed (0.0 => NONE.)
  380.                  5       ...Number of History Periods
  381.                    2.00  ...expectancy
  382.                    1.00  ...trueindx
  383.                    ...
  384.                  quit    ...an end of data signal is needed if fewer than
  385.                             twelve simulation/display periods are defined.
  386.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 8 of 22
  387.  
  388.  
  389.  
  390.                    ┌───────────────────────────────────────────┐
  391.                    │  Resetting QMP/WAMOC Internal Parameters  │
  392.                    └───────────────────────────────────────────┘
  393.  
  394.        If files named QMP-PARM.SET and WAMOPARM.SET are located within the
  395.        "current working directory" from which QTMSIM.EXE is invoked, QTMSIM
  396.        will read in one of these files to initialize its parameters.
  397.  
  398.        Otherwise the following defaults will be used:
  399.  
  400.        ┌────────────────┐
  401.        │  QMP-PARM.SET  │
  402.        ├────────────────┴────────────────────────────────────────────────────┐
  403.        │  0.4  =  e0, start-up equivalent expectancy                         │
  404.        │  0.4  =  x0, start-up equivalent defects = theta0 * e0              │
  405.        │  1.0  =  I0, start-up quality index                                 │
  406.        │  0.55 =  gamma0, prior mean of gammasq, the process variance        │
  407.        │  2.2  =  maxgammasq, 95% point of the prior distribution of gammasq │
  408.        │  1.0  =  sigma0, variables QMP prior sampling variance              │
  409.        │  1.0  =  QTMtunes, audible signaling speed factor [0.0,2.0]         │
  410.        └─────────────────────────────────────────────────────────────────────┘
  411.  
  412.        ┌────────────────┐
  413.        │  WAMOPARM.SET  │
  414.        ├────────────────┴────────────────────────────────────────────────────┐
  415.        │  0.1  =  e0, equivalent expectancy for diffuse prior                │
  416.        │  0.1  =  d0, equivalent defects for diffuse prior                   │
  417.        │  1.0  =  theta0, default quality index value                        │
  418.        │  0.35 =  gamma0, prior mean of gammasq, the process variance        │
  419.        │  1.0  =  QTMtunes, audible signaling time factor [0.0,2.0]          │
  420.        └─────────────────────────────────────────────────────────────────────┘
  421.  
  422.        NOTE: Setting the QTMtunes parameter value to 0.0 in QMP-PARM.SET and
  423.        WAMOPARM.SET would make it impossible for QTMSIM.EXE to use "audible
  424.        signaling."  But, as long as either no ".SET" file is present in the
  425.        current working directory or else the QMPtunes parameter setting is
  426.        greater than 0.0 in the .SET file, audible signaling can occur.  Under
  427.        these latter circumstances, the QMPtunes setting either entered from
  428.        your Keyboard or read from a Scenario (.SIM) input file will govern
  429.        audible signaling.
  430.  
  431.            QMPtunes = 1.0 gives acceptable signaling speed on 20 to 40 Mhz
  432.            386/486 machines.
  433.  
  434.            A much faster machine might need the QTMtunes = 2.0 setting to
  435.            make the tunes understandable, while a very slow machine might
  436.            need the QTMtunes = 0.5 setting to speed the tunes up.
  437.  
  438.        QMPtune's audible tones provide some not-particularly-subtle "aids-to-
  439.        interpretation" of each I-plot on a QTM Trend Chart...
  440.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 9 of 22
  441.  
  442.  
  443.  
  444.                    Case 1:  q95 <= 1     High Quality...CHARGE Ahead!!!
  445.                    Case 2: q5<1 & q95>1  At Standard....no sound
  446.                    Case 3:  q5  >  1     Below Normal...a DEATH in your
  447.                                                         immediate family.
  448.  
  449.  
  450.                        ┌────────────────────────────────────┐
  451.                        │     Example .SIM Scenario Files    │
  452.                        └────────────────────────────────────┘
  453.  
  454.        The five simulation scenario files distributed with QTMSIM.EXE
  455.        illustrate a variety of situations:
  456.  
  457.              STABLE.SIM    ...quality stays fixed at the standard level
  458.              LARGESAM.SIM  ...very high per period sampling information
  459.              ONESHIFT.SIM  ...sudden shift in quality level
  460.              TRENDOWN.SIM  ...steady downward trend in quality
  461.              ZIGZAG.SIM    ...quality level jumps between just 2 levels
  462.  
  463.        Because the type of Moving Average smoothing (QMP or WAMOC) and the
  464.        parametric form of simulation distribution (Poisson or standardized
  465.        Gamma) is not specified within the .SIM file, each of the above five
  466.        files can actually be used to simulate four different QTMSIM parameter
  467.        combinations.
  468.  
  469.                         ┌────────────────────────────────────────────┐
  470.                         │  Results from QTMSIM Simulation Scenarios  │
  471.                         └────────────────────────────────────────────┘
  472.  
  473.        [1] The "Large Sample" Scenario...
  474.        ==================================
  475.  
  476.           Five History Periods ( Window Width = 6 ) followed by Twelve Moving
  477.           Average Analysis Periods in which...
  478.  
  479.               Per Period Nonconformance Expectancy is VERY large (100.0).
  480.               ...As a direct result, the variability in sample quality
  481.                  indices (X) about their true levels (T) is SMALL.
  482.  
  483.               The true quality levels for the 17 periods is a pseudo-random
  484.               sample from a Gamma distribution with mean = variance = 1.0.
  485.  
  486.        NOTE: Almost regardless of the pattern of variability in the true
  487.        quality levels in this sort of very-low-sampling-variability scenario,
  488.        the confidence intervals resulting from moving average analyses
  489.        "should" come very close to achieving their nominal 90% confidence
  490.        levels...even though these intervals will tend to be quite narrow in
  491.        these "high information" cases!
  492.  
  493.                ***************************************************
  494.                Q             ...Moving Average Type, QMP or WAMOC
  495.                P             ...Distribution, Gamma or Poisson
  496.                -11336        ...Actual Startup Seed
  497.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 10 of 22
  498.  
  499.  
  500.  
  501.                Elapsed Simulation Time (seconds) = 509
  502.                Summary of QTMSIM Results in 5002 Cycles...
  503.  
  504.                 Expect TruIdx  Below Within  Above
  505.  
  506.                 100.00   1.07   4.82  90.30   4.88
  507.                 100.00   1.06   4.56  90.14   5.30
  508.                 100.00   0.38   1.44  88.76   9.80
  509.                 100.00   0.23   0.56  87.23  12.22
  510.                 100.00   2.36   8.02  88.74   3.24
  511.                 100.00   0.66   4.56  90.40   5.04
  512.                 100.00   0.77   4.80  90.14   5.06
  513.                 100.00   1.21   6.06  90.02   3.92
  514.                 100.00   1.82   6.96  89.36   3.68
  515.                 100.00   0.14   0.64  88.42  10.94
  516.                 100.00   0.51   3.64  90.44   5.92
  517.                 100.00   1.11   6.40  89.96   3.64
  518.  
  519.                 Overall % :     4.37  89.50   6.13
  520.                 Precision +/-  0.289  0.434  0.339
  521.                ***************************************************
  522.                Q             ...Moving Average Type, QMP or WAMOC
  523.                G             ...Distribution, Gamma or Poisson
  524.                -13182        ...Actual Startup Seed
  525.                Elapsed Simulation Time (seconds) = 468
  526.                Summary of QTMSIM Results in 5000 Cycles...
  527.  
  528.                 Expect TruIdx  Below Within  Above
  529.  
  530.                 100.00   1.07   4.78  90.00   5.22
  531.                 100.00   1.06   4.12  90.08   5.80
  532.                 100.00   0.38   1.02  89.36   9.62
  533.                 100.00   0.23   0.20  87.14  12.66
  534.                 100.00   2.36   7.68  88.42   3.90
  535.                 100.00   0.66   3.88  91.28   4.84
  536.                 100.00   0.77   4.78  90.16   5.06
  537.                 100.00   1.21   5.54  90.04   4.42
  538.                 100.00   1.82   6.64  89.38   3.98
  539.                 100.00   0.14   0.20  89.48  10.32
  540.                 100.00   0.51   3.44  90.90   5.66
  541.                 100.00   1.11   5.04  91.40   3.56
  542.  
  543.                 Overall % :     3.94  89.80   6.25
  544.                 Precision +/-  0.275  0.428  0.342
  545.                ***************************************************
  546.                W             ...Moving Average Type, QMP or WAMOC
  547.                P             ...Distribution, Gamma or Poisson
  548.                -12516        ...Actual Startup Seed
  549.                Elapsed Simulation Time (seconds) = 613
  550.                Summary of QTMSIM Results in 5000 Cycles...
  551.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 11 of 22
  552.  
  553.  
  554.  
  555.                 Expect TruIdx  Below Within  Above
  556.  
  557.                 100.00   1.07   2.30  91.06   6.64
  558.                 100.00   1.06   4.46  90.94   4.60
  559.                 100.00   0.38   1.02  69.02  29.96
  560.                 100.00   0.23   3.34  87.96   8.70
  561.                 100.00   2.36  10.14  86.98   2.88
  562.                 100.00   0.66   1.28  91.00   7.72
  563.                 100.00   0.77   1.92  91.06   7.02
  564.                 100.00   1.21   4.64  91.08   4.28
  565.                 100.00   1.82   7.52  90.50   1.98
  566.                 100.00   0.14   0.52  77.54  21.94
  567.                 100.00   0.51   4.34  91.02   4.64
  568.                 100.00   1.11   6.98  91.08   1.94
  569.  
  570.                 Overall % :     4.04  87.44   8.53
  571.                 Precision +/-  0.278  0.469  0.395
  572.                ***************************************************
  573.                W             ...Moving Average Type, QMP or WAMOC
  574.                G             ...Distribution, Gamma or Poisson
  575.                -11909        ...Actual Startup Seed
  576.                Elapsed Simulation Time (seconds) = 574
  577.                Summary of QTMSIM Results in 5000 Cycles...
  578.  
  579.                 Expect TruIdx  Below Within  Above
  580.  
  581.                 100.00   1.07   2.26  91.22   6.52
  582.                 100.00   1.06   5.28  89.80   4.92
  583.                 100.00   0.38   0.42  71.44  28.14
  584.                 100.00   0.23   1.94  89.66   8.40
  585.                 100.00   2.36   9.54  87.42   3.04
  586.                 100.00   0.66   0.90  91.22   7.88
  587.                 100.00   0.77   1.40  91.76   6.84
  588.                 100.00   1.21   5.18  90.62   4.20
  589.                 100.00   1.82   8.16  89.42   2.42
  590.                 100.00   0.14   0.16  81.38  18.46
  591.                 100.00   0.51   3.64  91.62   4.74
  592.                 100.00   1.11   6.90  91.22   1.88
  593.  
  594.                 Overall % :     3.82  88.07   8.12
  595.                 Precision +/-  0.271  0.458  0.386
  596.                ***************************************************
  597.  
  598.        Conclusions:
  599.  
  600.          (a) In this "Large Sample" scenario, both moving average methods (QMP
  601.              and WAMOC) performed close to expectations.
  602.  
  603.                  The coverage probabilities of QMP I-plots (89.50% and
  604.                  89.80%) were somewhat closer to their nominal 90% level than
  605.                  were those of WAMOC I-plots (87.44% and 88.07%.)
  606.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 12 of 22
  607.  
  608.  
  609.  
  610.                  Both QMP and WAMOC I-plots are biased very slightly downward
  611.                  (toward undesirable, high quality indices.)  When the true
  612.                  level is not within the nominal 90% I-plot interval, it is
  613.                  somewhat more likely to be above the I than below it.
  614.  
  615.          (b) Results using Gamma and Poisson deviates were quite similar.
  616.  
  617.  
  618.        [2] The "Perfectly Stable Process" Scenario...
  619.        ==============================================
  620.           Five History Periods ( Window Width = 6 )...
  621.           Followed by Twelve Moving Average Analysis Periods...
  622.  
  623.               For EVERY Period, True Index = 1.00 and Expectancy = 2.00
  624.  
  625.                ***************************************************
  626.                Q             ...Moving Average Type, QMP or WAMOC
  627.                P             ...Distribution, Gamma or Poisson
  628.                -19536        ...Actual Startup Seed
  629.  
  630.                Elapsed Simulation Time (seconds) = 55
  631.                Summary of QTMSIM Results in 2500 Cycles...
  632.  
  633.                 Expect TruIdx  Below Within  Above
  634.  
  635.                   2.00   1.00   2.24  97.00   0.76
  636.                   2.00   1.00   1.96  97.04   1.00
  637.                   2.00   1.00   2.04  97.08   0.88
  638.                   2.00   1.00   1.72  97.28   1.00
  639.                   2.00   1.00   1.64  97.52   0.84
  640.                   2.00   1.00   2.04  97.00   0.96
  641.                   2.00   1.00   1.88  97.48   0.64
  642.                   2.00   1.00   1.32  97.88   0.80
  643.                   2.00   1.00   1.60  97.64   0.76
  644.                   2.00   1.00   1.88  97.40   0.72
  645.                   2.00   1.00   1.76  97.20   1.04
  646.                   2.00   1.00   1.88  97.52   0.60
  647.  
  648.                 Overall % :     1.83  97.34   0.83
  649.  
  650.                ***************************************************
  651.                Q             ...Moving Average Type, QMP or WAMOC
  652.                G             ...Distribution, Gamma or Poisson
  653.                -24842        ...Actual Startup Seed
  654.                Elapsed Simulation Time (seconds) = 61
  655.                Summary of QTMSIM Results in 2500 Cycles...
  656.  
  657.                 Expect TruIdx  Below Within  Above
  658.  
  659.                   2.00   1.00   0.44  99.04   0.52
  660.                   2.00   1.00   0.40  98.72   0.88
  661.                   2.00   1.00   0.08  99.24   0.68
  662.                   2.00   1.00   0.24  99.04   0.72
  663.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 13 of 22
  664.  
  665.  
  666.  
  667.                   2.00   1.00   0.16  98.76   1.08
  668.                   2.00   1.00   0.32  98.64   1.04
  669.                   2.00   1.00   0.48  98.60   0.92
  670.                   2.00   1.00   0.24  98.84   0.92
  671.                   2.00   1.00   0.20  98.80   1.00
  672.                   2.00   1.00   0.00  99.08   0.92
  673.                   2.00   1.00   0.16  98.56   1.28
  674.                   2.00   1.00   0.32  98.80   0.88
  675.  
  676.                 Overall % :     0.25  98.84   0.90
  677.                ***************************************************
  678.                W             ...Moving Average Type, QMP or WAMOC
  679.                P             ...Distribution, Gamma or Poisson
  680.                -24687        ...Actual Startup Seed
  681.                Elapsed Simulation Time (seconds) = 63
  682.                Summary of QTMSIM Results in 2500 Cycles...
  683.  
  684.                 Expect TruIdx  Below Within  Above
  685.  
  686.                   2.00   1.00   2.68  96.64   0.68
  687.                   2.00   1.00   2.96  96.48   0.56
  688.                   2.00   1.00   2.48  97.28   0.24
  689.                   2.00   1.00   2.36  96.96   0.68
  690.                   2.00   1.00   2.68  96.88   0.44
  691.                   2.00   1.00   3.04  96.72   0.24
  692.                   2.00   1.00   3.20  96.08   0.72
  693.                   2.00   1.00   3.28  96.32   0.40
  694.                   2.00   1.00   3.44  96.16   0.40
  695.                   2.00   1.00   3.00  96.64   0.36
  696.                   2.00   1.00   2.96  96.52   0.52
  697.                   2.00   1.00   2.96  96.28   0.76
  698.  
  699.                 Overall % :     2.92  96.58   0.50
  700.                ***************************************************
  701.                W             ...Moving Average Type, QMP or WAMOC
  702.                G             ...Distribution, Gamma or Poisson
  703.                -19630        ...Actual Startup Seed
  704.                Elapsed Simulation Time (seconds) = 62
  705.                Summary of QTMSIM Results in 2500 Cycles...
  706.  
  707.                 Expect TruIdx  Below Within  Above
  708.  
  709.                   2.00   1.00   0.16  98.52   1.32
  710.                   2.00   1.00   0.28  98.68   1.04
  711.                   2.00   1.00   0.20  99.32   0.48
  712.                   2.00   1.00   0.28  99.12   0.60
  713.                   2.00   1.00   0.32  98.84   0.84
  714.                   2.00   1.00   0.32  98.88   0.80
  715.                   2.00   1.00   0.24  98.92   0.84
  716.                   2.00   1.00   0.20  98.76   1.04
  717.                   2.00   1.00   0.04  98.72   1.24
  718.                   2.00   1.00   0.24  99.08   0.68
  719.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 14 of 22
  720.  
  721.  
  722.  
  723.                   2.00   1.00   0.12  99.20   0.68
  724.                   2.00   1.00   0.24  99.04   0.72
  725.  
  726.                 Overall % :     0.22  98.92   0.86
  727.                ***************************************************
  728.  
  729.        Conclusions:
  730.  
  731.          (a) In this "Perfectly Stable Process" scenario, the two moving
  732.              average methodologies (QMP and WAMOC) performed quite similarly.
  733.              In both cases, the confidence levels of I-plots were
  734.              consistently much higher (averaging 97% to 98%) than their
  735.              intended 90% nominal level.
  736.  
  737.          (b) Results using Gamma and Poisson deviates are quite similar.
  738.  
  739.                           ┌──────────────────────┬───────────────────────┐
  740.                           │        Poisson       │       Std. Gamma      │
  741.              ┌────────────┼──────────────────────┼───────────────────────┤
  742.              │            │  below within  above │  below within  above  │
  743.              │  QMP       │   1.83  97.34   0.83 │   0.25  98.84   0.90  │
  744.              ├────────────┼──────────────────────┼───────────────────────┤
  745.              │            │  below within  above │  below within  above  │
  746.              │  WAMOC     │   2.92  96.58   0.50 │   0.22  98.92   0.86  │
  747.              └────────────┴──────────────────────┴───────────────────────┘
  748.  
  749.  
  750.        [3] The "Sudden Downward Shift" Scenario...
  751.        ===========================================
  752.           Five Stable History Periods ( Window Width = 6 )...
  753.                 Expectancy = 2; True Quality Level = 1.00.
  754.           Followed by Twelve Moving Average Alanysis Periods...
  755.                           Period Number: 01 02 03 04 05 06 07 08 09 10 11 12
  756.                      True Quality Level:  1  1  1  1  1  1  3  3  3  3  3  3
  757.                              Expectancy:  2  2  2  2  1  1  1  1  2  2  2  2
  758.  
  759.                ***************************************************
  760.                Q             ...MA Type, QMP or WAMOC
  761.                G             ...Distribution, Gamma or Poisson
  762.                  -145        ...Actual Startup Seed
  763.                 6            ...Window Size
  764.                 5            ...History Periods
  765.  
  766.                Elapsed Simulation Time (seconds) = 209
  767.                Summary of QTMSIM Results in 2500 Cycles...
  768.  
  769.                 Expect TruIdx  Below Within  Above
  770.  
  771.                   2.00   1.00   0.84  97.68   1.48
  772.                   2.00   1.00   1.04  97.64   1.32
  773.                   2.00   1.00   0.76  97.92   1.32
  774.                   2.00   1.00   1.12  97.88   1.00
  775.                   1.00   1.00   0.52  98.60   0.88
  776.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 15 of 22
  777.  
  778.  
  779.  
  780.                   1.00   1.00   0.44  98.60   0.96
  781.                   1.00   3.00  62.00  37.64   0.36
  782.                   1.00   3.00  46.68  53.12   0.20
  783.                   2.00   3.00  24.88  75.04   0.08
  784.                   2.00   3.00  12.20  87.52   0.28
  785.                   2.00   3.00   6.24  93.44   0.32
  786.                   2.00   3.00   2.80  96.08   1.12
  787.  
  788.                 Overall % :    13.29  85.93   0.78
  789.                ***************************************************
  790.                Q             ...MA Type, QMP or WAMOC
  791.                P             ...Distribution, Gamma or Poisson
  792.                  -171        ...Actual Startup Seed
  793.                 6            ...Window Size
  794.                 5            ...History Periods
  795.  
  796.                Elapsed Simulation Time (seconds) = 212
  797.                Summary of QTMSIM Results in 2500 Cycles...
  798.  
  799.                 Expect TruIdx  Below Within  Above
  800.  
  801.                   2.00   1.00   2.40  96.36   1.24
  802.                   2.00   1.00   1.84  97.28   0.88
  803.                   2.00   1.00   1.92  97.48   0.60
  804.                   2.00   1.00   2.20  96.96   0.84
  805.                   1.00   1.00   1.52  97.96   0.52
  806.                   1.00   1.00   1.56  97.72   0.72
  807.                   1.00   3.00  59.40  40.56   0.04
  808.                   1.00   3.00  41.92  58.08   0.00
  809.                   2.00   3.00  23.32  76.68   0.00
  810.                   2.00   3.00  11.16  88.76   0.08
  811.                   2.00   3.00   5.20  94.48   0.32
  812.                   2.00   3.00   3.36  95.84   0.80
  813.  
  814.                 Overall % :    12.98  86.51   0.50
  815.                ***************************************************
  816.                W             ...MA Type, QMP or WAMOC
  817.                G             ...Distribution, Gamma or Poisson
  818.                 -9124        ...Actual Startup Seed
  819.                 6            ...Window Width
  820.                 5            ...History Periods
  821.                Elapsed Simulation Time (seconds) = 244
  822.                Summary of QTMSIM Results in 2500 Cycles...
  823.  
  824.                 Expect TruIdx  Below Within  Above
  825.  
  826.                   2.00   1.00   0.52  98.72   0.76
  827.                   2.00   1.00   0.40  98.80   0.80
  828.                   2.00   1.00   0.28  98.68   1.04
  829.                   2.00   1.00   0.28  98.72   1.00
  830.                   1.00   1.00   0.00  99.40   0.60
  831.                   1.00   1.00   0.08  99.52   0.40
  832.                   1.00   3.00  14.00  85.20   0.80
  833.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 16 of 22
  834.  
  835.  
  836.  
  837.                   1.00   3.00   3.68  95.40   0.92
  838.                   2.00   3.00   2.64  95.72   1.64
  839.                   2.00   3.00   1.00  97.24   1.76
  840.                   2.00   3.00   0.52  97.68   1.80
  841.                   2.00   3.00   0.40  98.60   1.00
  842.  
  843.                 Overall % :     1.98  96.97   1.04
  844.                ***************************************************
  845.                W             ...MA Type, QMP or WAMOC
  846.                P             ...Distribution, Gamma or Poisson
  847.                 -8696        ...Actual Startup Seed
  848.                 6            ...Window Width
  849.                 5            ...History Periods
  850.                Elapsed Simulation Time (seconds) = 245
  851.                Summary of QTMSIM Results in 2500 Cycles...
  852.  
  853.                 Expect TruIdx  Below Within  Above
  854.  
  855.                   2.00   1.00   2.64  96.88   0.48
  856.                   2.00   1.00   2.28  97.36   0.36
  857.                   2.00   1.00   2.28  97.36   0.36
  858.                   2.00   1.00   2.44  96.96   0.60
  859.                   1.00   1.00   0.96  99.00   0.04
  860.                   1.00   1.00   1.40  98.48   0.12
  861.                   1.00   3.00  12.24  87.24   0.52
  862.                   1.00   3.00   5.88  93.60   0.52
  863.                   2.00   3.00   4.44  94.20   1.36
  864.                   2.00   3.00   2.08  96.84   1.08
  865.                   2.00   3.00   1.64  97.68   0.68
  866.                   2.00   3.00   2.00  97.60   0.40
  867.  
  868.                 Overall % :     3.36  96.10   0.54
  869.                ***************************************************
  870.  
  871.        Conclusions:
  872.  
  873.          (a) WAMOC seems to detect a sudden (downward) shift better than QMP.
  874.  
  875.              The confidence level of QMP I-plots quickly drops below 50% and
  876.              remains low for 3 or 4 periods; WAMOC I-plots maintain a
  877.              confidence level of at least 85% and also recover within 1 or 2
  878.              periods.
  879.  
  880.          (b) Results using Gamma and Poisson deviates are quite similar.
  881.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 17 of 22
  882.  
  883.  
  884.  
  885.        [4] The "Steady Downward Trend" Scenario...
  886.        ===========================================
  887.  
  888.           Five Stable History Periods ( Window Width = 6 )...
  889.                 Expectancy = 2; True Quality Level = 1.00.
  890.           Followed by Twelve Moving Average Alanysis Periods...
  891.                 Expectancy = 2; True Quality Level = 1.00 to 4.67 by 0.33
  892.  
  893.                ***************************************************
  894.                Q             ...MA Type, QMP or WAMOC
  895.                G             ...Distribution, Gamma or Poisson
  896.                -13704        ...Actual Startup Seed
  897.                 6            ...Window Width
  898.                 5            ...History Periods
  899.                Elapsed Simulation Time (seconds) = 234
  900.                Summary of QTMSIM Results in 2500 Cycles...
  901.  
  902.                 Expect TruIdx  Below Within  Above
  903.  
  904.                   2.00   1.00   0.96  97.60   1.44
  905.                   2.00   1.33   6.28  93.16   0.56
  906.                   2.00   1.67  15.92  83.72   0.36
  907.                   2.00   2.00  22.40  77.08   0.52
  908.                   2.00   2.33  26.24  73.48   0.28
  909.                   2.00   2.67  25.84  73.72   0.44
  910.                   2.00   3.00  23.52  76.36   0.12
  911.                   2.00   3.33  22.56  77.24   0.20
  912.                   2.00   3.67  22.00  77.92   0.08
  913.                   2.00   4.00  21.68  78.28   0.04
  914.                   2.00   4.33  20.96  79.04   0.00
  915.                   2.00   4.67  21.76  78.12   0.12
  916.  
  917.                 Overall % :    19.18  80.48   0.35
  918.                ***************************************************
  919.                Q             ...MA Type, QMP or WAMOC
  920.                P             ...Distribution, Gamma or Poisson
  921.                -14076        ...Actual Startup Seed
  922.                 6            ...Window Width
  923.                 5            ...History Periods
  924.                Elapsed Simulation Time (seconds) = 224
  925.                Summary of QTMSIM Results in 2500 Cycles...
  926.  
  927.                 Expect TruIdx  Below Within  Above
  928.  
  929.                   2.00   1.00   1.96  97.00   1.04
  930.                   2.00   1.33   7.24  92.60   0.16
  931.                   2.00   1.67  15.36  84.56   0.08
  932.                   2.00   2.00  20.44  79.36   0.20
  933.                   2.00   2.33  21.84  78.12   0.04
  934.                   2.00   2.67  25.04  74.96   0.00
  935.                   2.00   3.00  24.00  75.88   0.12
  936.                   2.00   3.33  21.60  78.36   0.04
  937.                   2.00   3.67  22.48  77.52   0.00
  938.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 18 of 22
  939.  
  940.  
  941.  
  942.                   2.00   4.00  20.04  79.96   0.00
  943.                   2.00   4.33  20.80  79.20   0.00
  944.                   2.00   4.67  19.96  80.04   0.00
  945.  
  946.                 Overall % :    18.40  81.46   0.14
  947.                ***************************************************
  948.                W             ...MA Type, QMP or WAMOC
  949.                P             ...Distribution, Gamma or Poisson
  950.                -11308        ...Actual Startup Seed
  951.                 6            ...Window Width
  952.                 5            ...History Periods
  953.                Elapsed Simulation Time (seconds) = 262
  954.                Summary of QTMSIM Results in 2500 Cycles...
  955.  
  956.                 Expect TruIdx  Below Within  Above
  957.  
  958.                   2.00   1.00   2.56  97.04   0.40
  959.                   2.00   1.33   2.76  96.88   0.36
  960.                   2.00   1.67   3.52  96.12   0.36
  961.                   2.00   2.00   3.48  96.12   0.40
  962.                   2.00   2.33   3.16  96.28   0.56
  963.                   2.00   2.67   2.64  96.84   0.52
  964.                   2.00   3.00   2.64  96.76   0.60
  965.                   2.00   3.33   2.48  96.92   0.60
  966.                   2.00   3.67   2.52  96.96   0.52
  967.                   2.00   4.00   1.76  97.84   0.40
  968.                   2.00   4.33   1.68  97.76   0.56
  969.                   2.00   4.67   1.40  97.84   0.76
  970.  
  971.                 Overall % :     2.55  96.95   0.50
  972.                ***************************************************
  973.                W             ...MA Type, QMP or WAMOC
  974.                G             ...Distribution, Gamma or Poisson
  975.                -10988        ...Actual Startup Seed
  976.                 6            ...Window Width
  977.                 5            ...History Periods
  978.                Elapsed Simulation Time (seconds) = 272
  979.                Summary of QTMSIM Results in 2500 Cycles...
  980.  
  981.                 Expect TruIdx  Below Within  Above
  982.  
  983.                   2.00   1.00   0.12  98.92   0.96
  984.                   2.00   1.33   1.28  98.04   0.68
  985.                   2.00   1.67   2.08  96.92   1.00
  986.                   2.00   2.00   2.20  96.68   1.12
  987.                   2.00   2.33   1.48  97.44   1.08
  988.                   2.00   2.67   1.12  98.08   0.80
  989.                   2.00   3.00   1.56  97.60   0.84
  990.                   2.00   3.33   1.20  97.84   0.96
  991.                   2.00   3.67   0.64  98.60   0.76
  992.                   2.00   4.00   1.04  98.28   0.68
  993.                   2.00   4.33   0.72  98.80   0.48
  994.                   2.00   4.67   1.12  97.72   1.16
  995.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 19 of 22
  996.  
  997.  
  998.  
  999.                 Overall % :     1.21  97.91   0.88
  1000.                ***************************************************
  1001.  
  1002.        Conclusions:
  1003.  
  1004.          (a) WAMOC seems to detect steady (downward) trends better than QMP.
  1005.  
  1006.              The confidence level of QMP I-plots quickly drops from the high
  1007.              90 percentiles down below 80%, while WAMOC I-plots maintain
  1008.              confidence levels in the high 90 percentiles.
  1009.  
  1010.          (b) Results using Gamma and Poisson deviates are quite similar.
  1011.  
  1012.  
  1013.  
  1014.        [5] The "ZigZag" Scenario...
  1015.        ============================
  1016.  
  1017.           Five History Periods ( Window Width = 6 )...
  1018.           Followed by Twelve Moving Average Alanysis Periods...
  1019.  
  1020.                True Quality level jumps back an forth between 0.50 and 1.50.
  1021.  
  1022.                    Note that true quality thus averages 1.00 and has
  1023.                    variance 0.25 within each window of 6 periods.
  1024.  
  1025.                Every Period has Nonconformance Expectancy = 2.00.
  1026.  
  1027.                    Note that the per period sampling variance at standard
  1028.                    quality (level 1.00) is thus 0.50.
  1029.  
  1030.                ***************************************************
  1031.                Q             ...Moving Average Type, QMP or WAMOC
  1032.                P             ...Distribution, Gamma or Poisson
  1033.                -10468        ...Actual Startup Seed
  1034.                At Cycles =  5000, Overall % :   7.98  85.87   6.15
  1035.                At Cycles = 10000, Overall % :   8.13  85.79   6.09
  1036.                At Cycles = 15000, Overall % :   8.21  85.76   6.03
  1037.                At Cycles = 20000, Overall % :   8.18  85.71   6.11
  1038.                At Cycles = 25000, Overall % :   8.15  85.69   6.16
  1039.                At Cycles = 30000, Overall % :   8.16  85.69   6.15
  1040.                At Cycles = 35000, Overall % :   8.14  85.70   6.16
  1041.  
  1042.                Elapsed Simulation Time (seconds) = 2930
  1043.                Summary of QTMSIM Results in 36004 Cycles...
  1044.  
  1045.                 Expect TruIdx  Below Within  Above
  1046.  
  1047.                   2.00   1.50  16.28  83.57   0.16
  1048.                   2.00   0.50   0.01  87.91  12.08
  1049.                   2.00   1.50  16.45  83.40   0.16
  1050.                   2.00   0.50   0.00  87.88  12.12
  1051.                   2.00   1.50  16.27  83.56   0.17
  1052.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 20 of 22
  1053.  
  1054.  
  1055.  
  1056.                   2.00   0.50   0.01  87.86  12.13
  1057.                   2.00   1.50  16.46  83.39   0.14
  1058.                   2.00   0.50   0.00  87.76  12.24
  1059.                   2.00   1.50  16.10  83.76   0.14
  1060.                   2.00   0.50   0.01  87.65  12.34
  1061.                   2.00   1.50  16.07  83.77   0.16
  1062.                   2.00   0.50   0.01  87.83  12.16
  1063.  
  1064.                 Overall % :     8.14  85.69   6.17
  1065.                ***************************************************
  1066.                Q             ...Moving Average Type, QMP or WAMOC
  1067.                G             ...Distribution, Gamma or Poisson
  1068.                -10468        ...Actual Startup Seed
  1069.                At Cycles = 2000, Overall % :   7.66  86.78   5.57
  1070.                At Cycles = 4000, Overall % :   7.72  86.81   5.46
  1071.                At Cycles = 6000, Overall % :   7.66  86.84   5.50
  1072.                At Cycles = 8000, Overall % :   7.65  86.83   5.52
  1073.  
  1074.                Elapsed Simulation Time (seconds) = 768
  1075.                Summary of QTMSIM Results in 10002 Cycles...
  1076.  
  1077.                 Expect TruIdx  Below Within  Above
  1078.  
  1079.                   2.00   1.50  15.93  83.61   0.46
  1080.                   2.00   0.50   0.00  89.57  10.43
  1081.                   2.00   1.50  15.45  84.01   0.54
  1082.                   2.00   0.50   0.00  89.60  10.40
  1083.                   2.00   1.50  15.21  84.20   0.59
  1084.                   2.00   0.50   0.00  89.12  10.88
  1085.                   2.00   1.50  15.31  84.16   0.53
  1086.                   2.00   0.50   0.00  89.41  10.59
  1087.                   2.00   1.50  14.91  84.61   0.48
  1088.                   2.00   0.50   0.00  89.50  10.50
  1089.                   2.00   1.50  15.67  83.77   0.56
  1090.                   2.00   0.50   0.00  89.64  10.36
  1091.  
  1092.                 Overall % :     7.71  86.77   5.53
  1093.                ***************************************************
  1094.                W             ...Moving Average Type, QMP or WAMOC
  1095.                P             ...Distribution, Gamma or Poisson
  1096.                -10468        ...Actual Startup Seed
  1097.                At Cycles = 2000, Overall % :   3.05  96.15   0.80
  1098.                At Cycles = 4000, Overall % :   3.03  96.16   0.81
  1099.                At Cycles = 6000, Overall % :   3.01  96.19   0.80
  1100.                At Cycles = 8000, Overall % :   3.05  96.14   0.81
  1101.  
  1102.                Elapsed Simulation Time (seconds) = 952
  1103.                Summary of QTMSIM Results in 10000 Cycles...
  1104.  
  1105.                 Expect TruIdx  Below Within  Above
  1106.  
  1107.                   2.00   1.50   5.58  94.03   0.39
  1108.                   2.00   0.50   0.98  97.87   1.15
  1109.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 21 of 22
  1110.  
  1111.  
  1112.  
  1113.                   2.00   1.50   5.49  94.07   0.44
  1114.                   2.00   0.50   0.98  97.78   1.24
  1115.                   2.00   1.50   4.93  94.68   0.39
  1116.                   2.00   0.50   0.77  98.02   1.21
  1117.                   2.00   1.50   5.11  94.49   0.40
  1118.                   2.00   0.50   0.90  97.89   1.21
  1119.                   2.00   1.50   5.51  94.15   0.34
  1120.                   2.00   0.50   1.07  97.58   1.35
  1121.                   2.00   1.50   5.12  94.47   0.41
  1122.                   2.00   0.50   0.83  97.87   1.30
  1123.  
  1124.                 Overall % :     3.11  96.08   0.82
  1125.                ***************************************************
  1126.                W             ...Moving Average Type, QMP or WAMOC
  1127.                G             ...Distribution, Gamma or Poisson
  1128.                -10468        ...Actual Startup Seed
  1129.                At Cycles = 2000, Overall % :   1.43  97.11   1.46
  1130.                At Cycles = 4000, Overall % :   1.42  97.13   1.45
  1131.                At Cycles = 6000, Overall % :   1.42  97.12   1.47
  1132.                At Cycles = 8000, Overall % :   1.42  97.13   1.45
  1133.  
  1134.                Elapsed Simulation Time (seconds) = 916
  1135.                Summary of QTMSIM Results in 10000 Cycles...
  1136.  
  1137.                 Expect TruIdx  Below Within  Above
  1138.  
  1139.                   2.00   1.50   3.04  96.07   0.89
  1140.                   2.00   0.50   0.06  98.02   1.92
  1141.                   2.00   1.50   2.95  96.07   0.98
  1142.                   2.00   0.50   0.06  98.08   1.86
  1143.                   2.00   1.50   2.64  96.28   1.08
  1144.                   2.00   0.50   0.02  98.02   1.96
  1145.                   2.00   1.50   2.76  96.20   1.04
  1146.                   2.00   0.50   0.08  98.05   1.87
  1147.                   2.00   1.50   2.74  96.32   0.94
  1148.                   2.00   0.50   0.03  98.28   1.69
  1149.                   2.00   1.50   2.91  96.00   1.09
  1150.                   2.00   0.50   0.05  98.09   1.86
  1151.  
  1152.                 Overall % :     1.45  97.12   1.43
  1153.                ***************************************************
  1154.  
  1155.        Conclusions:
  1156.  
  1157.          (1) In this "ZigZag" scenario, the two moving average methodologies
  1158.              displayed very different confidence levels.  Coverage of QMP
  1159.              I-plots dropped well below their nominal 90% level to only 86%
  1160.              to 87%, while WAMOC I-plot coverages remained well above their
  1161.              nominal 90% level at 96% to 97%.
  1162.           QTMsim, version 9403 . . . . . . . . . . . . . . . Page 22 of 22
  1163.  
  1164.  
  1165.  
  1166.          (2) Results using Gamma and Poisson deviates are quite similar.
  1167.  
  1168.  
  1169.                               ┌──────────────────────┐
  1170.                               │      REFERENCES      │
  1171.                               └──────────────────────┘
  1172.  
  1173.        AHRENS and DIETER(1974). "Computing methods for sampling from gamma,
  1174.                beta, poisson and binomial distributions."  Computing 12,
  1175.                223-246.
  1176.  
  1177.        HOADLEY, Bruce. (1981). "The Quality Measurement Plan, QMP."  Bell
  1178.                System Technical Journal, 60, 215-273.
  1179.  
  1180.        HOADLEY, Bruce. (1986). "QUALITY MEASUREMENT PLAN(QMP)."  Encyclopedia
  1181.                of Statistical Sciences. (Kotz, Johnson and Read, Editors)
  1182.                Volume 7, pages 393-398.  New York, John Wiley.
  1183.  
  1184.        INTRODUCTION TO QUALITY TREND CHARTS.  Bell Communications Research,
  1185.                Inc., January 1986 (18 page booklet.)
  1186.  
  1187.        L'ECUYER, Pierre (1988).  "Efficient and Portable Combined Random
  1188.               Number Generators."  Communications of the ACM 31, 742-749,774.
  1189.  
  1190.        OBENCHAIN, Robert. (1994). "Cumulative Capability Curves."  Submitted
  1191.                to Technometrics.
  1192.  
  1193.        PRESS, FLANNERY, TEUKOLSKY, and VETTERLING (1988), "Numerical Recipes
  1194.                in C: The Art of Scientific Computing."  [especially Chapter 7:
  1195.                Random Number Generation.]  Cambridge University Press. {Source
  1196.                Code: Copyright 1985, 1987 by Numerical Recipes Software P.O.Box
  1197.                243, Cambridge, MA 02238.}
  1198.  
  1199.        QUALITY MEASUREMENT PLAN (QMP).  Bell Communications Research Technical
  1200.                Reference, TR-TSY-000438.  Issue 1, April 1987.
  1201.  
  1202.  
  1203.        Software Update History:
  1204.        ========================
  1205.        9403 ...Original Version
  1206.  
  1207.