awstestprop {aws}  R Documentation 
The function enables testing of the propagation condition in order to select
appropriate values for the parameter lambda
in function aws
.
awstestprop(dy, hmax, theta = 1, family = "Gaussian", lkern = "Triangle", aws = TRUE, memory = FALSE, shape = 2, homogeneous=TRUE, varadapt=FALSE, ladjust = 1, spmin=0.25, seed = 1, minlevel=1e6, maxz=25, diffz=.5, maxni=FALSE, verbose=FALSE) pawstestprop(dy, hmax, theta = 1, family = "Gaussian", lkern = "Triangle", aws = TRUE, patchsize=1, shape = 2, ladjust = 1, spmin = 0.25, seed = 1, minlevel = 1e6, maxz = 25, diffz = .5, maxni = FALSE, verbose = FALSE)
dy 
Dimension of grid used in 1D, 2D or 3D. May also be specified as an array of values.
In this case data are generated with parameters 
hmax 
Maximum bandwidth. 
theta 
Parameter determining the distribution in case of

family 

lkern 
character: location kernel, either "Triangle", "Plateau", "Quadratic", "Cubic" or "Gaussian" 
aws 
logical: if TRUE structural adaptation (AWS) is used. 
patchsize 
patchsize in case of paws. 
memory 
logical: if TRUE stagewise aggregation is used as an additional adaptation scheme. 
shape 
Allows to specify an additional shape parameter for certain family models. Currently only used for family="Variance", that is χSquare distributed observations
with 
homogeneous 
if 
varadapt 
if 
ladjust 
Factor to increase the default value of lambda 
spmin 
Determines the form (size of the plateau) in the adaptation kernel. Not to be changed by the user. 
seed 
Seed value for random generator. 
minlevel 
Minimum exceedence probability to use in contour plots. 
maxz 
Maximum of zscale in plots. 
diffz 
Gridlength in z 
maxni 
If TRUE use max_{l<=k}(N_i^{(l)} instead of (N_i^{(k)} in the definition of the statistical penalty. 
verbose 
If TRUE provide additional information. 
Estimates exceedence probabilities
Results for intermediate steps are provided as contour plots. For a good choice of lambda
(ladjust) the contours up to probabilities of 1e5
should be vertical.
A list with components
h 
Sequence of bandwidths used 
z 

prob 
the matrix of exceedence probabilities, columns corresponding to 
probna 
the matrix of exceedence probabilities for corresponding nonadaptive estimates, columns corresponding to 
Joerg Polzehl polzehl@wiasberlin.de
Becker (2013)