Learn R Programming

spcadjust (version 0.9)

SPCproperty: Computes bootstrap adjusted properties for control charts.

Description

Computes bootstrap adjusted properties for control charts.

Usage

SPCproperty(data, nrep = 500, property, covprob = 0.9)

Arguments

data
The observed data.
nrep
The number of bootstrap repetitions.
property
The property to be computed. Must be a descendant of SPCproperty.
covprob
The coverage probability of the adjustment.

Value

  • An object of type SPCpropertyres.

See Also

SPC2sidedconfint

Examples

Run this code
# calibrate CUSUM chart to an in-control ARL of 100
 # run with a larger number of replications in real examples!

 X <-  rnorm(100) #observed data
 chart <- new("SPCCUSUMNormal",Delta=1) # CUSUM chart with normal observations
 SPCproperty(data=X,nrep=15,
            property=new("calARLCUSUM",chart=chart,target=100))

Run the code above in your browser using DataLab