Learn R Programming

IQCC (version 1.0)

PextII: Exact (improved) p chart for phase II.

Description

This function builds an improved version (non-normal correction) of the p chart for phase II.

Usage

PextII(x, sizes, phat, length)

Arguments

x
The data to be plotted.
sizes
A value or a vector of values specifying the sample sizes associated with each group.
phat
The estimate of p.
length
The length of the data.

Value

  • Return an exact p chart.

Details

To use this function it is necessary to have the information about the PextI. The non-normal correction considered is based on the Cornish-Fisher formula using cumulants until 3rd order.

References

Chen,G.(1998). An improved p chart through simple adjustment. Journal of Quality Technology, vol 30, pp 142-151.

See Also

PextI

Examples

Run this code
data(binomdata)
attach(binomdata)
pexI<-PextI(x=Di[1:12],sizes=ni[1:12],par=pi[1:12],length=12)
PextII(x=Di[1:12],sizes=ni[1:12],phat=pexI[1],length=12)

Run the code above in your browser using DataLab