The R Project SVN R

Rev

Rev 74265 | Rev 82618 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74265 Rev 74363
Line 47... Line 47...
47
  \code{bw.nrd0} implements a rule-of-thumb for
47
  \code{bw.nrd0} implements a rule-of-thumb for
48
  choosing the bandwidth of a Gaussian kernel density estimator.
48
  choosing the bandwidth of a Gaussian kernel density estimator.
49
  It defaults to 0.9 times the
49
  It defaults to 0.9 times the
50
  minimum of the standard deviation and the interquartile range divided by
50
  minimum of the standard deviation and the interquartile range divided by
51
  1.34 times the sample size to the negative one-fifth power
51
  1.34 times the sample size to the negative one-fifth power
52
  (= Silverman's \sQuote{rule of thumb}, Silverman (1986, page 48, eqn (3.31))
52
  (= Silverman's \sQuote{rule of thumb}, Silverman (1986, page 48, eqn (3.31)))
53
  \emph{unless} the quartiles coincide when a positive result
53
  \emph{unless} the quartiles coincide when a positive result
54
  will be guaranteed.
54
  will be guaranteed.
55
 
55
 
56
  \code{bw.nrd} is the more common variation given by Scott (1992),
56
  \code{bw.nrd} is the more common variation given by Scott (1992),
57
  using factor 1.06.
57
  using factor 1.06.