Learn R Programming

IQCC (version 1.0)

UextII: Exact (improved) u chart for phase II.

Description

This function builds an improved version of the Shewhart u chart where the traditional normal-based control limits are corrected for the non-normality of the u-statistic for phase II.

Usage

UextII(x, sizes, lambda, length)

Arguments

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

Value

  • Return the improved U chart.

Details

To use this function it is necessary to have the information about the UextI.

See Also

UextI

Examples

Run this code
data(moonroof)
attach(moonroof)
uexI<-UextI(x=yi[1:17],sizes=ni[1:17],par=ui[1:17],17)
UextII(x=yi[18:34],sizes=ni[18:34],lambda=uexI[1],length=17)

Run the code above in your browser using DataLab