4.9.21 · D3 · HinglishProbability Theory & Statistics

Worked examplesz-test, t-test, chi-squared goodness of fit, F-test

4,301 words20 min read↑ Read in English

4.9.21 · D3 · Maths › Probability Theory & Statistics › z-test, t-test, chi-squared goodness of fit, F-test

Yeh page ek drill hai. Parent note ne machinery build ki thi — yahan hum har case class ke through walk karte hain jo yeh charon tests aap par throw kar sakte hain: known vs unknown spread, one-sided vs two-sided, tiny samples, degenerate/limiting inputs, aur exam traps.

Symbols aane se pehle, ek plain-words reminder taaki pehli line samajh aaye:


The scenario matrix

Har row ek case class hai jise aapko handle karna aana chahiye. Right column us worked example ka naam deta hai jo uspe land karta hai.

# Case class Tricky kyun hai Example
A Mean, known, two-sided denominator ek fixed constant hai Ex 1
B Mean, known, one-sided tail sirf ek taraf rehti hai (cutoff ka sign) Ex 2
C Mean, unknown, small use karna padta hai → fatter-tailed Ex 3
D Limiting case: collapse hokar ban jaata hai Ex 4
E GOF, uniform expected saare equal, Ex 5
F GOF, estimated parameter ek extra d.f. lose hota hai, Ex 6
G Degenerate GOF: zero surprise, Ex 7
H F-test, two variances, two-sided bada upar, Ex 8
I Word problem end-to-end khud sahi test choose karna Ex 9
J Exam twist: same data, wrong test verdict kaise flip hota hai Ex 10

Hum poore mein Central Limit Theorem, Student's t-distribution, Chi-squared Distribution, F-distribution, Degrees of Freedom aur Bessel's Correction ka sahara lete hain — parent note ne inhe define kiya; yahan hum use karte hain.

Figure — z-test, t-test, chi-squared goodness of fit, F-test

Figure kaise padhein (chaar chhote panels):

  • Top-left mein standard Normal (blue, curve) aur wala (orange) overlay hai. ke baar shaded orange slivers woh extra tail area hai jo carry karta hai — woh shaded region precisely isliye hai ki critical value (Ex 3 mein ) ke se farther baithta hai.
  • Top-right mein do curves hain (Ex 5–7 mein use); red dashed line par upper-tail fence hai — note karo sirf positive axis par rehta hai, toh koi lower tail nahi hai.
  • Bottom-left mein (Ex 8) apni upper critical value ke saath hai.
  • Bottom-right mein phir wale curves Normal ke saath stack hain, taaki aap tails ko thin hote dekh sakein jab badhta hai — Ex 4 mein "" ka visual matlab.

Yeh figure saamne rakho: neeche har example iske chaar panels mein se kisi ek ko point karta hai.


Cell A — Mean, known, two-sided


Cell B — Mean, known, one-sided (cutoff ke sign ka dhyan rakho)


Cell C — Mean, unknown, small


Cell D — Limiting case


Cell E — GOF, uniform expected counts


Cell F — GOF with an estimated parameter


Cell G — Degenerate GOF: perfect match


Cell H — F-test, two variances, two-sided

Figure — z-test, t-test, chi-squared goodness of fit, F-test

Yeh figure kaise padhein: blue curve do sample variances ke ratio ke liye luck curve hai. par red dashed line upper-tail fence hai; uske baar red-shaded region rejection zone hai. Orange line hamaara observed mark karta hai — fence ke left baitha, "could be luck" region ke andar.


Cell I — Word problem, test khud choose karo


Cell J — Exam twist: same data, wrong test verdict flip karta hai


Recall Quick self-check

Kaun se cell mein exactly hai, aur kab? ::: Cell G — degenerate GOF, jab bhi har ; squares ka sum hai toh iska floor hai aur iska p-value hai. Ex 2 mein fence kyun hai nahi? ::: Subscript ek upper tail area naam karta hai, lekin rejection region lower tail mein dalta hai, toh hum par mirror karte hain. Ex 8 mein bada variance upar kyun hai? ::: Taaki ho aur hum sirf ek single upper-tail critical value padh sakein. Ex 6 mein kyun hai nahi? ::: Humne ek parameter () data se estimate kiya, ek extra degree of freedom cost karke: . Dono verdict rules batao. ::: Critical-value rule: reject karo agar statistic ke baar ho. p-value rule: reject karo agar p-value ho. Yeh hamesha agree karte hain.