drop1.lmRob(robust)
drop1.lmRob()所属R语言包:robust
Compute an Anova Object by Dropping Terms
计算方差分析对象,通过降低条款
译者:生物统计家园网 机器人LoveR
描述----------Description----------
drop1.lmRob is used to investigate a robust Linear Model object by recomputing it, successively omitting each of a number of specified terms.
drop1.lmRob是用来研究一个强大的线性模型,先后省略了一些指定字词的对象重新计算。
用法----------Usage----------
## S3 method for class 'lmRob'
drop1(object, scope, scale, keep, fast = FALSE, ...)
参数----------Arguments----------
参数:object
an lmRob object.
对象的lmRob。
参数:scope
an optional formula object describing the terms to be dropped. Typically this argument is omitted, in which case all possible terms are dropped (without breaking hierarchy rules). The scope can also be a character vector of term labels. If the argument is supplied as a formula, any . is interpreted relative to the formula implied by the object argument.
一个可选的formula对象,它描述的条款被删除。通常情况下,这个参数被省略,在这种情况下,所有的条件都将被丢弃(不打破等级规则)。 scope也可以是一个字符向量的项标记。如果该参数被指定为一个公式,任何.暗示的object参数的公式解释。
参数:scale
a single numeric value containing a residual scale estimate. If missing, the scale estimate in object is used.
一个单一的数字值,其中包含的剩余规模估计。如果缺少,规模估计在object使用。
参数:keep
a character vector of names of components that should be saved for each subset model. Only names from the set "coefficients", "fitted" and "residuals" are allowed. If keep == TRUE, the complete set is saved. The default behavior is not to keep anything.
应该被保存为每个子集模型的组件的名称的字符矢量。只有从集合的名称"coefficients","fitted"和"residuals"是不允许的。如果keep == TRUE,一套完整保存。默认的行为是不保留任何东西。
参数:fast
a logical value. If TRUE the robust initial estimate (used when fitting each of the reduced models) is replaced by a weighted least squares estimate using the robust weights in object.
一个逻辑值。如果TRUE强大的最初的估计装修时使用的减少模型所取代的加权最小二乘估计使用强大的权重object。
参数:...
additional arguments required by the generic drop1 function.
额外的参数所需的通用drop1功能。
Details
详细信息----------Details----------
This function is a method for the generic function drop1 for class "lmRob".
这个函数是一个方法的通用函数drop1类"lmRob"。
值----------Value----------
An anova object is constructed, consisting of the term labels, the degrees of freedom, and Robust Final Prediction Errors (RFPE) for each subset model. If keep is missing, the anova object is returned. If keep is present, a list with components "anova" and "keep" is returned. In this case, the "keep" component is a matrix of mode "list", with a column for each subset model, and a row for each component kept.
一个anova对象被构造,组成的术语标签的自由度,和鲁棒最终预测的错误(RFPE)为每个子集模型。如果keep,anova对象返回。如果keep是目前的组件"anova"和"keep"返回的列表。在这种情况下,"keep"组件是一个矩阵模式"list",对于每个子集模式与一列,并为每个组件保持一排。
参见----------See Also----------
add1, anova, drop1, lmRob.object.
add1,anova,drop1,lmRob.object。
实例----------Examples----------
data(stack.dat)
stack.rob <- lmRob(Loss ~ ., data = stack.dat)
drop1(stack.rob)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|