Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Probability for Signal Processing

DhvaniAI

A ground-up probability series for engineers and practitioners working with real-world signals — vibration sensors, audio streams, network telemetry, camera pixels, time series. The distribution chain — Bernoulli → Binomial → Poisson → Normal → CLT — is built step by step, with every part led by a concrete applied scenario (a vibration sample crossing an alarm threshold, bearing-fault counts per hour, a moving-average filter on a noisy signal) before the math arrives. The camera-sensor noise model is then worked through end-to-end as the cleanest physical instance of the chain — every link maps to a separate piece of silicon — and other sensors are shown to plug into the same template.

Parts

File pairDescription
part0_what_is_a_distributionThe full conceptual ladder — random process → sample space → event → random variable → distribution → parameters — built with two running examples (a synthetic word source and a vibration sensor stream). Signal-generic, stays in R1\mathbb{R}^1.
part1_bernoulliOne vibration sample crosses the alarm threshold; the Bernoulli trial as the atom of randomness across signal-processing domains.
part2_binomialCounting threshold crossings in a 1-second vibration window; PMF built term by term; shape as a function of nn and pp; Monte Carlo validation.
part3_poissonBearing shock pulses per hour as the canonical rare-event count; Binomial limit as nn \to \infty, p0p \to 0; the σ=λ\sigma = \sqrt{\lambda} rule.
part4_normalThe silent-sensor noise floor as the entry point to the bell curve; two parameters, Poisson → Normal convergence as λ\lambda grows.
part5_cltMoving-average filtering on a noisy stream as the entry point to the CLT; any distribution becomes Gaussian when summed; 1/n1/\sqrt{n} noise reduction; KS-distance convergence rate.
part6_putting_it_togetherThe generic measurement chain (transduction → accumulation → electronics → ADC) worked end-to-end for the camera sensor; vibration / audio / network sensors plug into the same template.
exercisesFour practice problems: Binomial/Poisson convergence rate, Anscombe transform, noise budget, CLT skewness.
aside_high_dim_distributionsForward-reference, optional. High-dimensional distributions, manifolds, what neural networks learn in feature space, distribution shift, adversarial examples, generative models. Read after parts 1–6; will be relocated to a Part IV chapter once the CNN material is in place.
stochastic_processesPlaceholder. Time-indexed randomness — stationarity, autocorrelation, power spectral density, ergodicity, named processes (white noise, Wiener, Markov, Poisson). Outline only; will be filled in when Part II (Signals and Measurement) needs it.

Running

Every .py file is standalone:

# from project root
source .venv/bin/activate
python math/probability/part0_what_is_a_distribution.py
python math/probability/part1_bernoulli.py
python math/probability/part2_binomial.py
python math/probability/part3_poisson.py
python math/probability/part4_normal.py
python math/probability/part5_clt.py
python math/probability/part6_putting_it_together.py
python math/probability/exercises.py   # stub — complete the exercises first

If you add a new downstream reference, list it here and link back to this directory so the cross-reference graph stays discoverable.