The function allows to predict values of the link function in a multi-index model with estimated effective dimension reduction space.
# S3 method for edr
predict(object, xest, m = 1, h=NULL, method = "sm",...)
object of class edr
matrix of design points where values of the link function are to be predicted
specified dimension of the dimension reduction space.
bandwidth, if h=NULL
a bandwidth is guessed from the estimation
method="sm"
requires and uses package sm while method="direct"
specifies a local linear smoother.
Additional parameters that are currently not evaluated.
List with components.
The content of argument xest
Predicted values of the link function
This function provides predictions of response values based on a multiindex model
analyzed using function edr
. It requires specification of the dimension of the
dimension reduction space in argument m
. Argument method
allows to select between
two different local smoothers for estimation of values of the link function. The use of method = "sm"
requires package sm
and is restricted to m<=2
, see documentation of package sm.
method = "direct"
uses an implementation of a local linear smoother. If parameters of the local
linear smoother are not identified for a given bandwidth h
a kernel smoother or if this is
not identified a 1-nearest neighbor estimate is used.
The bandwidth is, in case of h=NULL
, is
determined by generalized cross-validation for sm and as x$h*x$rho
in case of the local linear smoother.
M. Hristache, A. Juditsky, J. Polzehl and V. Spokoiny (2001). Structure adaptive approach for dimension reduction, The Annals of Statistics. Vol.29, pp. 1537-1566.
J. Polzehl, S. Sperlich (2008). A Note on Stuctural Adaptive Dimension Reduction, Journal of Statistical Computation and Simulation, DOI: 10.1080/00949650801959699
# NOT RUN {
require(EDR)
# }
# NOT RUN {
demo(edr_ex4)
# }
Run the code above in your browser using DataLab