survexp.fit(survival)
survexp.fit()所属R语言包:survival
Compute Expected Survival
计算预期生存
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute expected survival times.
计算预期的生存时间。
用法----------Usage----------
survexp.fit(x, y, times, death, ratetable)
参数----------Arguments----------
参数:x
a matrix. The first column contains the group, an integer value that divides the subjects into subsets. Remaining columns must match the dimensions of the ratetable, in the correct order.
一个矩阵。第一列包含组,一个整数值,分为子集的对象。其余列必须匹配的ratetable以正确的顺序,尺寸。
参数:y
the follow up time for each subject.
随访时间为每个主题。
参数:times
the vector of times at which a result will be computed.
倍时,将计算结果的向量。
参数:death
a logical value, if TRUE the conditional survival is computed, if FALSE the cohort survival is computed. See survexp for more details.
一个逻辑值,如果TRUE生存条件计算,如果FALSE世代生存的计算。看到survexp更多细节。
参数:ratetable
a rate table, such as survexp.uswhite.
速度表,如survexp.uswhite。
Details
详情----------Details----------
For conditional survival y must be the time of last follow-up or death for each subject. For cohort survival it must be the potential censoring time for each subject, ignoring death.
有条件的生存y必须为每个主题最后随访或死亡的时间。对于世代生存,它必须是每个科目的潜在审查时间,无视死亡。
For an exact estimate times should be a superset of y, so that each subject at risk is at risk for the entire sub-interval of time. For a large data set, however, this can use an inordinate amount of storage and/or compute time. If the times spacing is more coarse than this, an actuarial approximation is used which should, however, be extremely accurate as long as all of the returned values are > .99.
一个确切的估计timesy应该是一个超集,使每个风险的问题是在整个时间间隔的风险。然而,这对于大型数据集,可以使用过多的存储和/或计算时间。如果times间距比这更粗,精算近似使用,然而,应该是非常准确的,只要所有返回值> .99。
For a subgroup of size 1 and times > y, the conditional method reduces to exp(-h) where h is the expected cumulative hazard for the subject over his/her observation time. This is used to compute individual expected survival.
对于一个分组大小为1和times>y,有条件的方法减少为exp(-H),其中h是预期累计超过他/她的观察时间的主题危险。这是用来计算个人预期生存。
值----------Value----------
A list containing the number of subjects and the expected survival(s) at each time point. If there are multiple groups, these will be matrices with one column per group.
一个列表,其中包含的科目数量和预计生存期在每个时间点(S)。如果有多个组,这些将是与每个组的一列的矩阵。
警告----------Warning----------
Most users will call the higher level routine survexp. Consequently, this function has very few error checks on its input arguments.
大多数用户会呼吁更高级别的例行survexp。因此,这个函数的输入参数上极少数的错误检查。
参见----------See Also----------
survexp, survexp.us.
survexp,survexp.us。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|