Bvar(SAFD)
Bvar()所属R语言包:SAFD
(Sample) Variance
(样本)方差
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The sample variance of a sample of polygonal fuzzy numbers with respect to the Bertoluzza distance is calculated. Given a list XX of polygonal fuzzy numbers the function first checks (1) if each element of the list is in the correct form (tested by checking) and (2) if the alpha-levels of all elements in the list coincide. If these conditions are fulfilled the Bertoluzza sample variance will be returned (i.e. the average Bertoluzza distance of the elements of XX to its mean). If not the translator function can be used to transform the elements of the list in the correct format. For details see [1] from below, and replace the kernel K with the expression induced by the Bertoluzza metric. The parameter theta has to fulfill theta>0.
多边形与对于到Bertoluzza距离模糊数的样本的样本方差的计算方法。的列表XX折线模糊数的函数首先检查(1)如果列表中的每个元素是在正确的的形式(测试checking)和(2)如果所有的α-水平列表中的元素是一致的。如果满足这些条件Bertoluzza的样本方差,将返回(其均值)的元素XX即平均Bertoluzza的距离。如果不是translator函数可以用于转化的列表中的元素的正确的格式。有关详细信息,请参阅[1]下面,和更换核K的Bertoluzza度量的诱导表达。参数theta履行theta> 0。
用法----------Usage----------
Bvar(XX, theta = 1/3)
参数----------Arguments----------
参数:XX
...should be a list of polygonal fuzzy numbers (the functions implicitly checks the conditions) verifying the above mentioned conditions
...应该是核实上述条件的列表的多边形模糊数(隐式的功能检查的条件)
参数:theta
...numeric and >0, see bertoluzza
数字> 0,bertoluzza
Details
详细信息----------Details----------
See examples
请参见示例
值----------Value----------
Given input XXin the correct format the function returns the Bertoluzza variance of the sample XX.
给定的输入XX以正确的格式函数返回Bertoluzza的样品XX差异。
注意----------Note----------
In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
如果你发现改善的功能(几乎可以肯定存在的)错误,或有建议意见,欢迎上述电子邮件地址。
(作者)----------Author(s)----------
Wolfgang Trutschnig <wolfgang@trutschnig.net>, Asun Lubiano <lubiano@uniovi.es>
参考文献----------References----------
参见----------See Also----------
See Also as bertoluzza, Mmean,Bcov, Bcor
请参见bertoluzza,Mmean,Bcov,Bcor
实例----------Examples----------
#Example 1:[实施例1:]
data(XX)
X<-translator(XX[[1]],50)
Y<-translator(XX[[2]],50)
Z<-translator(XX[[3]],50)
YY<-list(X,Y,Z)
A<-Bvar(YY,1)
A
#Example 2:[实施例2:]
data(XX)
v<-Bvar(list(XX[[1]],XX[[1]]),1/3)
v
#Example 3:[实施例3:]
X<-data.frame(cbind(x=c(-2,-0.75,-0.25,0.5,1),alpha=c(0.3,0,1,0,0.3)))
Y<-data.frame(cbind(x=c(-2,-0.75,-0.25,0.5,1),alpha=c(0,0.3,1,0,0.3)))
Z<-data.frame(cbind(x=c(-2,-0.75,-0.25,0.5,1),alpha=c(0,0.6,1,1,0)))
ZZ<-list(X,Y,Z)
v<-Bvar(ZZ,1)
v
#Example 4[例4]
data(XX)
A<-Bvar(XX,1)
A
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|