4.9.21 · HinglishProbability Theory & Statistics

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

1,967 words9 min readRead in English

4.9.21 · Maths › Probability Theory & Statistics


1. Common machinery (WHY neeche sab kuch kaam karta hai)

WHY ratio? Ek raw difference jaise ka koi matlab nahi jab tak tum na poochho "3 matlab kitne spread ke comparison mein?" Noise scale se divide karne par difference standardize ho jaata hai "number of standard errors" mein, jo alag-alag problems mein compare kiya ja sakta hai.

HOW Central Limit Theorem z/t tests ko power deta hai. Size ke sample mean ke liye:

Variance ki derivation (first principles se): i.i.d. ke saath, Toh standard error hai . CLT se, , matlab Ye hai z-statistic — aur ye baaki sabke liye template hai.


2. z-test (mean, known)

WHY known hona special hai: denominator ek fixed constant hai, isliye sirf mein hi randomness hai, jo exactly Normal hai — koi extra uncertainty andar nahi aati.


3. t-test (mean, unknown)

WHY se divide karte hain (Bessel's correction)? Deviations true se nahi, se li jaati hain. Sample apne mean ke "sabse kareeb" hota hai, isliye systematically spread ko kam estimate karta hai. Hum 1 degree of freedom kho dete hain (constraint ki wajah se), aur se divide karne par unbiased ho jaata hai: .

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

4. Chi-squared goodness of fit

WHY se divide karte hain (first principles): counts ke liye, ek cell ka count roughly Poisson hota hai mean ke saath, isliye uska variance bhi hota hai. Tab ek standardized -jaisi quantity hai; inhe square karke sum karne par distribution milti hai.

WHY (bina extra params ke): counts par constraint hai (total fixed), jo cells se 1 degree of freedom remove karta hai.


5. F-test (do variances compare karna)

WHY ye F hai: har (scale tak) ek hai. Do independent ka ratio, dono apne d.f. se divide kiye gaye, by definition hota hai. Toh F-test hai "do chi-squareds ki race."


Recall Ek 12-saal ke bacche ko explain karo

Socho tum kuch measure karte ho aur wo thoda off lagta hai jo tumne expect kiya tha. Kya wo sach mein off hai, ya tumhe sirf bad luck mili? Tum ek "weirdness score" banate ho = kitna off ho ÷ kitna wobble normal hai. Agar score bahut bada hai, toh "sirf bad luck" believable nahi raha, isliye tum keh dete ho kuch real chal raha hai. z aur t scores check karte hain ki koi average off hai ya nahi (t tab use hota hai jab tumhe pata nahi ki cheezein kitni wobble karti hain, isliye ye zyada cautious hai). Chi-squared check karta hai ki tumhara categories ka tally (jaise die faces) jo hona chahiye usse match karta hai ya nahi. F check karta hai ki koi cheez doosre se zyada wobble karti hai ya nahi. Same trick, "luck kya kar sakti hai" ke alag-alag shapes.


Flashcards

Mean ke liye z-test vs t-test kab use karte ho?
z jab population known ho (ya bahut bada ho); t jab unknown ho aur se estimate kiya gaya ho.
t-distribution ki tails Normal se moti kyun hoti hain?
Kyunki denominator mein khud ka ek noisy estimate hai, extra variability add karta hai; se control hota hai.
One-sample z-statistic likhो.
under .
Sample variance mein se kyun divide karte hain?
Deviations se nahi, se hain; constraint ek d.f. remove karta hai, aur ko unbiased banata hai.
Chi-squared GOF statistic aur uska d.f. likhо.
, ( = estimated parameters).
Har chi-squared term ko se kyun divide karte hain?
Counts ~Poisson hoti hain variance ke saath, isliye square karne se pehle standardized hoti hai.
F-test kya compare karta hai aur uska statistic kya hai?
Do variances ki equality; , bada variance upar.
Variances ka ratio F distribution kyun hota hai?
Har (scaled) hai; do independent ka ratio by definition F hota hai.
Chi-squared GOF validity ke liye rule of thumb?
Har expected count ; warna categories pool karo.
Kya bada p-value prove karta hai?
Nahi — tum sirf uske against evidence dhundhne mein fail hue; ye confirm nahi karta.

Connections

  • Central Limit Theorem — z/t ke liye ki Normality justify karta hai.
  • Normal Distribution ka limiting case jab .
  • Student's t-distribution aur Chi-squared Distribution aur F-distribution — reference tails.
  • Degrees of Freedom — information ke independent pieces count karta hai.
  • Hypothesis Testing aur p-value aur Type I and Type II Errors.
  • ANOVA — F-test ko many group means tak generalize karta hai.
  • Bessel's Correction unbiasedness argument.

Concept Map

answered by

standardizes via

derived from

extreme tail rejects

sigma known

sigma estimated

reference dist

reference dist

counts vs expected

reference dist

ratio of variances

reference dist

Is difference real or noise?

Test statistic = signal / noise

Standard error = sigma / sqrt n

Central Limit Theorem

Reject H0

z-test on a mean

t-test on a mean

Normal N 0,1

Student t

chi-squared GOF

chi-squared dist

F-test

F distribution

Deep Dive