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

R语言 muhaz包 kphaz.fit()函数中文帮助文档(中英文对照)

  [复制链接]
发表于 2012-9-23 16:28:13 | 显示全部楼层 |阅读模式
kphaz.fit(muhaz)
kphaz.fit()所属R语言包:muhaz

                                        kphaz.fit
                                         kphaz.fit

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

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

Calculates Kaplan-Meier type hazard estimates.
计算Kaplan-Meier生存型危险的估计。


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


kphaz.fit(time,status,strata,q=1,method="nelson")



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

参数:time
A vector of time values; all values must be greater than or equal to zero. Missing values (NAs) are not allowed.
时间值的向量,所有的值必须大于或等于零。遗漏值(NAS)是不允许的。


参数:status
A vector of status values.  The values are 0 for censored or 1 for uncensored (dead). Missing values (NAs) are not allowed. Must have the same length as time.
一个向量的状态值。的值是0,审查或未经审查(死)。遗漏值(NAS)是不允许的。必须具有相同的时间的长度。


参数:strata
An optional vector that will be used to divide the subjects into disjoint groups. Each group generates a hazard curve. If missing, all subjects are assumed to be in the same strata. Missing values (NAs) are allowed.
一个可选的矢量,将被用来划分成不相交的组的受试者。每个组产生的危险曲线。如果缺少,所有受试者都被假定为在相同的地层。遗漏值(NAS)是允许的。


参数:q
Number of failure times combined for estimatingthe hazard at their  midpoint. Default is 1.
结合在它们的中点estimatingthe危险的故障时间的数量。默认值是1。


参数:method
Type of hazard estimation made. Must be one of "nelson" or "product-limit". The default is "nelson".
类型的危险估计。必须有一个“尼尔森”或“产品限价”。默认值是“纳尔逊”。


Details

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

1. Estimate the cumulative hazard, H[t[j]], and the variance of the cumulative hazard, Var(H[t[j]]), at each of the m distinct death times according to the method selected.
1。估计累积风险,H [T [J],和方差的累积危险,VAR(H [T [J]),在每m个不同的死亡时间,根据所选择的方法。

a. For the "nelson" method:
一。 “尼尔森”的方法:

<p align="center">Var(H[t[j]]) = \sum(t[i] <= t[j]) status[i]/((n-i+1)^2)
<p ALIGN="CENTER"> Var(H[t[j]]) = \sum(t[i] <= t[j]) status[i]/((n-i+1)^2)

b. For the "product-limit" metod:
二。 “以产品为的限制”梅托德什帕:

status[i]/((n-i+1)*(n-i))</i>
状态[I] /((N-I +1)*(N-I))</ P>

2. For k=1,...,(m-q), define the hazard estimate and variance at  time[k] = (t[q+j]+t[j])/2 to be
2。对于k = 1,...,(MQ),定义在时间的的危险估计和方差[K] =([Q + J + T [J])/ 2是

(t[q+j]-t[j])^2</i>
([Q + J]-T [J])^ 2 </ I>

Note that if the final time is a death time rather than a censoring time, the "product-limit" estimate will be Inf for the final hazard and variance estimates.
请注意,如果在最后的时间是死亡的时间,而不是审查时间,将“以产品为限制”估计INF对最终的危害和方差的估计。


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

A list representing the results of the hazard estimation, with the following components:
列表表示的危险估计的结果,与以下组件:

<table summary="R valueblock"> <tr valign="top"><td>time</td> <td>  A vector containing the times at which hazard estimations were made. </td></tr> <tr valign="top"><td>haz</td> <td>  A vector containing the hazard estimate at each time. </td></tr> <tr valign="top"><td>var</td> <td>  A vector containing variance estimates for each hazard estimate. </td></tr> <tr valign="top"><td>strata</td> <td>  A vector which divides the hazard estimate into disjoint groups. This vector is returned only if 'strata'  is defined when 'kphaz.fit' is called. </td></tr></table>
<table summary="R valueblock"> <tr valign="top"> <TD>time</ TD> <td>一个向量时代的危险估计。 </ TD> </ TR> <tr valign="top"> <TD>haz</ TD> <TD>一个向量,包含危险的估计,在每一个时间。 </ TD> </ TR> <tr valign="top"> <TD>var</ TD> <TD>一个向量,包含每个危险估计的方差估计。 </ TD> </ TR> <tr valign="top"> <TD>strata</ TD> <td>一个向量,将危险估计不相交的组。这个向量是只返回,如果阶层的定义时,被称为“kphaz.fit。 </ TD> </ TR> </ TABLE>


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

Jarjoura, David (1988). Smoothing Hazard Rates with Cubic Splines. Commun. Statist. -Simula. 17(2), 377-392.

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

kphaz.plot
kphaz.plot


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


time <- 1:10
status <- rep(1,10)
kphaz.fit(time,status)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-13 04:26 , Processed in 0.021928 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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