contents next up previous
Next: Function Object Classes Up: Basic classes Previous: Non-Parametric Cdf, continuous variable

Subsections

Non-Parametric Cdf, categorical variable

Categ_non_param_cdf<T>

Categ_non_param_cdf<T> is a non-parametric cdf of a categorical (discrete) variable Z. It is defined by n category labels z1,..., zn and the corresponding probabilities. We define the cumulative probability of being in class zj by:

Prob(Z$\displaystyle \le$zj) = $\displaystyle \sum_{i=1}^{j-1}$Prob(Z = zi)



Where Defined

In header file <cdf.h>



Template Parameters

T   the cdf's type value. It can be any ``discrete'' type (e.g. int or bool). It is unsigned int by default.



Model of

Non-Parametric Cdf



Members

The leading Categ_non_param_cdf:: is omited in the following list of member fonctions.


contents next up previous
Next: Function Object Classes Up: Basic classes Previous: Non-Parametric Cdf, continuous variable
nicolas
2002-05-07