
The (S3) generic function h.amise
evaluates the asymptotic
mean integrated squared error AMISE for optimal smoothing
parameters
h.amise(x, ...)
# S3 method for default
h.amise(x, deriv.order = 0, lower = 0.1 * hos, upper = 2 * hos,
tol = 0.1 * lower, kernel = c("gaussian", "epanechnikov", "triweight",
"tricube", "biweight", "cosine"), ...)
data points - same as input.
the deparsed name of the x
argument.
the sample size after elimination of missing values.
name of kernel to use
the derivative order to use.
value of bandwidth parameter.
the AMISE value.
vector of data values.
derivative order (scalar).
range over which to minimize. The default is
almost always satisfactory. hos
(Over-smoothing) is calculated internally
from an kernel
, see details.
the convergence tolerance for optimize
.
a character string giving the smoothing kernel to be used, with default
"gaussian"
.
further arguments for (non-default) methods.
Arsalane Chouaib Guidoum acguidoum@usthb.dz
h.amise
asymptotic mean integrated squared error implements for choosing
the optimal bandwidth
We Consider the following AMISE version of the r'th derivative of
The range over which to minimize is hos
Oversmoothing bandwidth, the default is almost always
satisfactory. See George and Scott (1985), George (1990), Scott (1992, pp 165), Wand and Jones (1995, pp 61).
Bowman, A. W. and Azzalini, A. (1997). Applied Smoothing Techniques for Data Analysis: the Kernel Approach with S-Plus Illustrations. Oxford University Press, Oxford.
Radhey, S. S. (1987). MISE of kernel estimates of a density and its derivatives. Statistics and Probability Letters, 5, 153--159.
Scott, D. W. (1992). Multivariate Density Estimation. Theory, Practice and Visualization. New York: Wiley.
Sheather, S. J. (2004). Density estimation. Statistical Science, 19, 588--597.
Silverman, B. W. (1986). Density Estimation for Statistics and Data Analysis. Chapman & Hall/CRC. London.
Wand, M. P. and Jones, M. C. (1995). Kernel Smoothing. Chapman and Hall, London.
plot.h.amise
, see nmise
in package sm this function
evaluates the mean integrated squared error of a density estimate (deriv.order = 0
)
which is constructed from data which follow a normal distribution.
## Derivative order = 0
h.amise(kurtotic,deriv.order = 0)
## Derivative order = 1
h.amise(kurtotic,deriv.order = 1)
Run the code above in your browser using DataLab