File size: 7,285 Bytes
128403f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>

<html lang="en" data-content_root="./">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Methods &#8212; AIM-CU 1.0.0 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=5ecbeea2" />
    <link rel="stylesheet" type="text/css" href="_static/basic.css?v=d35aba6c" />
    <link rel="stylesheet" type="text/css" href="_static/alabaster.css?v=0ca6144b" />
    <script src="_static/documentation_options.js?v=8d563738"></script>
    <script src="_static/doctools.js?v=9bcbadda"></script>
    <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    <script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="CUSUM" href="ref_cusum.html" />
    <link rel="prev" title="AIM-CU documentation" href="index.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  

  
  

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <section id="methods">
<h1>Methods<a class="headerlink" href="#methods" title="Link to this heading"></a></h1>
<section id="cusum-parameters">
<h2>CUSUM parameters<a class="headerlink" href="#cusum-parameters" title="Link to this heading"></a></h2>
<table class="docutils align-default" id="id1">
<caption><span class="caption-text">CUSUM parameters</span><a class="headerlink" href="#id1" title="Link to this table"></a></caption>
<thead>
<tr class="row-odd"><th class="head"><p>Parameter</p></th>
<th class="head"><p>Description</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>μ_in</p></td>
<td><p>The mean of the performance metric when the process is in-control, i.e., when there is no performance drift</p></td>
</tr>
<tr class="row-odd"><td><p>ARL_0</p></td>
<td><p>Number of observations before the control chart signals a false detection</p></td>
</tr>
<tr class="row-even"><td><p>σ_in</p></td>
<td><p>The in-control standard deviation of the metric</p></td>
</tr>
<tr class="row-odd"><td><p>ARL_1</p></td>
<td><p>Number of observations before the control chart signals a true detection</p></td>
</tr>
<tr class="row-even"><td><p>k</p></td>
<td><p>The normalized reference value, which is related to the magnitude of change that one is interested in detecting. k = 0.5 is the default choice for detecting a unit standard deviation change</p></td>
</tr>
<tr class="row-odd"><td><p>S_hi</p></td>
<td><p>Cumulative sum of positive changes in the metric</p></td>
</tr>
<tr class="row-even"><td><p>h</p></td>
<td><p>The normalized threshold or control limit (default =4). This threshold determines when the control chart signals a detection</p></td>
</tr>
<tr class="row-odd"><td><p>S_lo</p></td>
<td><p>Cumulative sum of negative changes in the metric</p></td>
</tr>
</tbody>
</table>
</section>
<section id="cusum-chart">
<h2>CUSUM chart<a class="headerlink" href="#cusum-chart" title="Link to this heading"></a></h2>
<p>A two-sided CUSUM control chart computes the cumulative differences or
deviations of individual observations from the target mean (or
in-control mean, <span class="math notranslate nohighlight">\(\mu_{in}\)</span>). The positive and negative cumulative
sums are calculated:</p>
<div class="math notranslate nohighlight">
\[\begin{split}\\ S_{hi}(d) = max(0, S_{hi}(d-1) + x_d  - \hat{\mu}_{in} - K)
\\ S_{lo}(d) = max(0, S_{lo}(d-1) - x_d +  \hat{\mu}_{in} - K)\end{split}\]</div>
<p>where <em>d</em> denotes a unit of time, <span class="math notranslate nohighlight">\(x_d\)</span> is the value of quantity
being monitored at time <span class="math notranslate nohighlight">\(d\)</span>, <span class="math notranslate nohighlight">\(\hat{\mu}_{in}\)</span> is the
in-control mean of <span class="math notranslate nohighlight">\(x_d\)</span>, and <span class="math notranslate nohighlight">\(K\)</span> is a “reference value”
related to the magnitude of change that one is interested in detecting.
<span class="math notranslate nohighlight">\(S_{hi}\)</span> and <span class="math notranslate nohighlight">\(S_{lo}\)</span> are the cumulative sum of positive and
negative changes. To detect a change in the observed values from the
in-control mean, the CUSUM scheme accumulates deviations that are
<span class="math notranslate nohighlight">\(K\)</span> units away from the in-control mean. Let <span class="math notranslate nohighlight">\(\sigma_{in}\)</span>
denote the in-control standard deviation of <span class="math notranslate nohighlight">\(x_d\)</span>.</p>
</section>
</section>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="Main">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">AIM-CU</a></h1>






<p>
<iframe src="https://ghbtns.com/github-btn.html?user=DIDSR&repo=AIM-CU&type=watch&count=true&size=large&v=2"
  allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
</p>






<search id="searchbox" style="display: none" role="search">
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Methods</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#cusum-parameters">CUSUM parameters</a></li>
<li class="toctree-l2"><a class="reference internal" href="#cusum-chart">CUSUM chart</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ref_cusum.html">CUSUM</a></li>
<li class="toctree-l1"><a class="reference internal" href="ref_theoretical.html">ARLTheoretical</a></li>
<li class="toctree-l1"><a class="reference internal" href="ref_utils.html">Utils</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.html">Documentation overview</a><ul>
      <li>Previous: <a href="index.html" title="previous chapter">AIM-CU documentation</a></li>
      <li>Next: <a href="ref_cusum.html" title="next chapter">CUSUM</a></li>
  </ul></li>
</ul>
</div>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      
      
      
      Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
      &amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
      
      |
      <a href="_sources/ref_method.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>