<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Limits for control chart _s_ - Only intended for developer...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for control.limits.s"><tr><td>control.limits.s</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Limits for control chart <em>s</em> - Only intended for developer use</h2>

<h3>Description</h3>

<p>Estimation of limits of control chart <em>s</em>. The function is called by <code>KRDetect.outliers.controlchart</code> and is not intended for use by regular users of the package.
</p>


<h3>Usage</h3>

<pre>
control.limits.s(x, group.size, L)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>a numeric vector of data values.</p>
</td></tr>
<tr valign="top"><td><code>group.size</code></td>
<td>
<p>a positive integer giving the number of observations in individual segments used for computation of control chart limits.
If the data can not be equidistantly divided, the first extra values will be excluded from the analysis.</p>
</td></tr>
<tr valign="top"><td><code>L</code></td>
<td>
<p>a positive numeric value giving parameter <code>L</code> specifying the width of control limits.</p>
</td></tr>
</table>


<h3>Details</h3>

<p>This function computes parameters based on which control chart <em>s</em> can be constructed.
The function is exported for developer use only. It does not perform any checks on inputs since it is only a convenience function for identification limits based on control chart <em>s</em>.
</p>


<h3>Value</h3>

<p>A list is returned with elements:
</p>
<table summary="R valueblock">
<tr valign="top"><td><code>x</code></td>
<td>
<p>a numeric vector of data</p>
</td></tr>
<tr valign="top"><td><code>sd.est</code></td>
<td>
<p>a numeric value giving an estimate of standard deviation parameter</p>
</td></tr>
<tr valign="top"><td><code>groups.count</code></td>
<td>
<p>a numeric value giving a number of segments used for estimating parameters of control chart</p>
</td></tr>
<tr valign="top"><td><code>groups.sd</code></td>
<td>
<p>a numeric vector giving sample standard deviations in individual segments used for estimating parameters of control chart</p>
</td></tr>
<tr valign="top"><td><code>LCL</code></td>
<td>
<p>a numeric value giving lower control limit of control chart <em>s</em></p>
</td></tr>
<tr valign="top"><td><code>UCL</code></td>
<td>
<p>a numeric value giving upper control limit of control chart <em>s</em></p>
</td></tr>
</table>


<h3>References</h3>

<p>Shewhart W (1931). Quality control chart. Bell System Technical Journal, 5, 593â€“603.
</p>
<p>SAS/QC User's Guide, Version 8, 1999. SAS Institute, Cary, N.C.
</p>
<p>Wild C, Seber G (2000). Chance encounters: A first course in data analysis and inference. New York: John Wiley.
</p>


</body></html>
