SPCModelNonparCenterScale: Nonparametric Resampling with Centering and Scaling

Description Usage Arguments Details Value See Also Examples

View source: R/model.R

Description

Nonparametric resampling of univariate observations. Updates are centered and scaled transformations of the data (with a constant potentially being subtracted).

Usage

1

Arguments

Delta

how much to subtract before scaling.

Details

Calls SPCModelNonpar to generate the data object, so it only needs to specify the meaning of xi, the parameter needed to compute updates and the definition of the updates.

Value

An object of class SPCDataModel.

An object of class SPCDataModel.

See Also

SPCModelNonpar

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
X <- rnorm(1000)

#CUSUM chart
model <- SPCModelNonparCenterScale(1)
chart <- new("SPCCUSUM",model=model)
SPCproperty(data=X,nrep=10,property="calARL",
            chart=chart,params=list(target=100))

#Shewhart chart
model <- SPCModelNonparCenterScale(0)
chart <- new("SPCCUSUM",model=model)
SPCproperty(data=X,nrep=10,property="calARL",
            chart=chart,params=list(target=100))

spcadjust documentation built on May 29, 2017, 10:05 a.m.