Continuous Empirical (Histogram)
0 h' F8 R: S- s1 F) rThe 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.
" N! F; q( C5 U2 O [' I4 s
4 |7 A* a9 V* A' nThe 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.
# {5 c' S1 a3 C0 }
, h# Z9 K$ T: o1 b7 _# z
?# {2 g; _, C8 F0 i! n
m$ V1 T a- t4 t8 D, w7 F$ N- RThe 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.
$ N2 |: _3 u Y5 U) d4 L6 b, k2 l9 [) }7 e
Usage: z_cEmp(s,tab); 6 f. U* d- W& x! n- M
+ V6 w8 u* F) l1 ?. y
The expression s (integer) defines the random number stream, tab the frequency table. |