IMSL C# Numerical Library

NpChart Class

NpChart is an np-chart for monitoring the number of defects when defects are not rare.

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

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

public class NpChart : 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

Control limits are computed using the binomial distribution. If defects are rare CChart should be used instead.

The control limits are at

np + k \sqrt{np(1-p)}
where p is the is the proportion of defective items, 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{c}. Additional control limits can be added. The method AddWeco adds control limits with k = -2, -1, 1, 2.

The lower control limit is forced to have a minimum value of zero. The y-axis labels are formatted as integers.

Requirements

Namespace: Imsl.Chart2D.QC

Assembly: ImslCS (in ImslCS.dll)

See Also

NpChart Members | Imsl.Chart2D.QC Namespace | Example