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

R语言 sm包 sm.survival()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 10:47:25 | 显示全部楼层 |阅读模式
sm.survival(sm)
sm.survival()所属R语言包:sm

                                        Nonparametric regression with survival data.
                                         非参数回归生存数据。

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

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

This function creates a smooth, nonparametric estimate of the quantile of the distribution of survival data as a function of a single covariate. A weighted product-limit estimate of the survivor function is obtained by smoothing across the covariate scale.  A small amount of smoothing is then also applied across  the survival time scale in order to achieve a smooth estimate of the quantile.
该函数创建一个平滑,作为一个单一的协变量的函数的分布的生存数据的分位数的非参数估计。 A加权乘积限估计的幸存者功能是通过平滑整个协的规模。少量的平滑,然后也为了实现平滑的估计的分位数之间施加的生存时间尺度。


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


sm.survival(x, y, status, h , hv = 0.05, p = 0.5, status.code = 1, ...)



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

参数:x
a vector of covariate values.
一个向量的协变量值。


参数:y
a vector of survival times.
一个向量的生存时间。


参数:status
an indicator of a complete survival time or a censored value.  The value of status.code defines a complete survival time.
一个完整的生存时间或审查的指标。 status.code的值定义了一个完整的生存时间。


参数:h
the smoothing parameter applied to the covariate scale.  A normal kernel function is used and h is its standard deviation.
的平滑参数施加到的协变量的规模。一个普通的内核函数的使用和h是标准差。


参数:hv
a smoothing parameter applied to the weighted to the product-limit estimate derived from the smoothing procedure in the covariate scale. This ensures that a smooth estimate is obtained.
应用于加权乘积极限估计的平滑化过程中的协变量规模来自平滑参数。这确保了平稳的估计得到。


参数:p
the quantile to be estimated at each covariate value.
的位数来估计在每个协变量的值。


参数:status.code
the value of status which defines a complete survival time.
status值定义了一个完整的生存时间。


参数:...
other optional parameters are passed to the sm.options function, through a mechanism which limits their effect only to this call of the function; those relevant for this function are  add, eval.points,  ngrid,  display,  xlab,  ylab,  lty; see the documentation of  sm.options for their description. </table>
其他可选的参数传递给sm.options功能,通过一种机制,限制了它们的作用仅此呼叫的功能,此功能相关的是add,eval.points,<X >,ngrid,display,xlab,ylab;他们的描述中看到的文档lty。 </ TABLE>


Details

详细信息----------Details----------

see Section 3.5 of the reference below.
下面的参考,请参阅第3.5节。


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

a list containing the values of the estimate at the evaluation points and the values of the smoothing parameters for the covariate and survival time scales.
的列表中包含的评价点处的估计的值的平滑化参数的值的协变量和生存时间尺度。


副作用----------Side Effects----------

a plot on the current graphical device is produced, unless the option  display="none" is set.  
对当前图形设备的图,,除非选项“display="none"设置。


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

Bowman, A.W. and Azzalini, A. (1997).  Applied Smoothing Techniques for Data Analysis: the Kernel Approach with S-Plus Illustrations. Oxford University Press, Oxford.

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

sm.regression, sm.options
sm.regression,sm.options


实例----------Examples----------


x <- runif(50, 0, 10)
y <- rexp(50, 2)
z <- rexp(50, 1)
status <- rep(1, 50)
status[z<y] <- 0
y <- pmin(z, y)
sm.survival(x, y, status, h=2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-6 13:39 , Processed in 0.021180 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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