Exercises — Confidence intervals — derivation for mean, proportion
4.9.19 · D4· Maths › Probability Theory & Statistics › Confidence intervals — derivation for mean, proportion
Do recipes ka ek quick reminder jo tum har jagah reuse karoge:
Game ki shape yeh hai — woh picture jo har problem draw karti hai:

Tall pastel curve sampling distribution hai. Critical value woh jagah mark karta hai jahan hum har side se tail probability cut off karte hain; ise standard error se multiply karo aur tumhe half-width (yaani margin of error) milta hai jo hum estimate ke dono sides par lagate hain.
Level 1 — Recognition
L1.1 Har scenario ke liye, bolo ki teen mein se kaun sa formula apply hota hai (z-mean / t-mean / z-proportion): (i) known, , mean estimate karna hai. (ii) unknown, , sample SD diya hua hai, mean estimate karna hai. (iii) 500 mein se 300 voters ne "yes" kaha, estimate karna hai.
L1.2 Ek 90% confidence interval. Iska kya hoga, aur kaun sa critical value lookup karoge?
Recall Solution L1.1
(i) known hai → z-mean formula use karo . (ii) unknown hai aur small hai → t-mean formula use karo degrees of freedom ke saath. (iii) Trials mein se successes ki count → yeh ek proportion hai, use karo.
Recall Solution L1.2
Confidence level hai , toh . Hum ko do tails mein split karte hain, toh har tail mein hai. Critical value hai . (Note: two-tailed 90% value hai — yeh same hi one-sided 95% value bhi hai, jo ek famous trap ka source hai; neeche dekho.)
Level 2 — Application
L2.1 Ek thermostat ki readings ka known C hai. readings ka sample average C hai. True mean temperature ke liye 99% confidence interval banao.
L2.2 batteries ke ek sample ka mean life hours aur sample SD hours hai ( unknown). 95% CI banao. use karo.
L2.3 Ek survey mein, mein se logon ke paas electric car hai. True proportion ke liye 95% CI banao.
Recall Solution L2.1
Step — standard error. . kyun? Hum mean bound kar rahe hain, jiska spread hai, na ki ek reading ka spread. Step — critical value. 99% → → → . Step — margin. . Answer. C.
Recall Solution L2.2
Step — t kyun. unknown hai aur thoda small hai, toh df ke saath t use karo. Step — standard error. . Step — margin. . Answer. hours.
Recall Solution L2.3
Step — point estimate. . Normality check: ✓ aur ✓. Step — standard error. Step — margin. . Answer. .
Level 3 — Analysis
L3.1 Do labs same mean estimate kar rahi hain. Lab A: , 95% CI half-width . Lab B same use karti hai lekin . Bina numbers ke, Lab B ka margin Lab A se kitne factor se chhota hai? Formula ke zariye samjhao.
L3.2 Ek student ne 95% CI compute kiya (yeh parent note ka example (b) hai, , , ). Phir woh claim karta hai: "True mean ke 65.74 aur 74.26 ke beech hone ki 95% probability hai." Kya yeh sahi hai? Bilkul sahi interpretation batao.
L3.3 L3.2 ka interval galat tarike se recompute karo jaise tumne ki jagah use kiya ho. Half-width kitne score points se understate hoti hai? Honest interval kaun sa hai, aur kyun?
Recall Solution L3.1
Margin hai . Sirf change hota hai. Lab B ka margin Lab A ka aadha hai. Lesson: Margin ko aadha karne ke liye sample size chaar guna karni padti hai — precision ki cost mein quadratically hai. (Yahi lever Sample Size Determination mein use hota hai.)
Recall Solution L3.2
Sahi nahi hai. Jab numbers fix ho jaate hain aur true ek fixed (chahe unknown) constant hai, toh ya toh andar hai ya bahar — is interval ke liye probability ya hai, "95%" bacha hi nahi. Sahi interpretation: "Agar hum puri sampling procedure kai baar repeat karen, toh is tarah banaye gaye lagbhag 95% intervals true mean ko contain karengeوت" 95% method ki long-run reliability describe karta hai, ek realized interval ki nahi.
Recall Solution L3.3
Standard error dono ke liye same hai: (jo multiplier choose karo usse yeh change nahi hota).
- Honest (): .
- Wrong (): . Understatement score points on half-width. -interval honest hai. Kyunki sirf ka ek estimate hai aur small ke liye kam ho sakta hai, true uncertainty badi hoti hai; t ke fatter tails interval ko compensate karne ke liye wide karte hain. use karna pretend karta hai ki tum exactly jaante ho.
Level 4 — Synthesis
L4.1 (invert the margin — mean). Tumhe mean ke liye 95% CI chahiye jiska margin se zyada na ho, aur tumhe pata hai . Smallest sample size kya hai? (Margin formula ko ke liye solve karo, phir round up karo.)
L4.2 (invert the margin — proportion, worst case). Tumhe proportion ke liye 95% CI chahiye margin ke saath, lekin tumhare paas ka koi prior estimate nahi hai. ki worst-case value use karo. Smallest dhundho.
L4.3 (CI ↔ test). Mean ke liye ek 99% CI aata hai. Ek colleague hypothesize karta hai; doosra hypothesize karta hai. Dono ke liye, kya level par do-sided test reject karega? Sirf interval use karke explain karo.
Recall Solution L4.1
se shuru karo. ke liye solve karo: Plug in , , : Sample size ek whole number honi chahiye aur margin at most hona chahiye, toh round up karo: . (Round up kyun, down kyun nahi? se margin thodi se badi ho jaati hai, jo requirement violate karta hai.)
Recall Solution L4.2
Margin: . Product sabse bada par hota hai, jahan yeh hota hai. Yeh worst case use karne se guarantee milti hai ki margin chahe jo bhi nikle. Round up karo: . (Isliye "±3% margin" wale national polls roughly hazaar logon ko sample karte hain.)
Recall Solution L4.3
Rule: ek two-sided level- test ko reject karta hai exactly tab jab corresponding CI ke bahar hota hai.
- : kya hai? Haan. Toh hum fail to reject karte hain — 50 ek plausible mean hai.
- : kya hai? Nahi (). Toh hum par ko reject karte hain. Interval wahi set hai jiske null values tum reject nahi karte — yahi CI↔test duality hai.
Level 5 — Mastery
L5.1 (full proportion build with all checks). Ek quality auditor items inspect karta hai aur defective paata hai. (a) Normal-approximation conditions verify karo. (b) Defect rate ke liye 90% CI banao. (c) Factory guarantee karti hai "defect rate 8% se kam hai." Kya tumhara CI us guarantee ko rule out karta hai, ya 8% abhi bhi plausible hai?
L5.2 (comparing methods on one dataset). , aur wale sample ke liye, 95% CI do tarike se banao: (a) sahi tarike se ke saath; (b) galat tarike se ke saath. Dono half-widths report karo aur percentage bolo jitna galat method true half-width ko understate karta hai.
Recall Solution L5.1
(a) Conditions. . Check karo ✓ aur ✓. Normal approximation valid hai. (b) 90% CI. , . . CI . (c) Kya 8% rule out hai? Interval tak jaata hai. Kyunki interval ke andar hai, hum is confidence par true defect rate ke 8% hone ko rule out nahi kar sakte — yeh plausible rehta hai. Guarantee statistically contradict nahi hui hai (na hi confirm) is sample se.
Recall Solution L5.2
Standard error dono ke liye common hai: . (a) Correct (t): . CI . (b) Wrong (z): . CI . Understatement percentage: . -interval lagbhag 15% zyada narrow hai — ke liye serious overconfidence. Small samples -shortcut ko sabse zyada punish karte hain, kyunki ke tails bahut fatter hote hain jab tiny ho.
Recap
Recall D4 ke one-line takeaways
- lookup karne se pehle halve karo (L1).
- Width standard error mein hoti hai, mein nahi (L2).
- Confidence procedure ke baare mein hai, aur honest choice hai jab estimate kiya gaya ho (L3).
- Margin formula invert karo aur target precision hit karne ke liye round up karo; proportions ke liye worst-case use karo (L4).
- Hamesha normality conditions check karo aur claims ko poore interval ke against judge karo (L5).
Connections
- Confidence intervals — derivation for mean, proportion — parent derivations jo yeh exercises drill karti hain.
- Central Limit Theorem — isliye sampling distribution pehli jagah normal hai.
- Standard Error — jis par har problem hinges karti hai.
- Student's t-distribution — L2, L3, L5 mein fatter-tailed critical values.
- Hypothesis Testing — L4.3 mein use hone wali CI↔test duality.
- Bernoulli & Binomial Distributions — har proportion problem ke peeche variance.
- Sample Size Determination — L4.1 aur L4.2 ka margin-inversion.