📄 hubers.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Huber Proposal 2 Robust Estimator of Location and/or Scale</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 hubers {MASS}"><tr><td>hubers {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Huber Proposal 2 Robust Estimator of Location and/or Scale</h2>
<h3>Description</h3>
<p>
Finds the Huber M-estimator for location with scale specified, scale
with location specified, or both if neither is specified.
</p>
<h3>Usage</h3>
<pre>
hubers(y, k = 1.5, mu, s, initmu = median(y), tol = 1e-06)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>y</code></td>
<td>
vector y of data values
</td></tr>
<tr valign="top"><td><code>k</code></td>
<td>
Winsorizes at <code>k</code> standard deviations
</td></tr>
<tr valign="top"><td><code>mu</code></td>
<td>
specified location
</td></tr>
<tr valign="top"><td><code>s</code></td>
<td>
specified scale
</td></tr>
<tr valign="top"><td><code>initmu</code></td>
<td>
initial value of <code>mu</code>
</td></tr>
<tr valign="top"><td><code>tol</code></td>
<td>
convergence tolerance
</td></tr>
</table>
<h3>Value</h3>
<p>
list of location and scale estimates
</p>
<table summary="R argblock">
<tr valign="top"><td><code>mu</code></td>
<td>
location estimate
</td></tr>
<tr valign="top"><td><code>s</code></td>
<td>
scale estimate
</td></tr>
</table>
<h3>References</h3>
<p>
Huber, P. J. (1981)
<EM>Robust Statistics.</EM>
Wiley.
</p>
<p>
Venables, W. N. and Ripley, B. D. (2002)
<EM>Modern Applied Statistics with S.</EM> Fourth edition. Springer.
</p>
<h3>See Also</h3>
<p>
<code><a href="huber.html">huber</a></code>
</p>
<h3>Examples</h3>
<pre>
hubers(chem)
hubers(chem, mu=3.68)
</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 + -