Skip to main content
Tag added
Link
Andrey Rekalo
  • 22.3k
  • 12
  • 89
  • 122
Source Link
eakbas
  • 453
  • 1
  • 4
  • 14

Numeric problem when evaluating log of a pdf

In maximum likelihood estimation, one typically needs to compute the log (natural log) of probability values. When a probability, say $p(x)$, becomes so close to zero, $log(p(x))$ returns -Inf. What is the usual trick to avoid these cases?