btest2.mean(SAFD)
btest2.mean()所属R语言包:SAFD
Two-sample bootstrap test on the equality of mean of two FRVs
两样本引导测试的平等意味着两个FRVs
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given two samples XX and YY of polygonal fuzzy numbers the function first checks if each element of XX and YY has the correct format and if the alpha-levels of all input fuzzy numbers coincide. In case yes, the function compute the test statistic described in [1] below. Before doing the resampling Mmean(YY) is added to each element of XX and vice versa. Based on these two new samples B values of the test statistic are calculate. The returned p-value is calculated as the portion of the obtained values of the bootstrap statistic that are greater than the value of the test-statistic. If pic=1 then the sample means of XX and YY are plotted in one window and the ecdf of the bootstrap statistic in another one, otherwise no plot is produced. For detailed explanation see the papers [1] and [2] below.
两个样本XX和YY折线模糊数的功能首先检查每个元素的XX和YY具有正确的格式,如果所有输入的α-模糊数是一致的。的情况下是,函数计算的检验统计量,在下面的[1]中所述。在此之前重采样Mmean(YY)被添加到每个元素的XX,反之亦然。基于这两个新样本B检验统计量的值计算。返回的p-值被计算为自举统计量所获得的值是大于测试统计量的值的部分。如果pic= 1,则样本均值的XX和YY绘制在一个窗口中,在一个又一个的引导统计和厄立特里亚社区发展基金,否则是没有图。详细说明见文献[1]和[2]中。
用法----------Usage----------
btest2.mean(XX, YY, B = 1000, pic = 1)
参数----------Arguments----------
参数:XX
...should be a list of polygonal fuzzy numbers (the functions implicitly checks the conditions)
应该是折线模糊数的列表(隐式的功能检查的条件)
参数:YY
...should be a list of polygonal fuzzy numbers (the functions implicitly checks the conditions)
应该是折线模糊数的列表(隐式的功能检查的条件)
参数:B
...integer, by default B=1000.
...整数,默认情况下,B= 1000。
参数:pic
...numeric, if pic=1 then the sample means of XX and YY are plotted in one window and the ecdf of the bootstrap statistic in another one. By default pic=1.
...数字,如果pic= 1,则样本均值的XX和YY被绘制在一个窗口和厄立特里亚社区发展基金的引导在另外一个统计。默认情况下,pic= 1。
Details
详细信息----------Details----------
See examples
请参见示例
值----------Value----------
Given input XX and YY in the correct format, the function returns the p-value of the two-sided bootstrap test.
给定的输入XX和YY以正确的格式,该函数返回的p值的双面引导测试。
注意----------Note----------
The function is quite slow - we will try to solve this problem in the next versions of the package.<br> In case you find (almost surely existing) bugs or have recommendations for improving the functions comments are welcome to the above mentioned mail addresses.
的功能是相当缓慢 - 在未来版本的软件包,我们会尽力解决这个问题。如果您发现<BR>(几乎是肯定存在的)错误或改善功能的意见建议,欢迎上述邮件地址。
(作者)----------Author(s)----------
Wolfgang Trutschnig <wolfgang@trutschnig.net>, Asun Lubiano <lubiano@uniovi.es>
参考文献----------References----------
参见----------See Also----------
See Also as Mmean, Bvar, bertoluzza
请参见Mmean,Bvar,bertoluzza
实例----------Examples----------
#run for bigger B[运行更大的乙]
data(XX)
X<-translator(XX[[1]],20)
Y<-translator(XX[[2]],20)
XX<-vector("list",length=30)
for (j in 1:30){
XX[[j]]<-generator(X,)
}
YY<-vector("list",length=20)
for (j in 1:20){
YY[[j]]<-generator(Y,)
}
b<-btest2.mean(XX,YY,10)
b
#takes some time in the current version:[在当前版本中需要一定的时间:]
#data(Trees)[数据(树)]
#b<-btest2.mean(Trees[[1]],Trees[[2]],50)[B <-btest2.mean(树[[1]],树[[2]],50)]
#b[b]
#b<-btest2.mean(Trees[[1]],Trees[[3]],50)[B <-btest2.mean(树[[1]],树[[3]],50)]
#b[b]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|