⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 width.sj.html

📁 本程序是基于linux系统下c++代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Bandwidth Selection by Pilot Estimation of Derivatives</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for width.SJ {MASS}"><tr><td>width.SJ {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Bandwidth Selection by Pilot Estimation of Derivatives</h2>


<h3>Description</h3>

<p>
Uses the method of Sheather &amp; Jones (1991) to select the bandwidth of
a Gaussian kernel density estimator.
</p>


<h3>Usage</h3>

<pre>
width.SJ(x, nb = 1000, lower, upper, method = c("ste", "dpi"))
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
a numeric vector
</td></tr>
<tr valign="top"><td><code>nb</code></td>
<td>
number of bins to use.
</td></tr>
<tr valign="top"><td><code>upper, lower</code></td>
<td>
range over which to search for solution if <code>method = "ste"</code>.
</td></tr>
<tr valign="top"><td><code>method</code></td>
<td>
Either <code>"ste"</code> ("solve-the-equation") or <code>"dpi"</code>
("direct plug-in").
</td></tr>
</table>

<h3>Value</h3>

<p>
a bandwidth.</p>

<h3>References</h3>

<p>
Sheather, S. J. and Jones, M. C. (1991) A reliable data-based bandwidth
selection method for kernel density estimation.
<EM>Journal of the Royal Statistical Society series B</EM>
<B>53</B>, 683&ndash;690.
</p>
<p>
Scott, D. W. (1992)
<EM>Multivariate Density Estimation: Theory, Practice, and  Visualization.</EM>
Wiley.
</p>
<p>
Wand, M. P. and Jones, M. C. (1995)
<EM>Kernel Smoothing.</EM>
Chapman &amp; Hall.
</p>


<h3>See Also</h3>

<p>
<code><a href="ucv.html">ucv</a></code>, <code><a href="bcv.html">bcv</a></code>, <code><a href="../../stats/html/density.html">density</a></code>
</p>


<h3>Examples</h3>

<pre>
attach(geyser)
width.SJ(duration, method = "dpi")
width.SJ(duration)
detach()

width.SJ(galaxies, method = "dpi")
width.SJ(galaxies)
</pre>



<hr><div align="center">[Package <em>MASS</em> version 7.2-44 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -