glmRob(robust)
glmRob()所属R语言包:robust
Fit a Robust Generalized Linear Model
装一个强大的广义线性模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Produces an object of class glmRob which is a Robust Generalized Linear Model fit.
生产类glmRob这是一个强大的广义线性模型拟合的对象。
用法----------Usage----------
glmRob(formula, family = binomial(), data, weights, subset,
na.action, method = "cubif",
model = TRUE, x = FALSE, y = TRUE,
control = glmRob.control, contrasts = NULL, ...)
参数----------Arguments----------
参数:formula
a formula expression as for other regression models, of the form response ~ predictors. See the documentation of lm and formula for details.
其他回归模型,公式表达形式响应~的预测。 lm和formula的详细信息,请参阅文档。
参数:family
a family object - only binomial and poisson are implemented. See the documentation of glm for details.
一个家庭的对象 - 唯一的binomial和poisson来实现。有关详细信息,请参阅文档的glm。
参数:data
an optional data frame in which to interpret the variables occuring in the formula.
一个可选的数据框,其中解释发生在式的变量。
参数:weights
an optional vector of weights to be used in the fitting process. Should be NULL or a numeric vector.
在嵌合过程中要使用可选的权重向量。应该是NULL或数字向量。
参数:subset
an expression specifying the subset of the data to which the model is fit. This can be a logical vector (which is replicated to have length equal to the number of observations), a numeric vector indicating which observations are included, or a character vector of the row names to be included. By default all observations are used.
一个表达式,指定适合该模型的数据的子集。这可以是一个逻辑向量(这是复制的有长度等于观测值的个数),表示观测包括一个数值向量,或以被包括的行的名称的字符矢量。默认情况下,所有的意见。
参数:na.action
a function to filter missing data. This is applied to the model.frame after any subset argument has been used. The default (na.fail) is to create an error if any missing values are found. A possible alternative is na.omit which omits the rows that contain one or more missing values.
一个函数来筛选丢失的数据。这是适用于model.frame在任何subset参数已使用。的默认(na.fail)是创建一个错误,如果发现任何遗漏值的。一个可能的选择是na.omit忽略的行包含一个或多个缺失值的。
参数:method
a character vector indicating the fitting method. The choices are method = "cubif" for the conditionally unbiased bounded influence estimator, method = "mallows" for Mallow's leverage downweighting estimator, and method = "misclass" for a consistent estimate based on the misclassification model. The Mallows' and misclassification estimators are only defined for logistic regression models with Bernoulli response.
一个字符矢量的拟合方法。的选择是method = "cubif"为条件公正界的影响力估计,method = "mallows"Mallow的的杠杆作用downweighting估计,和method = "misclass"误判模型的基础上的一致估计。锦葵“和分类错误的估计只定义为logistic回归模型与伯努利响应。
参数:model
a logical flag. If TRUE then the model frame is returned.
一个逻辑标志。如果TRUE然后返回模型框架。
参数:x
a logical flag. If TRUE then the model matrix is returned.
一个逻辑标志。如果TRUE然后返回模型矩阵。
参数:y
a logical flag. If TRUE then the response variable is returned.
一个逻辑标志。如果TRUE然后返回响应变量。
参数:contrasts
a list of contrasts to be used for some or all of the factors appearing as variables in the model formula. The names of the list should be the names of the corresponding variables, and the elements should either be contrast-type matrices (matrices with as many rows as levels of the factor and with columns linearly independent of each other and of a column of one's), or else they should be functions that compute such contrast matrices.
要用于出现的因素作为模型公式中的变量的一些或所有的列表对比。列表中的名称应该是相应的变量名,和元素应该要么是对比方式的矩阵(与作为许多行作为因子的水平和与线性独立的彼此的列和一个人的的列的矩阵) ,否则他们应该是这种反差矩阵的函数计算。
参数:control
a list of iteration and algorithmic constants to control the conditionally unbiased bounded influence robust fit. See glmRob.cubif.control for their names and default values. These can also be set as arguments of glmRob itself.
一个列表迭代算法的常量控制有条件公正界的影响力强大的适合。 glmRob.cubif.control他们的名字和默认值。也可以将这些设置glmRob本身作为参数。
参数:...
control arguments maybe specified directly.
控制参数可以直接指定。
值----------Value----------
a list with class glmRob containing the robust generalized linear model fit. See glmRob.object for details.
的列表类glmRob包含强大的广义线性模型的拟合。见glmRob.object的详细信息。
参考文献----------References----------
参见----------See Also----------
glmRob.control, glmRob.object, glmRob.cubif.control, glmRob.mallows.control, glmRob.misclass.control, glm.
glmRob.control,glmRob.object,glmRob.cubif.control,glmRob.mallows.control,glmRob.misclass.control,glm。
实例----------Examples----------
data(breslow.dat)
glmRob(sumY ~ Age10 + Base4*Trt, family = poisson(),
data = breslow.dat, method = "cubif")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|