CovControlMcd(rrcov)
CovControlMcd()所属R语言包:rrcov
Constructor function for objects of class "CovControlMcd"
构造函数功能“类”CovControlMcd的对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function will create a control object CovControlMcd containing the control parameters for CovMcd
此功能将创建一个控制对象CovControlMcd包含的控制参数CovMcd
用法----------Usage----------
CovControlMcd(alpha = 0.5, nsamp = 500, seed = NULL, trace= FALSE, use.correction = TRUE)
参数----------Arguments----------
参数:alpha
numeric parameter controlling 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. For nsamp="best" exhaustive enumeration is done, as long as the number of trials does not exceed 5000. For "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。对于"exact",穷举尝试,然而,许多样品需要。在这种情况下,将显示一条警告消息说,计算需要很长的时间。
参数:seed
starting value for random generator. Default is seed = NULL
随机数发生器的初始值。默认是seed = NULL
参数:trace
whether to print intermediate results. Default is trace = FALSE
是否要打印的中间结果。默认是trace = FALSE
参数:use.correction
whether to use finite sample correction factors. Default is use.correction=TRUE
是否使用有限样本的校正因素。默认是use.correction=TRUE
值----------Value----------
A CovControlMcd object
ACovControlMcd对象
(作者)----------Author(s)----------
Valentin Todorov <a href="mailto:valentin.todorov@chello.at">valentin.todorov@chello.at</a>
参考文献----------References----------
An Object Oriented Framework for Robust Multivariate Analysis. Journal of Statistical Software, 32(3), 1–47. URL http://www.jstatsoft.org/v32/i03/.
实例----------Examples----------
## the following two statements are equivalent[#下面的两个语句是等价的]
ctrl1 <- new("CovControlMcd", alpha=0.75)
ctrl2 <- CovControlMcd(alpha=0.75)
data(hbk)
CovMcd(hbk, control=ctrl1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|