IMSL C# Numerical Library

PChart Class

PChart is a p-chart for monitoring the defect rate when defects are not rare.

For a list of all members of this type, see PChart Members.

System.Object
   Imsl.Chart2D.AbstractChartNode
      Imsl.Chart2D.ChartNode
         Imsl.Chart2D.Data
            Imsl.Chart2D.QC.ShewhartControlChart
               Imsl.Chart2D.QC.PChart

public class PChart : ShewhartControlChart

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The defect rate is the number of defects found divided by the number of samples inspected. The number of defects are not assumed to be rare. Control limits are computed using the binomial distribution. If defects are rare, use UChart instead.

The control limits are at

\bar{p}+k\sqrt{\frac{\bar{p}(1-\bar{p})}{n}}
where \bar{p} is the mean defect rate, n is the sample size, and k is the value of the "ControlLimit" attribute for the line. By default, the chart contains an upper control limit line with k=3, a lower control limit line with k=-3, and a central line equal to \bar{p}. Additional control limits can be added. The method AddWeco adds control limits with k = -2, -1, 1, 2.

The true fraction conforming p can be used by setting the attribute "Center" to p.

The lower control limit is forced to have a minimum value of zero. The upper control limit is forced to have a maximum value of one.

Requirements

Namespace: Imsl.Chart2D.QC

Assembly: ImslCS (in ImslCS.dll)

See Also

PChart Members | Imsl.Chart2D.QC Namespace | Example | NIST Engineering Statistics Handbook: Proportions Control Charts