Proof via MGF:MX+Y(t)=MX(t)MY(t)=exp(μ1t+2σ12t2)⋅exp(μ2t+2σ22t2)=exp(μ1+μ2)t+2(σ12+σ22)t2)
Why independence matters? Without it, we'd have covariance terms: Var(X+Y)=σ12+σ22+2Cov(X,Y).
Central Limit Theorem connection: Sum of n i.i.d. variables ∼N(nμ,nσ2). As n→∞, the standardized sum converges to N(0,1) even if original variables aren't Gaussian.
Imagine you're throwing darts at a target. If you're pretty good, most darts land near the center, but some miss by a little, and very few miss by a lot. If we drew a graph of how far each dart is from the center, we'd get a bell-shaped curve—that's the Gaussian distribution!
The "mean" (μ) is where you're aiming (the bullseye). The "standard deviation" (σ) is how consistent you are. A small σ means you're super accurate (darts cluster tight), while a big σ means your throws are all over the place.
The cool part: about 68% of your darts land within one "standard deviation" of the bullseye. About 95% land within two standard deviations. And99.7% land within three. So if someone says their dart landed "3 standard deviations away," that's like saying "whoa, that's a really weird throw—only happens0.3% of the time!"
Why is this everywhere in AI? Because when lots of random things add up (like tiny errors in measurements, or genetic factors affecting height, or pixel noise in images), the total follows this bell curve pattern. It's nature's way of organizing randomness.
Box-Muller Transform — generating Gaussian random numbers
Multivariate Gaussian — extension to multiple dimensions
#flashcards/ai-ml
What is the PDF of a Gaussian distribution and what do its parameters represent? :: f(x)=σ2π1exp(−2σ2(x−μ)2). Parameter μ is the mean (center location), and σ2 is the variance (spread). Standard deviation σ controls width.
State the 68-95-99.7 empirical rule for Gaussians.
68% of data falls within μ±σ, 95% within μ±2σ, and 99.7% within μ±3σ. These come from integrating the Gaussian PDF over symmetric intervals.
If X∼N(μ,σ2), what is the distribution of Y=aX+b?
Y∼N(aμ+b,a2σ2). The mean scales and shifts by a and b, while variance scales by a2 (not a, because variance has squared units).
If X∼N(μ1,σ12) and Y∼N(μ2,σ22) are independent, what is X+Y?
X+Y∼N(μ1+μ2,σ12+σ22). Means add, variances add (not standard deviations). This requires independence.
What are the MLE estimators for μ and σ2 from data x1,…,xn?
μ^=n1∑xi (sample mean) and σ^2=n1∑(xi−μ^)2 (divides by n, which is biased). The unbiased estimator divides by n−1.
What is the moment generating function of N(μ,σ2)?
MX(t)=exp(μt+2σ2t2). This uniquely characterizes the Gaussian and can be used to derive all moments.
Why is the Gaussian distribution derived from maximum entropy?
It's the distribution with highest entropy (most uncertainty) given fixed mean μ and variance σ2. This means it makes the fewest assumptions beyond these constraints—it's the "least informative" distribution consistent with what we know.
What happens to standard deviation when you average n independent Gaussian measurements?
It decreases by n. If each measurement has std dev σ, the average has std dev nσ. This is why more samples give more precision, but with diminishing returns.
Why do we standardize with Z=σX−μ when working with Gaussians?
To convert any N(μ,σ2) to the standard normal N(0,1), which has tabulated values. Standardization is a linear transformation: Z∼N(0,1).
What's the key difference between N(μ,σ2) and N(μ,σ) notation?
The second parameter: N(μ,σ2) uses variance (squared units), while N(μ,σ) would use std dev (original units). Standard notation uses variance. Always check which convention is being used.
Dekho, is Gaussian ya Normal distribution ki sabse badi baat yeh hai ki yeh nature aur AI dono mein baar-baar dikhta hai, aur iske peeche jo main reason hai woh hai Central Limit Theorem. Iska matlab simple hai — jab bahut saare independent random effects ek saath add hote hain, toh unka total hamesha bell curve (ghanti jaisi shape) banata hai, chahe individual effects kaise bhi ho. Jaise human height ko lo — isme genes, nutrition, environment sab milke ek smooth bell curve bana dete hain. ML mein hum isliye maan lete hain ki noise ya errors Gaussian hote hain, kyunki bahut saari chhoti-chhoti galtiyan milke exactly aisa hi pattern banati hain.
Ab formula ki baat karein toh usme do main cheezein hain — mean (μ) jo batata hai peak kahan hai yaani center kahan hai, aur variance (σ²) ya standard deviation jo batata hai spread kitna hai yaani curve kitni chaudi hai. Ek khoobsurat baat yeh hai ki yeh distribution maximum entropy se derive hota hai — matlab jab humein sirf mean aur variance pata ho aur baaki koi assumption na banani ho, toh sabse "random" ya sabse honest distribution yahi Gaussian nikalta hai. Yeh isliye important hai kyunki iska matlab hai ki Gaussian koi random choice nahi, balki mathematically sabse natural choice hai jab humein zyada information nahi hoti.
Practical use ke liye 68-95-99.7 rule yaad rakho — data ka 68% ek σ ke andar, 95% do σ ke andar, aur 99.7% teen σ ke andar aata hai. Yeh rule real life mein bahut kaam aata hai, jaise outliers detect karne mein ya yeh samajhne mein ki koi value normal hai ya unusual. Aur kyunki curve symmetric hota hai, isme mean, median aur mode teenon ek hi jagah hote hain — isse μ automatically center bhi ban jaata hai aur most likely value bhi. Yeh saari properties milke Gaussian ko machine learning, statistics aur data science ka backbone bana deti hain, isliye ise achhe se samajhna zaroori hai.