找回密码
 注册
查看: 1977|回复: 0

R语言:dpill()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 21:38:49 | 显示全部楼层 |阅读模式
dpill(KernSmooth)
dpill()所属R语言包:KernSmooth

                                         Select a Bandwidth for Local Linear Regression
                                         选择一个局部线性回归的带宽

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Use direct plug-in methodology to select the bandwidth of a local linear Gaussian kernel regression estimate, as described by Ruppert, Sheather and Wand (1995).
使用直接插在方法选择当地的线性高斯核回归估计的带宽,Ruppert公司,Sheather和魔杖(1995)所述。


用法----------Usage----------


dpill(x, y, blockmax = 5, divisor = 20, trim = 0.01, proptrun = 0.05,
      gridsize = 401L, range.x, truncate = TRUE)



参数----------Arguments----------

参数:x
vector of x data. Missing values are not accepted.  
X数据的向量。遗漏值是不能接受的。


参数:y
vector of y data. This must be same length as x, and missing values are not accepted.  
Y数据的向量。这必须是相同的长度为x,遗漏值不被接受。


参数:blockmax
the maximum number of blocks of the data for construction of an initial parametric estimate.   
建设的初始参数估计的数据块的最大数量。


参数:divisor
the value that the sample size is divided by to determine a lower limit on the number of blocks of the data for construction of an initial parametric estimate.  
值,除以样本大小,以确定建设的初始参数估计的数据块数量的下限。


参数:trim
the proportion of the sample trimmed from each end in the x direction before application of the plug-in methodology.  
应用插件的方法,从每年年底前在x方向修剪样本比例。


参数:proptrun
the proportion of the range of x at each end truncated in the functional estimates.  
范围内的比例x在每年年底在功能估计截断。


参数:gridsize
number of equally-spaced grid points over which the function is to be estimated.  
间距相等的网格点的功能是将估计的数目。


参数:range.x
vector containing the minimum and maximum values of x at which to compute the estimate. For density estimation the default is the minimum and maximum data values with 5% of the range added to each end. For regression estimation the default is the minimum and maximum data values.  
向量x在计算估计的最小值和最大值。默认为密度估计是5%的范围内的最低和最高的数据值添加到每个月底。默认为回归估计的最低和最高的数据值。


参数:truncate
logical flag: if TRUE, data with x values outside the range specified by range.x are ignored.  </table>
逻辑标志:如果TRUE,x值range.x指定的范围之外的数据将被忽略。 </ TABLE>


Details

详情----------Details----------

The direct plug-in approach, where unknown functionals that appear in expressions for the asymptotically optimal bandwidths are replaced by kernel estimates, is used. The kernel is the standard normal density. Least squares quartic fits over blocks of data are used to  obtain an initial estimate. Mallow's Cp is used to select the number of blocks.
直接插入的方法,替换内核估计的渐近最优带宽的表达式中出现的未知函,用于。内核是标准的正常密度。最小二乘四次适合以上的数据块被用来获得一个初步估计。锦葵的Cp用于选择的块数。


值----------Value----------

the selected bandwidth.
选定的带宽。


警告----------Warning----------

If there are severe irregularities (i.e. outliers, sparse regions) in the x values then the local polynomial smooths required for the bandwidth selection algorithm may become degenerate and the function will crash. Outliers in the y direction may lead to deterioration of the quality of the selected bandwidth.
如果有严重的违规行为在x(即离群,稀疏的区域)重视局部多项式平滑所需的带宽选择算法可能成为退化和功能将会崩溃。在y方向离群可能导致所选带宽质量恶化。


参考文献----------References----------

An effective bandwidth selector for local least squares regression. Journal of the American Statistical Association, 90, 1257&ndash;1270.
Kernel Smoothing. Chapman and Hall, London.

参见----------See Also----------

ksmooth, locpoly.
ksmooth,locpoly。


举例----------Examples----------


data(geyser, package = "MASS")
x <- geyser$duration
y <- geyser$waiting
plot(x, y)
h <- dpill(x, y)
fit <- locpoly(x, y, bandwidth = h)
lines(fit)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-7 13:30 , Processed in 0.023092 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表