rrcov.control(robustbase)
rrcov.control()所属R语言包:robustbase
Control object for the estimation parameters
估计参数的控制对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Auxiliary function for passing the estimation options as parameters to the estimation functions.
用于传递作为参数的估计函数的估计选项的辅助功能。
NOTE: The name WILL change !!!!
注:该名称将改变!!
用法----------Usage----------
rrcov.control(alpha = 1/2, nsamp = 500, nmini = 300,
seed = NULL, tolSolve = 1e-14, trace = FALSE,
use.correction = TRUE, adjust = FALSE)
参数----------Arguments----------
参数:alpha
This parameter controls the size of the subsets over which the determinant is minimized, i.e., alpha*n observations are used for computing the determinant. Allowed values are between 0.5 and 1 and the default is 0.5.
此参数控制行列式最小的子集的大小,即,alpha*n观测用于计算行列式。允许的值是0.5~1之间,默认为0.5。
参数:nsamp
number of subsets used for initial estimates or "best" or "exact". Default is nsamp = 500. If nsamp="best" exhaustive enumeration is done, as far as the number of trials do not exceed 5000. If nsamp="exact" exhaustive enumeration will be attempted however many samples are needed. In this case a warning message will be displayed saying that the computation can take a very long time.
用于初步估计或"best"或"exact"的子集数。默认是nsamp = 500。如果nsamp="best"穷举完成,尽可能试验的次数不超过5000。如果nsamp="exact"穷举然而,许多样品将尝试是必要的。在这种情况下,将显示一条警告消息说,计算需要很长的时间。
参数:nmini
for covMcd: For large n, the algorithm splits the data into maximally krep = 5 subsets of size nmini. </table>
covMcd:对于大n,算法分割数据的到最大限度krep = 5的子集的大小nmini。 </ TABLE>
参数:seed
initial seed for R's random number generator; see .Random.seed and the description of the seed argument in lmrob.control.
初始为R的随机数生成器的种子,见.Random.seed和seedlmrob.control参数的描述中。
参数:tolSolve
numeric tolerance to be used for inversion (solve) of the covariance matrix in mahalanobis.
数字耐受用于反转(solve)的协方差矩阵在mahalanobis。
参数:trace
whether to print intermediate results. Default is trace = FALSE
是否要打印的中间结果。默认是trace = FALSE
参数:use.correction
whether to use finite sample correction factors. Defaults to TRUE.
是否使用有限样本的校正因素。默认为TRUE的。
参数:adjust
whether to perform intercept adjustment at each step. Because this can be quite time consuming, the default is adjust = FALSE.
是否执行拦截调整在每一步。因为这可能是非常耗时的,默认的是adjust = FALSE。
Details
详细信息----------Details----------
For details about the estimation options see the corresponding estimation functions.
估计的估计选项的详细信息,请参阅相应的功能。
值----------Value----------
A list with components, as the parameters passed by the invocation
与组件,通过调用的参数列表
(作者)----------Author(s)----------
Valentin Todorov
实例----------Examples----------
data(Animals, package = "MASS")
brain <- Animals[c(1:24, 26:25, 27:28),]
data(hbk)
hbk.x <- data.matrix(hbk[, 1:3])
ctrl <- rrcov.control(alpha=0.75, trace=TRUE)
covMcd(hbk.x, control = ctrl)
covMcd(log(brain), control = ctrl)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|