Multivariate Random Variables and Joint Distributions
Core Titles
Key headlines and terms for quick recall- Joint PMF/PDF
- Marginal distributions — sum / integrate out
- Conditional distributions
- Independence
- Covariance, Correlation
- Multivariate Normal
- Box–Muller / Cholesky for generation
Basic Idea
What it is, why it matters, how it worksJoint distributions
For two RVs :
- Discrete: joint PMF , with .
- Continuous: joint PDF , with .
Marginals
Sum out the other variable.
Conditionals
Independence
and are independent iff Equivalently .
Covariance and correlation
Independence ⇒ . The converse is false in general (true for jointly normal).
Multivariate normal
A random vector is multivariate normal with mean and covariance matrix :
Generating multivariate samples
- Box–Muller: two independent uniforms → two independent standard normals.
- Cholesky for multivariate normal: if and , then .
Why this matters in Data Science
Most real datasets are multivariate. Covariance / correlation underlies PCA, linear regression, Gaussian mixture models, and many classifiers.
Mind Map
Visual structure of the conceptMULTIVARIATE RVs
├── Joint f(x, y) or p(x, y)
├── Marginal: integrate / sum out
├── Conditional: f(x|y) = f(x,y)/f_Y(y)
├── Independence: f = f_X · f_Y
├── Covariance
│ ├── Cov(X,Y) = E[XY] − E[X]E[Y]
│ └── Indep ⇒ Cov=0 (converse not always)
├── Correlation ρ ∈ [−1, 1]
├── Multivariate Normal 𝒩(μ, Σ)
└── Generation
├── Box-Muller → standard normals
└── Cholesky Σ = LLᵀ ⇒ X = μ + LZ
Exam Q&A
Part A (2 marks) and Part B (20 marks) style questionsPart A (2 marks each)
Q1. Define joint PDF. A function with , giving probabilities of regions via integration.
Q2. How is the marginal density obtained? By integrating out the other variable: .
Q3. State the independence condition for two continuous RVs. for all .
Q4. Define covariance. .
Part B (20 marks)
Q. Define joint, marginal and conditional distributions for two continuous random variables. State and discuss independence and covariance. For the joint PDF on , find the marginals and check whether are independent.
Definitions.
Joint PDF: with . For a region : .
Marginals: , .
Conditional: when .
Independence. iff for all . Equivalently — conditioning provides no extra information.
Covariance. Measures linear co-movement:
- : tend to increase together.
- : one tends to increase when the other decreases.
- Independence ⇒ Cov = 0 (converse false in general).
Standardised version is correlation: .
Worked problem. Verify integration domain .
Marginals. By symmetry: .
Independence check. in general.
So ⇒ and are not independent.
(This is also evident from the support: the constraint couples and — independence would require a rectangular support.)