4.9.19 · HinglishProbability Theory & Statistics

Confidence intervals — derivation for mean, proportion

1,812 words8 min readRead in English

4.9.19 · Maths › Probability Theory & Statistics


1. The raw material: the sampling distribution

WHY variance se shrink karta hai? Independent variables ke sum ka variance add hota hai: ka standard deviation — jise standard error kehte hain — hota hai.

HOW hum iska shape jaante hain? Central Limit Theorem kehta hai bade ke liye,


2. Deriving the CI for the mean (σ known)

Common : 90% → 1.645, 95% → 1.96, 99% → 2.576.

Figure — Confidence intervals — derivation for mean, proportion

3. σ unknown → the t-distribution

WHY pe switch karte hain? Jab unknown hota hai toh hum sample SD plug in karte hain. Lekin khud random hai aur chote ke liye ko underestimate karta hai, isliye statistic ke tails mote ho jaate hain. Exact distribution (normal data ke liye) Student's hai degrees of freedom ke saath.

Jab , , toh bade samples ke liye dono methods agree karte hain.


4. Deriving the CI for a proportion

WHY yeh sirf ek special case hai? Ek 0/1 (Bernoulli) variable ka mean aur variance hota hai. Toh Bernoulli ka sample mean hai: CLT se, bade ke liye .


5. Worked examples


6. Common mistakes (Steel-man + fix)


7. Active recall

Recall Quick self-test (dekhne se pehle answer karo)
  1. "95% confidence" ka actually matlab kya hai?
  2. Interval mein kyun use hota hai, nahi?
  3. ki jagah kab use karte hain?
  4. Bernoulli ka variance kya hai, aur yeh proportion SE kaise deta hai?

Answers: (1) Is tarah banaye gaye 95% intervals repeated sampling mein ko capture karte hain. (2) Hum mean ko bound karte hain, jiska SE hai. (3) Jab unknown ho (khaaskar chota ). (4) ; SE , se estimate hota hai.

Recall Feynman: ek 12-saal ke bacche ko explain karo

Socho tum ek bade bartan ke soup ke kuch spoons taste karte ho uski average saltiness guess karne ke liye. Tum bilkul sahi nahi hoge, isliye "soup exactly 5 salty hai" kehne ki jagah, tum kehte ho "mujhe pretty sure lagta hai yeh 4.5 aur 5.5 ke beech hai." Agar kai doston ne bhi apne apne spoons taste kiye aur har ek ne ek aisa range banaya, toh 100 mein se 95 doston ke ranges mein actual saltiness hogi. Woh range hi confidence interval hai, aur yeh tighter hota jaata hai jitne zyada spoons tum taste karo (bada ).


8. Connections

  • Central Limit Theorem — engine jo ko normal banata hai.
  • Standard Error wala shrinking spread.
  • Student's t-distribution — estimated ke liye mote tails.
  • Hypothesis Testing — CI ↔ test duality ( CI ke bahar ho ⇔ level pe reject karo).
  • Bernoulli & Binomial Distributions — proportion variance ka basis.
  • Sample Size Determination solve karne ke liye margin formula ko invert karo.

95% confidence interval ka actually matlab kya hota hai?
Kai repeated samples mein, is tarah se banaye gaye 95% intervals true parameter ko contain karte hain (yeh procedure ki property hai, ek interval ki nahi).
Sample mean ka standard error?
(ya jab σ unknown ho).
kyun?
Variance of independent sum tak add hota hai; se divide karne par variance se scale hota hai, milta hai.
σ known hone par mean ke liye CI?
.
σ unknown hone par mean ke liye CI?
.
ki jagah kyun use karte hain?
se estimate hota hai aur uncertainty add hoti hai; ke tails mote hote hain, par normal ban jaata hai.
degrees of freedom kyun?
compute karne mein ek constraint use hoti hai, free deviations bachte hain.
Bernoulli(p) ka variance?
.
Proportion ke liye CI (Wald)?
.
Proportion CI ke liye validity rule?
aur .
α ko α/2 per tail mein kyun split karte hain?
Two-sided interval har tail mein equal probability chodta hai taaki central band exactly hold kare.
95% ke liye ?
1.96 (1.645 NAHI, jo one-sided ke liye hai).
Margin of error ke saath kaise change hota hai?
ki tarah shrink hota hai — ko chaar guna karo toh margin half ho jaata hai.

Concept Map

average

E of X-bar

Var = sigma^2 over n

large n

standardize

isolate mu, split alpha

z times SE

sigma unknown, plug in s

fatter tails, n-1 df

n to infinity

1-alpha coverage

i.i.d. sample Xi

Sample mean X-bar

Population mean mu

Standard error sigma over sqrt n

Central Limit Theorem

Z statistic approx N 0,1

CI for mean sigma known

Margin of error E

t statistic

CI for mean sigma unknown

Statement about procedure

Deep Dive