Continuous Empirical (Histogram)
" t- P, w# T+ B2 {) cThe 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.
9 F7 @. m5 M7 }. u& E+ S$ T
% }8 F5 v! J0 p8 \; aThe 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. : G; ~8 a S2 ]- T6 t! k
( j2 X8 x+ @" `7 F8 Z+ `9 Z1 h9 E
7 Y' a+ j M2 d( |" T9 J& v! _( Z+ X7 f9 U r% @" B2 D% x
The 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.
% p s+ W' [$ s) W8 S( f
# F, B1 Z. J# ~, J/ Q" u( @Usage: z_cEmp(s,tab);
1 y' f% t/ R; S! o1 y2 o
! ^+ c: V5 Q& M/ hThe expression s (integer) defines the random number stream, tab the frequency table. |