1.3.15 · HinglishProbability & Statistics

Central limit theorem

2,701 words12 min readRead in English

1.3.15 · AI-ML › Probability & Statistics

Definition

HAR piece ka matlab kya hai?

  • i.i.d.: Har sample independently same distribution se draw kiya gaya hai
  • : Woh true population mean jo hum estimate kar rahe hain
  • : True population variance (individual data points ka spread)
  • : Mean ka Standard error—sample means ke aas-paas kitna vary karte hain

Derivation from First Principles

GOAL: Prove karo ki standardized sample means ki taraf approach karte hain.

Step 1: Standardize Kyun Karein?

Hum alag-alag scales ki distributions compare karna chahte hain. Standardization kisi bhi random variable ko zero mean aur unit variance mein transform karta hai:

YEH transformation kyun? Yeh comparison "fair" banata hai—sab variables ab same scale par hain.

Sample mean ke liye:

kyun bahar nikal sakte hain? Kyunki :

Variances sum kyun kar sakte hain? Independence: jab :

Therefore: ka mean hai aur variance hai.

Step 2: Moment Generating Functions (The Proof Engine)

Ek random variable ka moment generating function (MGF) hai:

MGFs kyun use karein? Key theorem: Agar sab ke liye, toh . MGFs distributions ko uniquely characterize karte hain.

Standard normal ke liye:

Step 3: Standardized Sample Mean ka MGF

Standardized variables define karo:

Toh , , aur:

YEH form kyun? Humne problem ko standardized variables tak reduce kar diya hai.

MGF hai:

Product kyun split kar sakte hain? Independence + exponential property :

Kyunki identically distributed hain:

Step 4: Taylor Expansion

Taylor series kyun? Jab , , toh hum MGF ko approximate kar sakte hain.

Chhote ke liye:

Kyunki aur :

substitute karo:

Step 5: Limit Lena

Yeh kyun approach karta hai? ki limit definition yaad karo:

Yahan :

Yeh ka MGF hai. Therefore . ∎

Figure — Central limit theorem

Examples

Common Mistakes

Active Recall Questions

Recall Feynman Explanation: 12-saal ke bachche ko padhaao

Socho tumhare paas alag-alag colored marbles ki ek bucket hai—kuch red, kuch blue, kuch green, sab randomly mixed. Agar tum sirf EK marble pakdo, tumhe pata nahi kya milega. Kuch bhi ho sakta hai!

Lekin yahan magic hai: Agar tum 30 marbles pakdo aur count karo kitne reds mile, phir unhe wapas rakh do aur yeh baar baar karo, kuch ajeeb hota hai. Chahe bucket random chaos hai, har baar tumhare ginne wale reds ki sankhya ek pattern follow karne lagti hai—ek bell curve! Zyada tar time tum average ke paas pahunchoge, rarely bahut zyada ya bahut kam milenge.

Yeh kyun matter karta hai? Iska matlab hai ki jab individual cheezein bilkul random aur unpredictable hoti hain, jab tum bahut saari cheezein ke averages dekhte ho, woh predictable ho jaate hain! Isliye scientists survey results par trust kar sakte hain chahe individual log alag hain. Isliye tumhari teacher test fairly grade kar sakti hai—tumhari class average unhe kuch real batata hai, chahe har student unique hai.

Central Limit Theorem nature ka yeh kehne ka tarika hai: "Chaos + Averaging = Order."

#flashcards/ai-ml

Central Limit Theorem ek sentence mein kya hai? :: CLT kehta hai ki sample means ki distribution normal distribution ki taraf approach karti hai jab sample size badhta hai, chahe population ki distribution koi bhi ho (finite variance assuming).

CLT apply hone ke liye teen requirements kya hain?
1) Samples independent hone chahiye, 2) Samples identically distributed hone chahiye (same population), 3) Population variance finite honi chahiye.

Sample mean ka standard error sample size ke saath kaise change hota hai? :: Standard error = σ/√n, toh yeh n ke square root ke proportionally decrease hota hai. Error aadha karne ke liye 4× sample size chahiye.

Agar population std dev σ = 10 hai aur n = 100, toh standard error kya hai?
SE = 10/√100 = 10/10 = 1
Machine learning ke liye CLT kyun matter karta hai?
CLT justify karta hai gradient descent use karna (noisy gradient estimates converge karte hain), model performance ke liye confidence intervals, hypothesis testing, aur non-normal data par bhi predictions par statistical inference.
Standardized sample mean kaun si distribution follow karta hai?
Standard normal distribution N(0, 1) jab n → ∞.
Sample mean standardize karne ka formula kya hai?
Z = (X̄ₙ - μ)/(σ/√n)
Kya CLT underlying data ko normal banata hai?
Nahi! CLT sample means ki distribution ko normal banata hai. Individual data points apni original distribution rakhte hain.
"n ≥ 30" rule kya hai aur yeh kab fail hota hai?
Common heuristic ki n ≥ 30 ke liye CLT approximation achhi hai. Heavily skewed ya heavy-tailed distributions ke liye fail hoti hai (bahut bada n chahiye) aur nearly-normal distributions ke liye (chhote n ke liye kaam karta hai).
95% confidence interval ke liye, sample mean μ ke kitne standard errors ke andar hota hai?
±1.96 standard errors ke andar (standard normal se critical value).

Connections

  • Law of Large Numbers: Related lekin distinct—LN kehta hai sample mean population mean ki taraf converge karta hai; CLT us convergence ki distribution describe karta hai
  • Normal Distribution: CLT explain karta hai kyun Gaussians nature mein har jagah appear hote hain—woh averaged processes ki limit hain
  • Confidence Intervals: CLT sample means ke aas-paas CIs construct karne ke liye theoretical foundation provide karta hai
  • Hypothesis Testing: t-tests aur z-tests large samples ke saath validity ke liye CLT par rely karte hain
  • Stochastic Gradient Descent: CLT explain karta hai kyun noisy mini-batch gradients convergence lead karte hain
  • Bootstrap Methods: Non-parametric alternative jab CLT assumptions (independence, finite variance) fail ho jaayein
  • Sample Size Calculation: Desired precision ke liye kitna data chahiye yeh determine karne ke liye CLT use karta hai
  • Monte Carlo Methods: Simulation accuracy CLT se improve hoti hai—bahut saare random samples average karna
  • Maximum Likelihood Estimation: MLEs ki asymptotic normality CLT ka consequence hai
  • Bias-Variance Tradeoff: CLT explain karta hai kyun estimators ka variance O(1/n) se decrease hota hai

Concept Map

averaged into

has mean mu and variance sigma squared

expected value equals

variance equals

square root gives

used to

converges in distribution

proof engine for

uniquely characterize

foundation of

enables

i.i.d. random variables

Sample mean X-bar_n

Population parameters

Mean mu

Variance sigma squared over n

Standard error

Standardize Z_n

Standard Normal N 0,1

Moment generating functions

Distributions

Statistical inference in ML

t-tests, confidence intervals, gradient methods