DShistogram(SAFD)
DShistogram()所属R语言包:SAFD
Levelwise Dempster-Shafer Histogram
Levelwise DS证据直方图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Based on a sample XX of polygonal fuzzy numbers (tested by checking), a chosen interval limx, a chosen number npart of partitions elements and a chosen number nl of equidistant alpha-levels the levelwise Dempster-Shafer frequency for each partition element is calculated. If pic=TRUE then a 3d plot as well as an image-plot of the histogram is produced. In case of pdf=TRUE a pdf containing these plots is produced automatically.
基于样本XX折线模糊数(测试checking),选定的时间间隔limx,选定的npart的分区元素和选定的数<X >等距离的α-水平levelwise DS证据频率为每个分区元素的计算方法。如果nl= TRUE,那么3D绘图以及影像图的直方图生产。的情况下,pic= TRUE PDF包含这些图自动生成。
用法----------Usage----------
DShistogram(XX, limx = NA, npart = 10, nl = 101, pic = TRUE, pdf = FALSE)
参数----------Arguments----------
参数:XX
...list of polygonal fuzzy numbers (the function implicitly checks the conditions)
...列表折线模糊数(函数隐式检查的条件)
参数:limx
...numeric vector of length two, by default limx=c(0,1), that determines the x-range for which the histogram is plotted
...数值向量的长度为2,在默认情况下limx = C(0,1),该值确定的x范围为绘制直方图
参数:npart
...integer, number of partitions elements
...整数,的分割元素的数量
参数:nl
...number of equidistant alpha-level, by default nl=101
...等距离的α-级,默认情况下,nl= 101
参数:pic
...if pic=1, a 3d- and an image-plot of the histogram is produced
...如果pic= 1,三维图像的直方图图的制作
参数:pdf
...if pdf=1, a 3d- and an image-plot of the histogram is automatically exported as pdf, by default pdf=FALSE
......如果pdf= 1,三维影像图的直方图自动导出为PDF格式,默认情况下,pdf= FALSE
Details
详细信息----------Details----------
See examples
请参见示例
值----------Value----------
If the input data is in the correct form the function returns a list with the following elements:
如果输入的数据是正确的形式,该函数返回一个列表,包含下列元素:
参数:gridx
x-grid for plotting the histogram
X-网格绘制的直方图
参数:gridy
y-grid for plotting the histogram
Y-网格绘制的直方图
参数:M
values of the histogram as function on the grid
在网格上的函数值的直方图
参数:breaks
breaks of the histogram
截断的直方图
注意----------Note----------
Speed to be improved in future 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----------
[2] Viertl, R., Hareter, D.: Beschreibung und Analyse unscharfer Information: Statistische Methoden fuer unscharfe Daten, Springer Wien New York, 2006
参见----------See Also----------
See Also as DSfrequency
此外,DSfrequency
实例----------Examples----------
#an example with a random variable with small spread of the expectation[小传播的期望的随机变量的一个例子与]
#run for bigger sample size and finer partition[更大的样本量和更精细的分区运行]
data(XX)
V<-translator(XX[[3]],30)
V2<-V
V2$x<-V$x/5
SS<-vector("list",length=300)
for (j in 1:300){
SS[[j]]<-generator(V2,)
}
A<-DShistogram(SS,c(-3,3),npart=6,nl=51)
#run for bigger sample size and finer partition[更大的样本量和更精细的分区运行]
data(XX)
V<-translator(XX[[3]],30)
V2<-V
V2$x<-V$x/10
pertV<-list(dist="unif",par=c(-2,2))
SS<-vector("list",length=300)
for (j in 1:300){
SS[[j]]<-generator(V2,pertV,)
}
A<-DShistogram(SS,,npart=5,nl=51)
#takes some time but produces nice result[需要一定的时间,但会产生不错的结果]
#data(XX)[数据(XX)]
#V<-translator(XX[[3]],30)[V <翻译(XX [[3]],30)]
#V2<-V[V2 <-V]
#V2$x<-V$x/10[V2 $ X-V $ X/10]
#pertV<-list(dist="unif",par=c(-2,2))[pertV <列表(区=“UNIF”,面值= C(-2,2))]
#pertL<-list(dist="lnorm",par=c(-2,2))[pertL <列表(区=的“lnorm”,面值= C(-2,2))]
#SS<-vector("list",length=1000)[SS <向量(“名单”,长度= 1000)]
#for (j in 1:1000){[为(J 1:1000){]
# SS[[j]]<-generator(V2,pertV,pertL,)[SS [J]] < - 发电机(V2,pertV,pertL)]
# }[}]
#A<-DShistogram(SS,,npart=15,nl=51)[A <DShistogram的(SS,npart = 15,NL = 51)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|