Maximum Likelihood Estimation
Context
BayesiaLab estimates the parameters of a Bayesian network using Maximum Likelihood Estimation. For a node without parents, the estimate is the observed relative frequency of the state. For a node with parents, the estimate is the relative frequency within a given parent configuration.
Example
Let’s consider this simple network:
Maximum Likelihood Estimation
Let denote the parents of , and let be one configuration of those parents. Its marginal probability is estimated as follows.
where represents the number of occurrences of the specified configuration in the dataset.
For the conditional probability of state , sum over the states of while holding the parent configuration fixed.
Each dot is one observation. Select the row for the observed parent state, then divide the number of teal dots by the total number of dots in that row.