SPCModelNonpar {spcadjust} | R Documentation |
Generic Model for Nonparametric Resampling
Description
Generic model that allows nonparametric resampling (with replacement) of the data. The transformation of data into updates needs to be defined via the arguments.
Usage
SPCModelNonpar(updates, xiofP)
Arguments
updates |
function that computes updates. |
xiofP |
function that computes xi given P. |
Details
The parameters to the functions being returned have the following meaning.
data: a numeric vector or a matrix where the rows contain the observations.
xi: depends on the parameter xiofP.
P: The
data
with no modifications (thus either a numeric vector or a matrix).
The main operations are defined as follows:
resample(P): generates a new data set of the same size by either resampling the values (if the data is a vector) or by resampling the rows of the data matrix (both use resampling with replacement).
Value
An object of class SPCDataModel.