Of Notes

Log Likelihood

1 min read · revised 16 October 2026 · referred to by 1 note · ·

In Maximum Likelihood when we define a product of many probabilities, if we want to optimize using calculus we would have to chain rule a lot. Additionally when multiplying multiple floats (numbers in ) precision can be lost.

This is why we apply a natural logarithm to the likelihood function in which the logarithm converts the product into a sum due to the identity for a simple Bernoulli distribution we can derive that:

Using :

Knowing that

/ or Ctrl K
search; empty, it shows notes to revise and lately read
m
mark this note to revise, or unmark it
c
cover maths, proofs and solutions to test yourself
n
uncover the next covered item
y
copy this note’s org-roam link
e
copy this note as markdown, LaTeX kept as TeX
p
the next problem to work; there h hints, s shows the solution, x passes it for today
→ ← j k space
turn the page, when reading in pages
l
on the map, trace the greatest distance, then the longest path
double-click
a formula, to copy its TeX
rest on maths
bind a part of a formula and open the wheel of notes it comes from; scroll or ↑ ↓ widens it, 1–6 goes
?
this card