Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates Scott's rule of thumb bandwidth vector.
1 | bandwidth.scott(x, kernel = "biweight", product = TRUE)
|
x |
n x d matrix, data |
kernel |
text string, see |
product |
(if d>1) product or spherical kernel |
The default bandwidth vector is computed by Scott's rule of thumb for the Gaussian kernel and adapted to the chosen kernel function.
d x 1 bandwidth vector used for calculation
Marlene Mueller
Scott, D.W. (1992). Multivariate Density Estimation: Theory, Practice, and Visualization. New York, Chichester: Wiley.
1 2 3 4 5 6 7 |
Loading required package: AER
Loading required package: car
Loading required package: lmtest
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: sandwich
Loading required package: survival
x1 x2
1.510825 3.729070
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.