Learn R Programming

IQCC (version 1.0)

PchartI: Traditional Shewhart p-chart for phase I.

Description

This function builds the traditional Shewhart 3-sigma normal-approx. p chart for phase I (retrospective / validation analysis).

Usage

PchartI(x, sizes, par, length)

Arguments

x
The data to be plotted.
sizes
A value or a vector of values specifying the sample sizes associated with each group.
par
The data used to estimate the phat (x/sizes). This data is used only in this phase.
length
The length of the data.

Value

  • Return the Shewhrat p chart.

Details

This chart is based on normal-approx. and should be used only for large values of np or ni.pi (np>6).

References

Montgomery, D.C.,(2008)."Introduction to Statistical Quality Control". Chapter 11. Wiley

See Also

PchartII,PextI,PextII

Examples

Run this code
data(binomdata)
attach(binomdata)
PchartI(par=pi[1:12],x=Di[1:12],sizes=ni[1:12],12)

Run the code above in your browser using DataLab