This page is a collection of all theorems taught in EECS126: Probability and Random Processes, Spring 2021. A good reference!

Link to PDF version here.

Probability Basics

  1. Conditional Probability P(A∣B)=P(A∩B)P(B),P(B)>0P(A | B) = \frac{P(A \cap B)}{P(B)}, P(B) > 0

  2. Total Probability Theorem P(B)=∑i=1nP(Ai)P(B∣Ai)P(B) = \sum_{i=1}^{n} P(A_i)P(B | A_i)

  3. Bayes Rules P(Ai∣B)=P(Ai)P(B∣Ai)P(B)P(A_i | B) = \frac{P(A_i)P(B|A_i)}{P(B)}

  4. Union Bound P(⋃i=1∞Ai)≤∑i=1∞P(Ai)P(\bigcup_{i=1}^{\infty} A_i) \leq \sum_{i=1}^{\infty}P(A_i)

  5. Independence P(A∣B)=P(A)  ⟺  A and B are independentP(A | B) = P(A) \iff \text{A and B are independent}

  6. Conditional Independence P(A∩B∣C)=P(A∣C)P(B∣C)  ⟹  A and B conditionally independentP(A \cap B | C) = P(A | C) P(B | C) \implies \text{A and B conditionally independent}

  7. Independence of Several Events P(∩i∈SAi)=∏i∈SP(Ai)P(\cap_{i \in S} A_i) = \prod_{i \in S} P(A_i)

  8. Counting Permutations of Size kk in nn Objects nPk=n!(n−k)!^nP_k = \frac{n!}{(n-k)!}

  9. Counting Ways to Choose kk Objects in nn Objects (nk)=n!k!(n−k)!{n\choose k} = \frac{n!}{k!(n-k)!}

  10. Counting Ways To Partition nn Objects into nin^i Groups (nn1,n2...nk)=n!n1!n2!...nk!{n\choose n_1, n_2... n_k} = \frac{n!}{n_1! n_2!...n_k!}

