Usage
denoiseheteromp(x, f, pred, neigh, int, clo, keep, rule = "median", mpdet="ave")
Arguments
x
A vector of grid values. Can be of any length, not necessarily equally spaced.
f
A vector of function values corresponding to x. Must be of the same length as x.
neigh
The number of neighbours over which the regression is performed at each step. If clo is false, then this in fact denotes the number of neighbours on each side of the removed point.
int
Indicates whether or not the regression curve includes an intercept.
clo
Refers to the configuration of the chosen neighbours. If clo is false, the neighbours will be chosen symmetrically around the removed point. Otherwise, the closest neighbours will be chosen.
keep
The number of scaling coefficients to be kept in the final representation of the initial signal. This must be at least two.
rule
The type of bayesian thresholding used in the procedure. Possible values are "mean", "median" (posterior mean or median thresholding) or "hard or "soft" (hard or soft thresholding).
mpdet
how the mutiple point detail coefficients are computed. Possible values are "ave", in which the multiple detail coefficients produced when performing the multiple predictions are averaged, or "min", where the overall minimum detail coefficient is taken.