11% File src / library / stats / man / bandwidth.Rd
22% Part of the R package , https : // www.R - project.org
3- % Copyright 1995 - 2018 R Core Team
3+ % Copyright 1995 - 2025 R Core Team
44% Distributed under GPL 2 or later
55
66\name {bandwidth }
@@ -49,7 +49,8 @@ bw.SJ(x, nb = 1000, lower = 0.1 * hmax, upper = hmax,
4949 It defaults to 0.9 times the
5050 minimum of the standard deviation and the interquartile range divided by
5151 1.34 times the sample size to the negative one - fifth power
52- (= \I {Silverman }' s \s Quote{rule of thumb}, \b ibcite{Silverman (1986, page 48, \a bbr{eqn} (3.31))})
52+ (= \I {Silverman }' s \s Quote{rule of thumb},
53+ \b ibcitet{|R:Silverman:1986|page 48\\\\\\ , \\\\\\ abbr{eqn} (3.31)})
5354 \e mph{unless} the quartiles coincide when a positive result
5455 will be guaranteed.
5556
@@ -59,7 +60,7 @@ bw.SJ(x, nb = 1000, lower = 0.1 * hmax, upper = hmax,
5960 \c ode{bw.ucv} and \c ode{bw.bcv} implement unbiased and
6061 biased cross-validation respectively.
6162
62- \c ode{bw.SJ} implements the methods of \b ibcite{ Sheather & Jones ( 1991) }
63+ \c ode{bw.SJ} implements the methods of \b ibcitet{R: Sheather+ Jones: 1991}
6364 to select the bandwidth using pilot estimation of derivatives.\c r
6465 The algorithm for method \c ode{"ste"} solves an equation (via
6566 \c ode{\l ink{uniroot}}) and because of that, enlarges the interval
@@ -92,26 +93,12 @@ bw.SJ(x, nb = 1000, lower = 0.1 * hmax, upper = hmax,
9293 of \c ode{density} and so give answers four times as large.
9394}
9495\r eferences{
96+ \b ibshow{*, R:Venables+Ripley:2002}
97+
9598 Scott, D. W. (1992)
9699 \e mph{Multivariate Density Estimation: Theory, Practice, and
97100 Visualization.}
98101 New York: Wiley.
99-
100- Sheather, S. J. and Jones, M. C. (1991).
101- A reliable data-based bandwidth selection method for kernel density
102- estimation.
103- \e mph{Journal of the Royal Statistical Society Series B},
104- \b old{53}, 683--690.
105- \d oi{10.1111/j.2517-6161.1991.tb01857.x}.
106- %% \u rl{https://www.jstor.org/stable/2345597}.
107-
108- Silverman, B. W. (1986).
109- \e mph{Density Estimation}.
110- London: Chapman and Hall.
111-
112- Venables, W. N. and Ripley, B. D. (2002).
113- \e mph{Modern Applied Statistics with S}.
114- Springer.
115102}
116103\e xamples{
117104require(graphics)
0 commit comments