4.9.10 · D4 · HinglishProbability Theory & Statistics

ExercisesJoint distributions — joint PMF - PDF, marginal, conditional

2,692 words12 min read↑ Read in English

4.9.10 · D4 · Maths › Probability Theory & Statistics › Joint distributions — joint PMF - PDF, marginal, conditional

Yahan sab kuch parent note Joint Distributions par based hai. In teen sentences ko apne paas rakh lo:

  • Marginal = doosre variable ko collapse (sum/integrate out) kar do.
  • Conditional = ek value par slice karo, phir re-normalize karne ke liye marginal se divide karo.
  • Independent joint, marginals mein factor ho jaata hai.

Level 1 — Recognition

Exercise 1.1

Recall Solution 1.1

(a) Kya check karte hain: non-negativity aur total dono (do defining conditions). Har entry hai. Sum: To ye ek valid joint PMF hai.

(b) Ye sirf padhna hai — row , column wala cell: .

(c) Do cells kyun jodein: event disjoint cells aur ka union hai. Disjoint add karo:

Exercise 1.2

Recall Solution 1.2

Integral kyun nahi chahiye: ek region par constant density ka matlab hai "probability evenly spread." Total probability (height ) (region ka area). Unit square ka area hai, isliye Sanity picture: height ki ek flat sheet base par rakhi ho to volume hoga — aur density ke neeche ka volume hi total probability hai.


Level 2 — Application

Exercise 2.1

Recall Solution 2.1

Recipe: — ek row ke saath sum karo. — ek column mein neeche sum karo.

Rows (marginal of ): Columns (marginal of ): Check: ka sum aur ka sum — dono consistent hain total probability ke saath. Hum margins mein summarize karte hain:

To aur . (Sums ko margins mein likhna hi literally wo jagah hai jahan se "marginal" naam aaya hai.)

Exercise 2.2

Recall Solution 2.2

Recipe: column ko freeze karo, har entry ko us column ke total se divide karo. Divide kyun karte hain: raw column ka sum hai, nahi. Divide karne se slice ek legitimate distribution mein rescale ho jaati hai. Check: .

Exercise 2.3

Recall Solution 2.3

Pehle valid confirm karo: . Recipe: ko uske poore range se tak integrate out karo (ek fixed square hai, isliye bounds constant hain): aur for ya (support ke bahar joint hai, to integral vanish ho jaata hai). Check karo ki 1 tak integrate hota hai: .


Level 3 — Analysis

Exercise 3.1

Integrate karne se pehle region sketch karo. Neeche wali figure mein, plane par, triangle dikhaya gaya hai jo vertical line (left edge), horizontal line (top edge), aur diagonal line (lower-right edge) se bounded hai. Shaded interior support hai; orange vertical segment ek fixed par ek slice hai, jahan , se upar tak sweep karta hai.

Figure — Joint distributions — joint PMF - PDF, marginal, conditional
Recall Solution 3.1

(a) Kyun: total probability honi chahiye. par, fixed ke liye variable se tak run karta hai (figure mein orange slice):

(b) Marginal of collapse karo; fixed ke liye, : aur outside . Marginal of collapse karo; fixed ke liye, (triangle ki ek horizontal slice): aur outside . Checks: aur .

(c) Conditional of given — joint ko se divide karo, support rakho: aur for ya . Support kyun shift hota hai: jab fix ho jaata hai, sirf wahan live kar sakta hai jahan joint positive hai, yaani .

Exercise 3.2

Recall Solution 3.2

Test: independence sab ke liye. lekin joint hai. Ye equal nahi hain, isliye dependent hain. Gehri wajah (ye asli giveaway hai): support khud triangle hai — do variables ko jodne wala ek constraint. Jab bhi ek joint density ka support rectangle nahi hota (intervals ka product), variables independent nahi ho sakte, chahe formula kaisa bhi dikhta ho. Jaanna ki hai force karta hai; definition ke hisaab se yahi dependence hai. Dekho Independence of Random Variables.


Level 4 — Synthesis

Exercise 4.1

Recall Solution 4.1

(a) Marginals (support ; fixed ke liye, ; fixed ke liye, ): aur dono marginals hain outside .

(b) Expectations (har marginal use karo — dekho Expectation and Variance):

(c) Cross-moment (triangle par ko joint ke saath integrate karo): Phir, Covariance and Correlation ke zariye,

(d) : aur saath mein move karte hain. Ye geometry se match karta hai — kyunki hamesha hota hai, ek bada ek bada force karta hai, isliye positive association hai.

Exercise 4.2

Recall Solution 4.2

Tool: chain rule .

  • for .
  • Given , uniform hai par, isliye for .

Multiply karo: aur elsewhere. Support: triangle (wahi triangle jaise pehle). recover karo collapse karo; fixed ke liye, , se tak range karta hai: aur outside . Check karo ki 1 tak integrate hota hai: . Ye exactly Law of Total Probability hai jo continuous world mein carry out ki gayi hai.


Level 5 — Mastery

Exercise 5.1

Disk support hi poora point hai. Neeche wali figure mein, plane par, circle (violet boundary) dikhaya gaya hai apne shaded interior ke saath — woh interior support hai. Do axes center par cross karte hain, jo dono variables ka mean hai. par magenta vertical segment woh chord hai jisme confined rehta hai jab fix ho: sirf range mein ho sakta hai.

Figure — Joint distributions — joint PMF - PDF, marginal, conditional
Recall Solution 5.1

(a) Symmetry se (density dono axes ke baare mein symmetric hai). ke liye: Har fixed ke liye, symmetrically par run karta hai, aur . To poora integral hai:

(b) Independence test via support: support ek disk hai, rectangle nahi. Concretely, on (vertical chord ki length over ) aur elsewhere, aur similarly on . Unka product disk par joint ke equal nahi hai (aur e.g. par nonzero hai jo disk ke bahar hai jahan joint hai). Isliye dependent.

(c) Resolution: covariance sirf linear association detect karta hai. Yahan dependence purely geometric/nonlinear hai: jaanna ki hai ko mein squeeze karta hai, to , ki range constrain karta hai — lekin symmetrically, isliye koi linear tilt nahi. Zero covariance ka matlab hai "koi linear trend nahi," kabhi nahi "independent." Sirf Bivariate Normal Distribution ke liye zero covariance actually independence force karta hai. Dekho bhi Independence of Random Variables.

Exercise 5.2

Recall Solution 5.2

Ye Bayes' Theorem hai continuous–discrete mixed form mein. Data ka conditional PMF given hai .

Step 1 — joint (chain rule): for (aur elsewhere).

Step 2 — data ka marginal (Law of Total Probability, integrate out karo):

Step 3 — posterior (Bayes = joint ÷ marginal): aur outside . Check: — ek valid density.

Step 4 — posterior mean: Interpretation: ek defect dekhna ke baare mein hamari belief ko prior mean se tak push karta hai — exactly wahi jo ek defect ka evidence karna chahiye.



Connections