Conditional probability table
This article needs additional citations for verification. (December 2013) |
In statistics, the conditional probability table (CPT) is defined for a set of discrete and mutually dependent random variables to demonstrate conditional probability of a single variable with respect to the others. For example, assume there are three random variables where each has states. Then, the conditional probability table of provides the conditional probability values for for each of the K possible values of the variable and for each possible combination of values of This table has cells. In general, for variables with states for each of them, the CPT for any one of them has size [1]
With only two variables, a CPT can be put into matrix form. For example, the values of with k and j ranging over K values, create a K×K matrix. This matrix is a stochastic matrix since the columns sum to 1; i.e. for all j.
References
- ^ Murphy, KP (2012). Machine learning: a probabilistic perspective. The MIT Press.