设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2456|回复: 4

[求助] 怎样做经验分布表?谢谢!

  [复制链接]
发表于 2011-1-11 10:17:40 | 显示全部楼层 |阅读模式
比如做这样一个表,让source调用:
) \  ^* ^7 n6 U- _- s/ F0~1分钟,58%;
; q: \2 T8 z7 S; r! {  I1~2.4分钟,7%;; H3 O$ Y0 y+ H) ~' B
2.4~3.9分钟,7%;1 ?: p9 X( a, {  }3 o: {' I
3.9~6.9分钟,8%;
. ?5 u- \! l& i; B6.9~13.9分钟,5%;8 e4 ?/ M$ |3 p6 M
13.9以上,15%。
( ^$ L2 Q: v" T4 }" y' H  o6 b9 n+ [. j: B) \1 C
谢谢!
 楼主| 发表于 2011-1-11 11:10:57 | 显示全部楼层
如果不能用表生成,用Method生成可以吗?Simtalk怎么编写?
 楼主| 发表于 2011-1-11 21:49:02 | 显示全部楼层
Continuous Empirical (Histogram) ) Q5 Z" H' q6 u3 K/ N4 F& j
The input data is preprocessed and grouped into k classes. Each class contains all samples within a given interval. The k intervals are disjoint but not necessarily adjacent. , U2 f4 @, X2 p+ m8 U
0 T+ k5 L9 u/ u' X' _; a
The interval includes the lower bound but not the upper bound. If the left bound is equal to the right bound, the interval degenerates to a point. This special case is of interest if the probability of a single point is nonzero.
8 y3 }+ j. B8 \/ f* `2 S" y) f9 A, j) |9 Z
0 [3 i0 z: _" `$ I( X% e5 W/ T

+ c1 K- l; Z, q. F, V# P0 j/ kThe first column of the frequency table contains the lower bound, the second column contains the lower bound, the third column contains the frequency of the corresponding intervals. The data type of the third column has to be real, time, or integer. The number of values of the input data contained in an interval can be used as frequency, for example.
: f7 g4 I+ J0 u. x2 [: F' W1 A+ ?( k2 b; y9 q7 n; v
Usage:  z_cEmp(s,tab);  
( U  ]& M  }; x& |! y% ^/ g0 _* Z- i( y
The expression s (integer) defines the random number stream, tab the frequency table.
 楼主| 发表于 2011-1-11 22:04:56 | 显示全部楼层
回复 3# mengling " w& M( q. o' u1 B. O) }
4 S, S5 Y# a. v+ t3 M3 D9 f

0 Y- q& i" p' B  u3 c    谢谢您!
发表于 2011-4-14 10:35:15 | 显示全部楼层
学习中
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-11-27 13:57 , Processed in 0.016103 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表