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

R语言 OCplus包 smooth1d()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 08:02:57 | 显示全部楼层 |阅读模式
smooth1d(OCplus)
smooth1d()所属R语言包:OCplus

                                        Smoothing a vector of counts
                                         平滑计数的向量

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

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

This function takes a vector of counts and uses a mixed model approach to smooth it. A common use of this is smoothing binned counts of an observed quantity prior to estimating its density nonparametrically through the relative frequencies.
这个函数接受一个计数的向量,并使用混合模型的方法来平滑。一个常见的用途是平滑的观察到的数量之前,通过相对频率估计其密度nonparametrically分级计数。


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


smooth1d(y, sv2 = 0.1, err = 0.01, verb = TRUE)



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

参数:y
the vector of counts
计数的向量


参数:sv2
the user-specified starting value for the variance of the random effects, see Details.
用户指定的起点,随机效应的方差的值,查看详情。


参数:err
Tolerance for convergence, see Details
为收敛公差,查看详细信息


参数:verb
logical value indicating whether to print diagnostics.
逻辑值指示是否打印诊断。


Details

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

The smoothing assumes that the counts are Poisson from a generalized linear mixed model, where the second differences are normally distributed. Using the extended likelihood approach described in Pawitan (2001) and the initial estimate sv2 for the variance of the random effects, the routine iteratetively optimizes the fixed and random contributions to the extended likelihood, until the estimate for the variance convergences with tolerance err. The result is quite stable within a reasonable range of starting values and tolerances, and the function can be used for fairly automatic smoothing ((i.e. withou fixing a bandwidth parameter).
假设罪名是从广义线性混合模型,第二个差异是正常分布的泊松平滑。使用sv2随机效应的方差,例行iteratetively优化估计方差收敛,直到固定和随机的贡献扩展的可能性,可能性的扩展方法描述在Pawitan(2001年)和初步估计宽容err。结果是相当稳定的初始值和公差的合理范围内,功能可以使用相当自动平滑((即withou固定带宽参数)。


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

A list with three components:
三个组成部分的列表:


参数:fit
the smoothed counts
平滑的计数


参数:df
the degrees of freedom used for smoothing at convergence
用于衔接平滑的自由度


参数:sv2
the estimated variance at convergence, equivalent to df.
在收敛的估计方差,相当于df。


作者(S)----------Author(s)----------


Y. Pawitan and A. Ploner



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



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

fdr1d
fdr1d


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


# Stupid dummies, obviously[愚蠢的假人,显然]
smooth1d(1:10)
smooth1d(1:10, sv2=1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 16:50 , Processed in 0.020305 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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