Discrete Random variables

  1. Bernoulli Random Variable P(X=k)={1 with probability p0 with probability 1−p \begin{aligned} P(X = k) = \begin{cases} 1 & \text{ with probability } p \newline 0 & \text{ with probability } 1-p \end{cases} \end{aligned} E(X)=p\mathbb{E}(X) = p var(X)=p(1−p)var(X) = p(1-p)

  2. Binomial Random Variable P(X=k)=(nk)pk(1−p)n−kP(X = k) = {n\choose k} p^k (1-p)^{n-k} E(X)=np\mathbb{E}(X) = np var(X)=np(1−p)var(X) = np(1-p)

  3. Geometric Random Variable P(X=k)=(1−p)k−1pP(X = k) = (1-p)^{k-1} p E(X)=1p\mathbb{E}(X) = \frac{1}{p} var(X)=1−pp2var(X) = \frac{1-p}{p^2}

  4. Poisson Random Variable P(Xλ=k)=e−λλkk!P(X_\lambda = k) = \frac{e^{-\lambda}\lambda^k}{k!} E(X)=λ\mathbb{E}(X) = \lambda var(X)=λvar(X) = \lambda

  5. Linearity of a Poisson RV Poisson(λ)+Poisson(μ)∼Poisson(λ+μ)Poisson(\lambda) + Poisson(\mu) \sim Poisson(\lambda + \mu)

  6. Uniform Random Variable P(X=k)={1b−a+1 k∈[a,b]0 otherwise\begin{equation*} P(X = k) = \begin{cases} \frac{1}{b-a+1} & \ k \in [a,b] \\ 0 & \text{ otherwise} \end{cases} \end{equation*}

  7. Joint PMFs PX,Y(x,y)=Pr⁡(X=x,Y=y)P_{X, Y} (x, y) = \Pr(X = x, Y = y) PX(x)=∑yPX,Y(x,y) and vice versaP_X(x) = \sum_{y} P_{X, Y}(x, y) \text{ and vice versa}

  8. Conditional PMFs PX∣A(X=x∣A)=P({X=x}∩A)P(A)P_{X|A}(X = x|A) = \frac{P(\{X = x\} \cap A)}{P(A)} PXY(x∣y)=PX,Y(x,y)PY(y)P_{X_Y}(x|y) = \frac{P_{X,Y}(x,y)}{P_Y(y)}

Expectation, Variance and Covariance

  1. Expectation E(X)=∑xxP(X=x)\mathbb{E}(X) = \sum_{x} xP(X = x)

  2. Law of The Unconscious Statistician E(g(X)]=∑xg(x)P(X=x)\mathbb{E}(g(X)] = \sum_{x} g(x)P(X = x)

  3. Variance var(X)=E[(X−E(X))2]≥0var(X) = \mathbb{E}[(X - \mathbb{E}(X))^2] \geq 0

  4. Standard Deviation σ=var\sigma = \sqrt{var}

  5. Linearity of Expectation E(aX+bY)=aE(X)+bE(Y)\mathbb{E}(aX + bY) = a\mathbb{E}(X) + b\mathbb{E}(Y)

  6. Expectation of Joint Distribution E(g(X,Y))=∑x∑yg(x,y)PX,Y(x,y)\mathbb{E}(g(X, Y)) = \sum_{x}\sum_{y} g(x, y)P_{X, Y}(x, y)

  7. Variance of a Sum of Random Variables var(X+Y)=var(X)+var(Y)+2cov(X,Y)var(X+Y) = var(X) + var(Y) + 2cov(X, Y)

  8. Conditional Expectation E(X∣Y=y)=∑xx PX∣Y(x∣y)\mathbb{E}(X | Y = y) = \sum_{x} x\ P_{X|Y}(x|y)

  9. Total Expectation Theorem E(X)=∑yPY(y)E(X∣Y=y)\mathbb{E}(X) = \sum_{y} P_Y(y)\mathbb{E}(X|Y=y)

  10. Iterated Expectation E(X)=E(E(X∣Y))\mathbb{E}(X) = \mathbb{E}(\mathbb{E}(X|Y))

  11. Tower Property E[E[X∣Y]g(Y)]=E[Xg(Y)]\mathbb{E}[\mathbb{E}[X|Y]g(Y)] = \mathbb{E}[Xg(Y)]

  12. Expectation of Independent Variables E(XY)=E(X)E(Y) if X, Y independent\mathbb{E}(XY) = \mathbb{E}(X)\mathbb{E}(Y) \text{ if X, Y independent}

  13. Covariance cov(X,Y)=E(XY)−E(X)E(Y)cov(X,Y) = \mathbb{E}(XY) - \mathbb{E}(X)\mathbb{E}(Y)

  14. Correlation Coefficient ρ(X,Y)=cov(X,Y)Var(X)Var(Y)\rho(X, Y) = \frac{cov(X,Y)}{\sqrt{Var(X)Var(Y)}} ∣ρ∣≤1|\rho| \leq 1

  15. Variance of Two Independent Variables

Var[XY]=E[X2]E[Y2]−E[X]2E[Y]2Var[XY] = \mathbb{E}[X^2]\mathbb{E}[Y^2] - \mathbb{E}[X]^2\mathbb{E}[Y]^2
  1. Law of Total Variance var(X)=Var(E(X∣Y))+E(var(X∣Y))var(X) = Var(\mathbb{E}(X|Y)) + \mathbb{E}(var(X|Y))

Continuous Random Variables

  1. Probability Density Functions P(X∈[a,b])=∫abfX(x)dxP(X \in [a, b]) = \int_{a}^{b} f_X(x)dx

  2. Cumulative Ditribution Function FX(x)=∫−∞xf(t)dtF_X(x) = \int_{-\infty}^{x} f(t)dt

  3. Uniform Distribution fX(x)=1b−a, a<x<bE(X)=a+b2var(X)=(b−a)212 \begin{aligned} f_X(x) &= \frac{1}{b-a},\ a<x<b \newline \mathbb{E}(X) &= \frac{a+b}{2} \newline var(X) &= \frac{(b-a)^2}{12} \end{aligned}

  4. Exponential Distribution fX(x)=λe−λx, x>0FX(x)=1−e−λxE(X)=1λvar(X)=1λ2 \begin{aligned} f_X(x) &= \lambda e^{-\lambda x},\ x>0 \newline F_X(x) &= 1 - e^{-\lambda x} \newline \mathbb{E}(X) &= \frac{1}{\lambda} \newline var(X) &= \frac{1}{\lambda^2} \end{aligned}

  5. Gaussian Distribution fX(X)=12πσ2e−(x−μ)2/2σ2f_X(X) = \frac{1}{\sqrt{2\pi\sigma^2}}e^{-(x-\mu)^2/2\sigma^2}

  6. Sum of Two Gaussian Variables aN(μ1,σ12)+bN(μ2,σ22)∼N(aμ1+bμ2,a2σ12+b2σ22)aN(\mu_1, \sigma^2_1) + bN(\mu_2, \sigma^2_2) \sim N(a\mu_1 + b\mu_2, a^2\sigma^2_1 + b^2\sigma_2^2)

  7. Joint PDFs fX∣Y(x∣y)=fX,y(x,y)fY(y)f_{X|Y}(x|y) = \frac{f_{X, y}(x, y)}{f_Y(y)}

  8. Independence of Continuous Variables fX,Y(x,y)=fx(x)fY(y)f_{X, Y}(x, y) = f_x(x)f_Y(y)

Order Statistics

  1. Smallest RV in a set of RVs Let Y=min⁡1≤k≤nXk , iid with CDF FX\text{Let } Y = \min_{1 \leq k \leq n} X_k \text{ , iid with CDF $F_X$} FY(y)=1−(1−FX(y))nF_Y(y) = 1 - (1 - F_X(y))^n

  2. Largest RV in a set of RVs Let Y=max⁡1≤k≤nXk , iid with CDF FX\text{Let } Y = \max_{1 \leq k \leq n} X_k \text{ , iid with CDF $F_X$} FY(y)=(FX(y))nF_Y(y) = (F_X(y))^n

Convolution

  1. Discrete Convolution pZ(z)=P(X+Y=z)=∑xP(X=x,Y=z−x)=∑xPx(x)PY(z−x) if X, Y independent \begin{aligned} p_Z(z) &= P(X+Y=z) = \sum_{x}P(X=x, Y=z-x) \newline &= \sum_{x}P_x(x)P_Y(z-x) \text{ if X, Y independent} \end{aligned}

  2. Continuous Convolution fZ(z)=∫−∞∞fX(x)fY(z−x)dx f_Z(z) = \int_{-\infty}^{\infty} f_X(x)f_Y(z-x)dx

Moment Generating Function

  1. MGF for a RV Mx(s)=E[esx]=∫−∞∞esxfX(x)dx \begin{aligned} M_x(s) &= \mathbb{E}[e^{sx}] \newline &=\int_{-\infty}^{\infty} e^{sx} f_X(x)dx \end{aligned}

  2. Derivative of an MGF dnM(s)dsn∣s=0=∫xnf(x)dx=E[Xn] \frac{d^nM(s)}{ds^n} |_{s=0} = \int x^nf(x)dx = \mathbb{E}[X^n]

  3. MGF of a Poisson RV M(s)=eλ(es−1)M(s) = e^{\lambda (e^s-1)}

  4. MGF of a Exponential RV M(s)=λλ−s , s<λM(s) = \frac{\lambda}{\lambda - s}\text{ , $s < \lambda$}

  5. MGF of the Standard Normal Gaussian RV M(s)=es2/2M(s) = e^{s^2/2}

  6. Moments of Standard Normal RV E(Xm)={0 , m odd2−m/2m!(m/2)! , m even \mathbb{E}(X^m) = \begin{cases} 0 & \text{ , m odd} \newline 2^{-m/2}\frac{m!}{(m/2)!} & \text{ , m even} \end{cases}

  7. MGF of a Geometric RV M(s)=pes1−(1−p)esM(s) = \frac{pe^s}{1- (1-p)e^s}

  8. MGF of a Bernoulli RV M(s)=1−p+pesM(s) = 1 - p + pe^s

  9. MGF of a Binomial RV M(s)=(1−p+pes)nM(s) = (1 - p + pe^s)^n

  10. MGF of a Uniform RV M(s)={ebs−eass(b−a) s≠01 s=0 \begin{equation*} M(s) = \begin{cases} \frac{e^{bs} - e^{as}}{s(b-a)} &\ s \neq 0 \newline 1 &\ s = 0 \end{cases} \end{equation*}

  11. MGF of a Sum of RVs Let Z=∑XiMZ(s)=∏MXi(s) \begin{aligned} \text{Let } Z &= \sum X_i \newline M_Z(s) &= \prod M_{X_i}(s) \end{aligned}

  12. MGF of a Y=aTXY = a^TX, X is Gaussian Vector MY(s)=MX(sa)=exp⁡(s(aTμx)+12s2aTΣa)M_Y(s) = M_X(sa) = \exp{(s(a^T\mu_x) +\frac{1}{2}s^2a^T\Sigma a)}

Bounds

  1. Markov Inequality
P(X≥a)≤E[X]aP(X \geq a) \leq \frac{\mathbb{E}[X]}{a}
  1. Chebyshev’s Inequality P(∣X−μ∣≥c)≤σ2c2P(|X - \mu| \geq c) \leq \frac{\sigma^2}{c^2}

  2. Chernoff Bound P(X≥a)≤E[esx]esa , s>0P(X \geq a) \leq \frac{\mathbb{E}[e^{sx}]}{e^{sa}} \text{ , $s > 0$} P(X≤a)≤M(s)esa , s≤0P(X \leq a) \leq \frac{M(s)}{e^{sa}} \text{ , $s \leq 0$}

  3. Jensen Inequality f(E(x))≤E[f(x)] , f is convex, f′′(x)>0f(\mathbb{E}(x)) \leq \mathbb{E}[f(x)] \text{ , f is convex, $f''(x) > 0$}

  4. Weak Law of Large Numbers

lim⁡n→∞P(∣1n∑i=1nXi−E[X]∣≥ϵ)=0\lim_{n \xrightarrow{} \infty} P(|\frac{1}{n}\sum_{i=1}^{n}X_i - \mathbb{E}[X]| \geq \epsilon) = 0
  1. Strong Law of Large Numbers P(lim⁡n→∞Mn=μ)=1P(\lim_{n\xrightarrow{} \infty} M_n = \mu) = 1

  2. Central Limit Theorem Define Z=Sn−nμnσFZ(z)→ϕ(z) \begin{aligned} \text{Define } Z &= \frac{S_n - n\mu}{\sqrt{n}\sigma} \newline F_Z(z) &\xrightarrow{} \phi(z) \end{aligned}

Convergences

  1. Almost Sure Convergence P(lim⁡n→∞Xn=X)=1P(\lim_{n \xrightarrow{} \infty} X_n = X) = 1

  2. Convergence in Probability lim⁡n→∞P(∣Xn−X∣≥ϵ)=0\lim_{n \xrightarrow{} \infty} P(|X_n - X| \geq \epsilon) = 0

  3. Convergence in Distribution lim⁡n→∞FXn(x)=FX(x)  ∀x\lim_{n \xrightarrow{} \infty} F_{X_n}(x) = F_X(x)\ \ \forall x

Entropy

  1. Entropy H(X)=−∑i=1npiln⁡(pi)H(X) = - \sum_{i=1}^{n} p_i \ln(p_i)

  2. Chain Rule of Entropy H(X,Y)=H(Y)+H(X∣Y)=H(X)+H(Y∣X)H(X, Y) = H(Y) + H(X|Y) = H(X) + H(Y|X)

  3. Convergence of Joint Entropy −1nlog⁡p(x1,x2...xn)→pH(X)-\frac{1}{n} \log p(x_1, x_2... x_n) \xrightarrow{p} H(X)

Information Theory

  1. Source Coding Theorem
    As n→∞n \xrightarrow{} \infty, consider N iid RVs with entropy H(X)H(X). You can compress this into no more and no less than NH(X)NH(X) bits without sending over extra bits or losing information.

  2. Channel Coding Theorem
    Define channel capacity as the C = # of message input bits / # of bits transmitted. Any sequence of codes with error probability p→0p \xrightarrow{} 0 has a rate R<CR < C.

  3. Capacity of a BEC C=1−pC = 1 - p

  4. Capacity of a BSC C=1−H(p)C = 1 - H(p)

  5. Average Number of Bits Transmitted E[number bits]≤n(H(X)+ϵ)\mathbb{E}[number\ bits] \leq n(H(X) + \epsilon)

  6. Mutual Information I(X;Y)=∑pXY(x,y)log⁡PXY(x,y)PX(x)Py(Y)I(X;Y) = \sum p_{XY}(x, y)\log\frac{P_{XY}(x, y)}{P_X(x)P_y(Y)}

  7. Mutual Information and Entropy I(X;Y)=H(X)+H(Y)−H(X,Y)I(X;Y) = H(X) + H(Y) - H(X, Y)

  8. Capacity of A Channel C=max⁡pxI(X;Y)C = \max_{p_x} I(X;Y)

  9. Upper Bound on Probability of Error in BEC P(error)=2−n(1−p)+L(n)P(\text{error}) = 2^{-n(1-p) + L(n)} where n = # bits of bits sent and L = # of bits in message

Discrete Time Markov Chains

  1. Markov Property P(Xn+1∣Xn...X1)=P(Xn+1∣Xn)P(X_{n+1} | X_n...X_1) = P(X_{n+1} | X_n)

  2. Chapman Komogorov Equations Pijn=[Pn]ijP_{ij}^n = [P^n]_{ij}

  3. Periodicity d(i)=gcd⁡{n≥1:Piin>0}d(i) = \gcd\{n \geq 1: P_{ii}^n > 0\}

  4. Stationary Distribution πP=π\pi P = \pi

  5. Hitting Time β(i)={1+∑jpijβji∉A0i∈A\begin{equation*} \beta(i) = \begin{cases} 1 + \sum_j p_{ij}\beta_j & i \notin A \\ 0 & i \in A \end{cases} \end{equation*}

  6. Detailed Balance Equations πiPji=πiPij,  i,j∈S\pi_i P_{ji} = \pi_i P_{ij},\ \ i, j \in S

  7. Stationary Distribution of an Undirected Graph π(i)=d(i)∑jd(j)=degree(i)2E\pi(i) = \frac{d(i)}{\sum_{j}d(j)} = \frac{degree(i)}{2E}

Poisson Processes

  1. Number of arrivals within tt P(Nt=n)∼Poisson(λt)=e−λt(λt)nn!P(N_t = n)\sim Poisson(\lambda t) = \frac{e^{-\lambda t}(\lambda t)^n}{n!}

  2. Inter-arrival Time Si∼Exp(λ)S_i \sim Exp(\lambda)

  3. Sum of Inter-arrival Times: Erlang Distribution fTn(s)=λe−λs(λs)n−1(n−1)!f_{T_n}(s) = \frac{\lambda e^{-\lambda s}(\lambda s)^{n-1}}{(n-1)!}

  4. Memoryless Property NTi−NTi−1∼Poisson(λ(ti−ti−1))N_{T_i} - N_{T_{i-1}} \sim Poisson(\lambda (t_i - t_{i-1}))

  5. Poisson Merging PP(λ1)+PP(λ2)∼PP(λ1+λ2)PP(\lambda_1) + PP(\lambda_2) \sim PP(\lambda_1 + \lambda_2)

  6. Poisson Splitting P(min⁡{Ta,Tb}=Ta)=λaλa+λbP(\min\{T_a, T_b\} = T_a) = \frac{\lambda_a}{\lambda_a + \lambda_b}

  7. Random Incidence Paradox L∼Erlang(2,k)L \sim Erlang(2, k)

Continuous Time Markov Chains

  1. Temporal Homogeneity P(Xt+τ ∣ Xt=i,Xs=is∀ 0≤s<t)=P(Xτ=j∣X0=i)P(X_{t+\tau}\ |\ X_t = i, X_s = i_s \forall\ 0 \leq s < t) = P(X_\tau = j | X_0 = i)

  2. Rate of Self-Transition Q(i,i)=−∑j≠iQ(i,j)Q(i, i) = -\sum_{j\neq i} Q(i, j)

  3. Balance Equations ∑i≠jπiQ(i,j)=πj∑k≠jQ(j,k)\sum_{i\neq j} \pi_i Q(i, j) = \pi_j \sum_{k \neq j} Q(j, k)

  4. Uniformization (Simulated DTMC) Let q=sup q(i) , strongest self-loopR=I+1qQ \begin{aligned} \text{Let } q &= \text{sup}\ q(i) \text{ , strongest self-loop} \newline R &= I + \frac{1}{q}Q \end{aligned}

  5. Hitting Time β(i)={1q(i)+∑j≠iQ(i,j)q(i)β(j)i∉A0i∈A \begin{equation*} \beta(i) = \begin{cases} \frac{1}{q(i)} + \sum_{j \neq i} \frac{Q(i, j)}{q(i)} \beta(j) & i \notin A \newline 0 & i \in A \end{cases} \end{equation*}

Random Graph

  1. Probability of a Random Graph Being Given Graph P(G=G0)∼Binomial((n2),p)P(G = G_0) \sim Binomial({n\choose 2}, p)

  2. Distribution of Degree of Vertex in Random Graph P(D=d)∼Binomial(n−1,p)→n→∞Poisson((n−1)p)P(D = d) \sim Binomial(n-1, p) \xrightarrow{n \xrightarrow{} \infty} Poisson((n-1)p)

  3. Erdos Renyi Theorem Let p(n)=λln⁡(n)nP(G is connected)→n→∞0 , λ<1P(G is connected)→n→∞1 , λ>1 \begin{aligned} Let\ p(n) = \lambda\frac{\ln(n)}{n} \newline P(G \text{ is connected}) \xrightarrow{n \xrightarrow{} \infty} 0 &\ ,\ \lambda < 1 \newline P(G \text{ is connected})\xrightarrow{n \xrightarrow{} \infty} 1 &\ ,\ \lambda > 1 \end{aligned}

  4. Combining Graphs P(e∈G=G1∪G2∣e∈G1∪e∈G2)=p1+p2−p1p2P(e \in G = G_1 \cup G_2 | e \in G_1 \cup e \in G2) = p_1 + p_2 - p_1p_2

Statistical Inference

  1. Bayes Rule Redux P(X=x∣Y=y)=PY∣X(y∣x)π(x)∑iPY∣X(y∣i)π(i)P(X = x | Y = y) = \frac{P_{Y|X}(y|x) \pi(x)}{\sum_{i} P_{Y|X}(y|i) \pi(i)}

  2. Maximum A-Posteriori Estimation (MAP) MAP(X∣Y=y)=max⁡xPX∣Y(x∣y)=max⁡xPY∣X(y∣x)π(x)\text{MAP}(X|Y=y) = \max_{x} P_{X|Y}(x|y) = \max_{x} P_{Y|X}(y|x)\pi(x)

  3. Maximum Likelihood Estimation (MLE)

MLE(X∣Y=y)=max⁡xPY∣X(y∣x)MLE(X|Y=y) = \max_x P_{Y|X}(y|x)
  1. Likelihood Ratio L(y)=PY∣X(y∣1)PY∣X(y∣0)L(y) = \frac{P_{Y|X}(y|1)}{P_{Y|X}(y|0)}

  2. MLE of a BSC MLE(X∣Y=y)={yif p≤1/21−yif p>1/2 \begin{equation*} MLE(X|Y=y) = \begin{cases} y & \text{if }p \leq 1/2 \newline 1-y & \text{if }p > 1/2 \end{cases} \end{equation*} MLE(X∣Y=y)={1if L(y)≥10if L(y)<1 \begin{equation*} MLE(X|Y=y) = \begin{cases} 1 & \text{if } L(y) \geq 1 \newline 0 & \text{if } L(y) < 1 \end{cases} \end{equation*}

  3. MAP of a BSC MAP(X∣Y=y)={0 if L(y)<π0π11 if L(y)≥π0π1 \begin{equation*} \text{MAP}(X | Y = y) = \begin{cases} 0 &\ \text{if } L(y) < \frac{\pi_0}{\pi_1} \newline 1 &\ \text{if } L(y) \geq \frac{\pi_0}{\pi_1} \end{cases} \end{equation*}

  4. Likelihood Ratio for X∈{0,1}X\in \{0, 1\} with Gaussian Noise L(y)=exp⁡[yσ2−12σ2]L(y) = \exp{[\frac{y}{\sigma^2} - \frac{1}{2\sigma^2}]}

  5. MAP for X∈{0,1}X\in \{0, 1\} with Gaussian Noise MAP(X∣Y=y)={0 if L(y)<π0π1=y≥12+σ2log(π0π1)1 if L(y)≥π0π1 \text{MAP}(X | Y = y) = \begin{cases} 0 &\ \text{if } L(y) < \frac{\pi_0}{\pi_1} = y \geq \frac{1}{2} + \sigma^2 log(\frac{\pi_0}{\pi_1}) \newline 1 &\ \text{if } L(y) \geq \frac{\pi_0}{\pi_1} \end{cases}

  6. MLE for X∈{0,1}X\in \{0, 1\} with Gaussian Noise MLE(X∣Y=y)={1if L(y)≥1=y≥120if L(y)<1 \begin{equation*} MLE(X|Y=y) = \begin{cases} 1 & \text{if } L(y) \geq 1 = y \geq \frac{1}{2} \newline 0 & \text{if } L(y) < 1 \newline \end{cases} \end{equation*}

Binary Error Testing

  1. Neyman-Pearson Lemma Minimizes P(false negatives) with P(false positive) ≤βX^={1 L(y)>λ0 L(y)<λBern(γ) L(y)=λSetting P(X^=1∣X=0)=β \begin{aligned} &\text{Minimizes P(false negatives) with P(false positive) $\leq \beta$} \newline &\hat{X} = \begin{cases} 1\ & L(y) > \lambda \newline 0\ & L(y) < \lambda \newline Bern(\gamma)\ & L(y) = \lambda \end{cases} \newline &\text{Setting } P(\hat{X} = 1 | X = 0) = \beta \end{aligned}

Estimations

  1. Mean Square Error (MSE) E[(X−X^(Y))2]\mathbb{E}[(X - \hat{X}(Y))^2]

  2. Minimum Mean-Squared Estimation (MMSE) MMSE(X∣Y)=argminX^E[(X−X^(Y))2]=E(X∣Y)\text{MMSE}(X|Y) = \text{argmin}_{\hat{X}}\mathbb{E}[(X - \hat{X}(Y))^2] = \mathbb{E}(X|Y)

  3. MMSE Theorem E[(X−g(Y))f(Y)]=0 ∀f  ⟹  g(Y)= MMSEE[(X-g(Y))f(Y)] = 0 \ \forall f \implies g(Y) = \text{ MMSE}

  4. Linear Least Squares Estimation L[X∣Y]=min⁡linearX^E[∣X−X^(Y)∣2]=min⁡a,b1...bnE[∣X−(a+∑biYi)∣2]Let Y be a vector of all observations YiDefine ΣXY=E[(X−μx)(Y−μy)T]ΣY=E[(Y−μy)(Y−μy)T]L[X∣Y]=μx+ΣXYΣY −1(Y−μy)L[X∣Y]=μx+cov(X,Y)var(Y)(Y−μy) \begin{aligned} &\mathbb{L}[X|Y] = \min_{\text{linear} \hat{X}} \mathbb{E}[|X - \hat{X}(Y)|^2] = \min_{a, b_1...b_n} \mathbb{E}[|X - (a+\sum b_iY_i)|^2] \newline &\text{Let Y be a vector of all observations $Y_i$} \newline &\text{Define } \Sigma_{XY} = \mathbb{E}[(X-\mu_x)(Y-\mu_y)^T] \newline &\Sigma_{Y} = \mathbb{E}[(Y-\mu_y)(Y-\mu_y)^T] \newline &\mathbb{L}[X|Y] = \mu_x + \Sigma_{XY} \Sigma_{Y}\ ^{-1} (Y - \mu_y) \newline &\mathbb{L}[X|Y] = \mu_x + \frac{cov(X, Y)}{var(Y)} (Y - \mu_y) \end{aligned}

  5. Linear Least Squared Error LLSE=var(X)−ΣXYΣY −1ΣYXLLSE = var(X) - \Sigma_{XY}\Sigma_{Y}\ ^{-1}\Sigma_{YX}

Hilbert Spaces

  1. Hilbert Projection Theorem ∀v∈H,U⊆H, ∃ min⁡u∈U∣∣u−v∣∣: u is unique<u−v,u′>=0 ∀ u′∈U \forall v \in H, U \subseteq H,\ \exists\ \text{$\min_{u \in U}$} ||u-v||:\text{ u is unique} \\ <u-v, u'> = 0 \ \forall\ u' \in U

  2. Hilbert Random Variable Theorem <X,Y>=E[XY]<X, Y> = \mathbb{E}[XY]

  3. LLSE in Hilbert Spaces <L[X∣Y]−X,u>=E[(L[X∣Y]−X)u]=0 ∀ u <\mathbb{L}[X|Y] - X, u> = \mathbb{E}[(\mathbb{L}[X|Y] - X)u] = 0\ \forall\ u

  4. Orthogonality Principle

E(L[X∣Y])=E[X]E[(L[X∣Y]−X)Yi]=0E[(L[X∣Y]⋅YT]=E[XYT] \begin{aligned} &\mathbb{E}(\mathbb{L}[X|Y]) = \mathbb{E}[X] \newline &\mathbb{E}[(\mathbb{L}[X|Y] - X)Y_i] = 0 \newline &\mathbb{E}[(\mathbb{L}[X|Y] \cdot Y^T] = \mathbb{E}[XY^T] \end{aligned}
  1. Magnitude ∣∣X∣∣=<X,X>=E(∣X∣2)||X|| = \sqrt{<X, X>} = \sqrt{\mathbb{E}(|X|^2)}

  2. Zero-Mean Multiple RVs Let X, Y, Z zero-meanL[X∣Y,Z]=L[X∣Y]−L[X∣Z−L[Z∣Y]]L[X∣Y,Z]=L[X∣Y]−L[X∣Z] if Y, Z uncorrelated \begin{aligned} &\text{Let X, Y, Z zero-mean} \newline &L[X|Y, Z] = L[X|Y] - L[X|Z - L[Z|Y]] \newline &L[X|Y, Z] = L[X|Y] - L[X|Z] \text { if Y, Z uncorrelated} \end{aligned}