def Likelihood(self, data):
m = len(data)<EOL>if self.n < m:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>x = data<EOL>p = self.Random()<EOL>q = p[:m] ** x<EOL>return q.prod()<EOL>
Computes the likelihood of the data.

        Selects a random vector of probabilities from this distribution.

        Returns: float probability