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

1 | ```
SPCModelNonparCenterScale(Delta = 0)
``` |

`Delta` |
how much to subtract before scaling. |

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.

xi: a list with two elements:

mu: the mean.

sd: the standard deviation.

updates(xi,data): returns the centered and scale version of the data from which

*Delta/2*has been subtracted, i.e.*(data-mu-Delta/2)/sd*

An object of class SPCDataModel.

An object of class SPCDataModel.

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))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.