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.