Zhaolu

Zhao Lü

code · read · fitness

Posts
Portfolio
Photos
Teach
Travels
Talks & Patents

Recent Posts

  • VLM Grounding on a Mac: Image In, Boxes Out 2026-11-16
  • Unlimited-OCR-2 on Dual-Panel Lab Tables: What Works, What Breaks, How I Fixed It 2026-11-16
  • JA4 Fingerprinting: Why One Digest Can Cover Hundreds of User-Agents 2026-11-16
Read more posts →
CS Glossary / Bernoulli distribution

Bernoulli distribution

Also known as: Bernoulli trial, Bernoulli(p)

A Bernoulli($p$) random variable takes value $1$ with probability $p$ and $0$ with probability $1-p$. Mean $p$, variance $p(1-p)$. The MLE / method of moments estimator of $p$ from an iid sample is the sample mean $\bar X$.

$n$ iid Bernoulli trials yield a Binomial count; indicator variables for events are Bernoulli.

Related terms

  • Binomial distribution
  • Maximum likelihood
  • Sample mean
  • IID

← Back to CS Glossary