btestk.mean(SAFD)
btestk.mean()所属R语言包:SAFD
Multi-sample bootstrap test for the equality of the mean of FRVs
多点采样bootstrap检验平等的平均值FRVs
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a list XXX of length k sublists of polygonal fuzzy numbers the function first checks if each element of the sublists has the correct format and if the alpha-levels of all input fuzzy numbers coincide. The vector sel contains the numbers of the sublists the user wants to filter to. After filtering the relevant part of XXX the function computes the test-statistic, which compares the sum of the distances of the groups means and the overall mean with the sum of the group variances. Before doing the resampling length(sel) new samples are calculated by adding to each element of every fixed group the sum of all means of the other groups. Based on these length(sel) new samples B values of the (bootstrap) 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 the via sel selected samples from XXX and the total mean are plotted in one window and the ecdf of the bootstrap statistic in another one, otherwise no plot is produced. For a more detailed explanation see the papers [1] and [2] below.
鉴于XXX长度k子列表的多边形的模糊数的功能首先检查的子列表的每个元素具有正确的格式,如果全部输入模糊数的α-水平重合列表。向量sel包含用户想要过滤的子表的数目。过滤后的有关部分,XXX函数计算测试统计量,该比较的基团的距离的总和装置和与组差异的总和的整体平均。在此之前的重采样length(sel)新的样本加入的每个元素的每一个固定组其他组的所有手段的总和计算。基于这些length(sel)新的样本B(引导)检验统计量的值计算。返回的p-值被计算为自举统计量所获得的值是大于测试统计量的值的部分。如果pic= 1,则样本是指通过sel选取的样本XXX和总的平均被绘制在一个窗口中,在一个又一个的引导统计和厄立特里亚社区发展基金,否则就没有图。对于更详细的解释,请参见[1]和[2]在下面的文件。
用法----------Usage----------
btestk.mean(XXX, sel, B = 50, pic = 1)
参数----------Arguments----------
参数:XXX
... A list of sublists, each of which contains polygonal fuzzy numbers
...子表的列表,其中每个都包含多边形模糊数
参数:sel
...vector, selection of number of the samples (sublists) to be considered
...矢量,选择的样品的数量(子列表)以被视为
参数:B
...integer, by default B=50.
...整数,默认情况下,B= 50。
参数:pic
...numeric, if pic=1 then the sample means of the via sel selected samples from XXX and the total mean are plotted in one window and the ecdf of the bootstrap statistic in another one. By default pic=1.
...数字,如果pic= 1,则样本均值的通过sel选取的样本XXX和总的平均绘制在一个窗口和厄立特里亚社区发展基金的引导统计另一个。默认情况下,pic= 1。
Details
详细信息----------Details----------
See examples
请参见示例
值----------Value----------
Given input XXX in the correct format, the function returns the p-value of the two-sided test.
给定的输入XXX以正确的格式,该函数返回的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, btest.mean, btest2.mean
请参见Mmean,Bvar,bertoluzza,btest.mean,btest2.mean
实例----------Examples----------
#very small B only for testing purpose[小B仅用于测试目的]
data(Trees)
sel<-c(1,2,3)
b<-btestk.mean(Trees,sel,5)
b
#run for bigger B[运行更大的乙]
#b<-btestk.mean(Trees,sel,100)[B <-btestk.mean(树,SEL,100)]
#b[b]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|