epi.bin(SimHap)
epi.bin()所属R语言包:SimHap
Epidemiological analysis for binary outcomes
二元结果的流行病学分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
epi.bin is used to fit generalized linear regression models to epidemiological phenotype data for a binary outcome, assuming a binomial error distribution and logit link function.
epi.bin用于流行病学的表型数据的二进制结果符合广义线性回归模型,假设一个二项式误差分布和logit链接功能。
用法----------Usage----------
epi.bin(formula, pheno, sub = NULL)
参数----------Arguments----------
参数:formula
a symbolic description of the model to be fit. The details of model specification are given below.
一个象征性的模型来描述是合适的。模型规范的细节在下面给出。
参数:pheno
a dataframe containing phenotype data.
一个数据框的表型数据。
参数:sub
an expression representing a subset of the data on which to perform the model.
的表达式,表示在其上执行的模型的数据的一个子集。
Details
详细信息----------Details----------
formula should be in the form of outcome ~ predictor(s). A formula has an implied intercept term. See documentation for formula function for more details of allowed formulae.
formula应该是的形式outcome ~ predictor(s)。公式有一个隐含的截距项。 formula功能允许的公式的详细信息,请参阅文档。
值----------Value----------
epi.bin returns an object of class epiBin containing the following items
epi.bin返回一个对象类epiBin包含以下项目
参数:formula
formula passed to epi.bin.
公式传递到epi.bin。
参数:results
a table containing the odds ratios, confidence intervals and p-values of the parameter estimates.
一个表,其中包含的胜算比,置信区间和参数估计的p值。
参数:fit.glm
a glm object fit using formula.
一个glm对象适合使用formula,。
参数:ANOD
analysis of deviance table for the model fit using formula.
分析模型拟合偏差表使用formula。
参数:logLik
the log-likelihood for the linear model fit using formula.
对数似然的线性模型拟合使用formula。
参数:AIC
Akaike Information Criterion for the linear model fit using formula.
赤池信息准则的线性模型拟合使用formula。
(作者)----------Author(s)----------
Pamela A. McCaskie
参考文献----------References----------
参见----------See Also----------
snp.bin, haplo.bin, epi.quant
snp.bin,haplo.bin,epi.quant
实例----------Examples----------
data(pheno.dat)
mymodel <- epi.bin(formula=PLAQUE~AGE+SBP, pheno=pheno.dat)
summary(mymodel)
# example with a subsetting variable, looking at males only[例如,一个子集变量,只在男性]
mymodel <- epi.bin(formula=PLAQUE~AGE+SBP, pheno=pheno.dat,
sub=expression(SEX==1))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|