epi.surv(SimHap)
epi.surv()所属R语言包:SimHap
Epidemiological analysis for survival data
生存资料的流行病学分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
epi.surv is used to fit Cox proportional hazards models to epidemiological survival data.
epi.surv使用,以适应Cox比例风险模型对流行病学的生存数据。
用法----------Usage----------
epi.surv(formula, pheno, sub = NULL)
参数----------Arguments----------
参数:formula
a symbolic description of the model to be fit. The response must be a survival object as returned by the Surv function.
一个象征性的模型来描述是合适的。响应必须是生存的对象返回的Surv功能。
参数:pheno
a dataframe containing phenotype data.
一个数据框的表型数据。
参数:sub
an expression representing a subset of the data on which to perform the models.
的数据的一个子集的表达式,表示在其上执行的模型。
Details
详细信息----------Details----------
formula should be in the form of response ~ predictor(s). A formula has an implied intercept term. See documentation for the formula function for more details of allowed formulae.
formula应该是的形式response ~ predictor(s)。公式有一个隐含的截距项。允许的公式的详细信息,请参阅文档formula功能。
值----------Value----------
epi.surv returns an object of class epiSurv containing the following items
epi.surv返回一个对象类epiSurv包含以下项目
参数:results
a table containing the hazard ratios, confidence intervals and p-values of the parameter estimates.
一个表,其中包含的风险比,置信区间和参数估计的p值。
参数:formula
formula passed to epi.surv.
formula传递给epi.surv。
参数:Wald
The Wald test for overall significance of the fitted model including SNP parameters.
Wald检验包括SNP参数拟合模型的整体意义。
参数:logLik
the log-likelihood for the linear model fit using formula.
对数似然的线性模型拟合使用formula。
参数:fit.coxph
an object of class coxph fit using formula1. See coxph.object for details.
类的一个对象coxph适合使用formula1。见coxph.object的详细信息。
参数:rsquared
r-squared values for the fitted model.
拟合模型的R平方值。
(作者)----------Author(s)----------
Pamela A McCaskie
参考文献----------References----------
参见----------See Also----------
snp.surv, haplo.surv
snp.surv,haplo.surv
实例----------Examples----------
data(survPheno.dat)
mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat)
summary(mymodel)
# example with subsetting variable[例如,子集变量]
mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat,
sub=expression(sex==1))
summary(mymodel)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|