CovControlSde(rrcov)
CovControlSde()所属R语言包:rrcov
Constructor function for objects of class "CovControlSde"
构造函数功能“类”CovControlSde的对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function will create a control object CovControlSde containing the control parameters for CovSde
此功能将创建一个控制对象CovControlSde包含的控制参数CovSde
用法----------Usage----------
CovControlSde(nsamp = 0, maxres = 0, tune = 0.95, eps = 0.5, prob = 0.99,
seed = NULL, trace = FALSE, tolSolve = 1e-14)
参数----------Arguments----------
参数:nsamp
a positive integer giving the number of resamples required; nsamp may not be reached if too many of the p-subsamples, chosen out of the observed vectors, are in a hyperplane. If nsamp = 0 all possible subsamples are taken. If nsamp is omitted, it is calculated to provide a breakdown point of eps with probability prob.
一个正整数,重采样的数量要求;nsamp可能无法达到,如果太多的p子样本,选择了所观察到的向量,是在一个超平面。 nsamp = 0如果采取所有可能的子样本。如果nsamp省略,它的计算方法提供一个故障点的概率epsprob。
参数:maxres
a positive integer specifying the maximum number of resamples to be performed including those that are discarded due to linearly dependent subsamples. If maxres is omitted it will be set to 2 times nsamp.
指定要包括那些被丢弃由于线性相关的子样本进行重新采样的最大数目的一个正整数。如果maxres省略,它会被设置为2倍nsamp。
参数:tune
a numeric value between 0 and 1 giving the fraction of the data to receive non-zero weight. Defaults to 0.95.
0和1之间的数值的馏分要接收的数据非零重量。默认为0.95的。
参数:prob
a numeric value between 0 and 1 specifying the probability of high breakdown point; used to compute nsamp when nsamp is omitted. Defaults to 0.99.
介于0和1之间的一个数值,指定高击穿点的概率;用来计算nsamp当nsamp被删去。默认为0.99的。
参数:eps
a numeric value between 0 and 0.5 specifying the breakdown point; used to compute nsamp when nresamp is omitted. Defaults to 0.5.
指定一个数值,在0和0.5之间的故障点来计算nsampnresamp被省略。默认为0.5的。
参数:seed
starting value for random generator. Default is seed = NULL.
随机数发生器的初始值。默认是seed = NULL。
参数:trace
whether to print intermediate results. Default is trace = FALSE.
是否要打印的中间结果。默认是trace = FALSE。
参数:tolSolve
numeric tolerance to be used for inversion (solve) of the covariance matrix in mahalanobis.
数字耐受用于反转(solve)的协方差矩阵在mahalanobis。
值----------Value----------
A CovControlSde object.
ACovControlSde对象。
(作者)----------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("CovControlSde", nsamp=2000)
ctrl2 <- CovControlSde(nsamp=2000)
data(hbk)
CovSde(hbk, control=ctrl1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|