Learn R Programming

IQCC (version 1.0)

PstdII: Standardized p chart for phase II.

Description

This function builds a standardized version of the p chart for phase II.

Usage

PstdII(par, sizes, phat, length)

Arguments

par
The data used 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 a standardized p chart.

Details

To use this function it is necessary to have the information about the PstdI. The original binomial counts are standardized (mean zero and sd one) and the normal approximated control limits become -3 and +3.

See Also

PstdI

Examples

Run this code
data(binomdata)
attach(binomdata)
pstI<-PstdI(par=pi[1:12],sizes=ni[1:12],length=12)
PstdII(par=pi[13:25],sizes=ni[13:25],phat=pstI[1],length=13)

Run the code above in your browser using DataLab