Introduction and foundational concepts of mathematical statistics (part 1)
1. Introduction and foundational concepts of mathematical statistics (part 1)
This section establishes the mathematical framework for analyzing probability models involving multiple random variables, focusing on joint distributions, marginal distributions, and the concept of independence.
1.1 Multiple random variables and joint distributions
This section introduces the concept of a random vector and defines its probability model using joint cumulative distribution functions (CDFs) and joint probability mass functions (PMFs) for discrete variables.
Definition of Random Vectors
An n-dimensional random vector, (X1,X2,…,Xn)′, is a function mapping the sample space Ω to the n-dimensional Euclidean space, Rn, such that the resulting sets in Ω are events in the probability space (Ω,A,P).
In the bivariate case (n=2), a bivariate random vector (X,Y)′ maps Ω→R2 such that for any u,v∈R: {ω∈Ω:−∞<X(ω)≤u;−∞<Y(ω)≤v}∈A.
Example: Tossing two fair dice, where X is the sum of the two dice and Y is the absolute difference defines a bivariate random vector (X,Y)′ over the 36 possible outcomes.
Joint Cumulative Distribution Function (Joint CDF)
For k random variables X1,X2,…,Xk defined on the same probability space, the joint cumulative distribution function (Joint CDF), FX1,X2,…,Xk(⋅,⋅,…,⋅), is defined as: FX1,X2,…,Xk(x1,x2,…,xk)=P({X1≤x1;X2≤x2,…,Xk≤xk})(1.1) The joint CDF is a function with domain Rk and codomain 12.
Properties of the Joint CDF FX,Y(x,y) (Bivariate Case):
- Boundedness:
- FX,Y(−∞,v)=0
- FX,Y(u,−∞)=0
- FX,Y(∞,∞)=1
- Thus, 0≤FX,Y(x,y)≤1 for all (x,y)∈R2.
- Monotonicity: If a≤b and c≤d, then the probability of a<X≤b and c<Y≤d is non-negative: P(a<X≤b,c<Y≤d)=FX,Y(b,d)−FX,Y(b,c)−FX,Y(a,d)+FX,Y(a,c)≥0 The function is monotone non-decreasing in each variable.
- Continuity from the right: For any fixed u∈R, FX,Y(u+h,v)→FX,Y(u,v) as h→0+, and similarly for the second variable.
Tip: The monotonicity property implies specific formulas for calculating probabilities over different intervals based on the joint CDF, such as: P(X=b,Y=d)=FX,Y(b,d)−FX,Y(b−,d)−FX,Y(b,d−)+FX,Y(b−,d−) If FX,Y is continuous at (b,d) in one variable, then P(X=b,Y=d)=0.
Joint Probability Mass Function (Joint PMF) for Discrete Variables
A k-dimensional random variable is jointly discrete if it assumes values only at a countable number of points in Rk.
The joint probability mass function (joint PMF), pX1,X2,…,Xk(⋅,⋅,…,⋅), is defined as: pX1,X2,…,Xk(x1,x2,…,xk)=P(X1=x1,X2=x2,…,Xk=xk)>0 for possible values (x1,x2,…,xk)′, and zero otherwise. The set of points where the PMF is strictly positive is the set of mass points.
Properties of the Joint PMF:
- pX1,X2,…,Xk(x1,x2,…,xk)≥0 for all (x1,x2,…,xk)∈Rk.
- The sum over all mass points equals one: ∑pX1,X2,…,Xk(x1,x2,…,xk)=1.
Relationship between Joint PMF and Joint CDF (Bivariate Case):
- From PMF to CDF: FX,Y(u,v)=P(X≤u,Y≤v)=∑x≤u∑y≤vP(X=x,Y=y)=∑x≤u∑y≤vpX,Y(x,y).
- From CDF to PMF: pX,Y(a,b)=FX,Y(a,b)−FX,Y(a−,b)−FX,Y(a,b−)+FX,Y(a−,b−) 15.
Knowledge of the joint CDF is equivalent to knowledge of the joint PMF for jointly discrete random variables, and this equivalence extends to k-dimensional vectors.
Example: For two tetrahedra rolls, if X is the number on the first and Y is the maximum observed number, pX,Y(2,2)=P({(2,1),(2,2)})=2/16, as derived from the sample space outcomes.
Special Discrete Multivariate Distributions
The document details two important discrete multivariate distributions: Multinomial and Generalized Hypergeometric.
Multinomial Distribution
This arises from extending the binomial experiment to allow for more than two possible outcomes in each independent trial.
Multinomial Experiment Properties:
- The experiment consists of n repeated trials.
- Each trial results in one of k+1 distinct outcomes, E1,E2,…,Ek+1.
- The probability of outcome Ei is P(Ei)=pi, where ∑i=1k+1pi=1.
- Trials are independent.
If Xi is the number of trials resulting in outcome Ei (out of n), then (X1,X2,…,Xk+1)′ follows a multinomial distribution with joint PMF: pX1,X2,…,Xk+1(x1,x2,…,xk+1;p1,…,pk+1,n)=(nx1,x2,…,xk+1)p1x1p2x2⋯pk+1xk+1 subject to ∑i=1k+1xi=n.
Remark: If (X1,…,Xk) has a multinomial distribution, then each Xi is individually binomially distributed 18.
Generalized Hypergeometric Distribution
This distribution models sampling without replacement from a finite population where elements can belong to more than two categories.
Generalized Hypergeometric Experiment Properties:
- A sample of size n is taken randomly without replacement from a population of N elements.
- The population contains N1 elements of the first kind, N2 of the second kind, up to Nk+1 of the (k+1)-th kind, such that ∑i=1k+1Ni=N.
If Xi denotes the number of sample elements of the i-th kind, then (X1,X2,…,Xk+1)′ follows a generalized hypergeometric distribution with joint PMF: pX1,X2,…,Xk(x1,x2,…,xk;N,N1,…,Nk+1,n)=(nN)(x1N1)(x2N2)⋯(xk+1Nk+1) subject to ∑i=1k+1xi=n.
Remark: The standard Hypergeometric distribution is a special case where the population is classified into only two kinds (success/failure).
Example: Selecting two pen refills from a box containing 3 blue (N1=3), 2 red (N2=2), and 3 green (N3=3) refills (N=8). If X is the number of blue and Y is the number of red selected (n=2), the joint PMF is: pX,Y(x,y;8,3,2,3)=(28)(x3)(y2)(2−x−y3) The probability P(X+Y<2) is calculated by summing p(0,0), p(0,1), and p(1,0), yielding 9/14 20.
1.2 Joint Density Functions for Continuous Random Variables
The study of continuous multivariate distributions relies on the joint CDF, which provides a foundation for defining the joint probability density function (PDF).
(Absolutely) Continuous Joint Distributions
If the random vector (X1,X2,…,Xk)′ is continuous, its joint CDF, FX1,…,Xk(x1,…,xk), is absolutely continuous with respect to the Lebesgue measure on Rk (implied context from continuous definitions).
The joint probability density function (Joint PDF), fX1,…,Xk(x1,…,xk), is derived from the joint CDF: FX1,…,Xk(x1,…,xk)=∫−∞xk⋯∫−∞x1fX1,…,Xk(t1,…,tk)dt1⋯dtk (Generalization implied from univariate/bivariate context).
For the bivariate case (X,Y): FX,Y(u,v)=∫−∞v∫−∞ufX,Y(x,y)dxdy (Contextual reference) 11.
The joint PDF fX,Y(x,y) can be recovered by differentiating the joint CDF: fX,Y(x,y)=∂x∂y∂2FX,Y(x,y) (Generalization implied from calculus relationship between CDF and PDF).
Properties of the Joint PDF fX,Y(x,y):
- Non-negativity: fX,Y(x,y)≥0 for all (x,y)∈R2 (assumed property consistent with PMF).
- Total Probability: The volume under the joint density surface must equal one: ∫−∞∞∫−∞∞fX,Y(x,y)dxdy=1 (Assumed property consistent with PMF summation).
Note: Unlike the discrete case, where P(X=a,Y=b) can be non-zero, for continuous joint distributions, the probability of the random vector taking any specific point is zero: P(X=x,Y=y)=0 14.
1.3 Marginal distributions
Marginal distributions describe the probability distribution of a subset of the random variables in a multivariate system, irrespective of the values taken by the remaining variables.
Marginal Distributions for Discrete Variables
If X1,X2,…,Xk are jointly discrete with joint PMF pX1,…,Xk, the marginal PMF for a subset, say Xi, is found by summing the joint PMF over all possible values of the remaining variables: pXi(xi)=∑x1⋯∑xi−1∑xi+1⋯∑xkpX1,…,Xk(x1,…,xk) (Generalization from bivariate structure implied by Example 3 ).
For the bivariate case (X,Y) with joint PMF pX,Y(x,y):
- Marginal PMF of X: pX(x)=∑ypX,Y(x,y).
- Marginal PMF of Y: pY(y)=∑xpX,Y(x,y).
Example: In the tetrahedra rolling example where X is the first die value and Y is the maximum observed value, the marginal PMF pX is found by summing pX,Y(1,y) over all possible y values 17 1.
Marginal Distributions for Continuous Variables
If X and Y are jointly continuous with joint PDF fX,Y(x,y), the marginal PDF for X is found by integrating the joint PDF over the entire range of Y: fX(x)=∫−∞∞fX,Y(x,y)dy.
Similarly, the marginal PDF for Y is: fY(y)=∫−∞∞fX,Y(x,y)dx 19.
The marginal CDFs are obtained by integrating the joint PDF up to the required point in the complementary variable's domain (Contextual relationship implied) 16.
2. Introduction and foundational concepts of mathematical statistics (part 2)
This section details the formal definitions and mathematical derivations for absolutely continuous joint distributions, their marginal distributions via integration, and specific examples of bivariate continuous distributions.
2.1 Absolutely continuous joint distributions
A k-dimensional random vector X=(X1,X2,…,Xk)′ is defined as (absolutely) continuous if there exists a non-negative function, the joint probability density function (PDF), denoted fX(⋅), such that the joint cumulative distribution function (CDF) is: FX(x)=∫−∞x1∫−∞x2⋯∫−∞xkfX(u)du1du2⋯duk where x=(x1,x2,…,xk)′∈Rk 21.
The joint PDF fX(x) must satisfy two primary conditions:
- fX1,…,Xk(x1,…,xk)≥0 for all x∈Rk.
- The total volume under the surface must integrate to one: ∫R∫R⋯∫RfX1,…,Xk(x1,…,xk)dx1dx2⋯dxk=1
For the bivariate case (X,Y)′, the relationship between the joint CDF FX,Y(u,v) and the joint PDF fX,Y(x,y) is: FX,Y(u,v)=P(X≤u,Y≤v)=∫−∞v∫−∞ufX,Y(x,y)dxdy and conversely, where the joint CDF is differentiable: fX,Y(x,y)=∂x∂y∂2FX,Y(x,y) The probability over a rectangular region is found by integrating the joint PDF: P(a<X≤b,c<Y≤d)=∫cd∫abfX,Y(x,y)dxdy
Tip: In the continuous bivariate case, probabilities correspond to volumes under the joint PDF surface, analogous to how areas represent probabilities in the univariate continuous case.
Example of Joint PDF Normalization
If a bivariate function is f(x,y)=K(x+2y)I(0,1)(x)I(0,1)(y) over the unit square, normalization requires ∫01∫01K(x+2y)dxdy=1. This yields 3K/2=1, so K=2/3. The joint PDF is fX,Y(x,y)=32(x+y)I(0,1)(x)I(0,1)(y) 22.
Example of Joint CDF and Probability Calculation
If fX,Y(x,y)=e−x−yI(0,∞)(x)I(0,∞)(y), the joint CDF for u,v≥0 is calculated by integration: FX,Y(u,v)=∫0u∫0ve−x−ydydx=(1−e−u)(1−e−v)=1−e−u−e−v+e−u−v.
Probabilities in specified regions are found by integrating over the region of interest A:
- P(X+Y≤2)=∫02∫02−xe−x−ydydx=1−3e−2 23.
- P(X>2Y) over V={(x,y):0<x<∞;0<y<x/2} is ∫0∞∫0x/2e−x−ydydx=1/3.
2.2 Special continuous multivariate distributions
The material covers specific forms of bivariate continuous distributions.
Bivariate Uniform Distribution
A bivariate continuous random vector (X,Y)′ has a Bivariate Uniform distribution over a region A⊂R2 if its joint PDF is: fX,Y(x,y)={k,0,∀(x,y)∈Aotherwise where k=1/(area of A) 24.
Example: If (X,Y)′ is Uniform over the unit square (Area = 1), then fX,Y(x,y)=1 within the square. P(X+Y<1/2) requires integrating 1 over the region U={(x,y):0<x<1/2,0<y<1/2−x}, yielding a probability of 1/8.
Bivariate Normal Distribution
A bivariate continuous random vector (X,Y)′ follows a Bivariate Normal distribution if its joint PDF is: f_{X,Y}(x,y) = \frac{1}{2\pi\sigma_X\sigma_Y \sqrt{1 -\rho^2}} \times \exp\left\{ \frac{-1}{2(1 -\rho^2)} \left[ \left(\frac{x-\mu_X}{\sigma_X}\right)^2 - 2\rho \frac{x-\mu_X}{\sigma_X}\frac{y-\mu_Y}{\sigma_Y} + \left(\frac{y-\mu_Y}{\sigma_Y}\right)^2 \right \right\} where μX,μY are means, σX,σY>0 are standard deviations, and ρ∈[−1,1] is the correlation coefficient 25.
This distribution is defined by 5 parameters: μX,μY,σX2,σY2, and ρ. Geometrically, this generates a bell-shaped surface.
2.3 Marginal distributions (CDF)
The marginal cumulative distribution function (CDF) FXi(⋅) of a component Xi from a k-dimensional vector X is found by taking the limit of the joint CDF as all other variables tend to infinity: FXi(xi)=limall xj→∞,j=iFX1,…,Xk(x1,…,xk) For the bivariate case: FX(x)=FX,Y(x,∞)andFY(y)=FX,Y(∞,y).
Knowledge of the joint distribution allows the unique determination of all marginal distributions, but the converse is not true: marginal distributions are not sufficient to determine the joint distribution 26.
Marginal CDF Example (Discrete Case Basis)
Given a complex joint CDF FX,Y(x,y), the marginal CDF FX(x) is found by setting y→∞: FX(x)=limy→∞FX,Y(x,y)=(1−e−2x)I(0,∞)(x) for a specific piecewise defined joint CDF.
2.4 Marginal distributions (Discrete Case - PMF)
For a k-dimensional discrete random vector X with joint PMF pX(⋅), the marginal PMF of Xi is found by summing the joint PMF over all possible values of the other variables: pXi(xi)=∑all xj,j=ipX1,…,Xk(x1,…,xk) 27.
In the bivariate case: pX(u)=∑all mass pts of YpX,Y(u,y) pY(v)=∑all mass pts of XpX,Y(x,v) This is conceptually represented by summing the rows or columns in the joint PMF table to find the marginal totals (hence the term "marginal").
Example: For a joint PMF table, summing the probabilities in a row yields the marginal PMF for the corresponding value of X (the marginal pX(x)), and summing the columns yields pY(y) 28.
2.5 Marginal distributions (Continuous Case - PDF)
For a k-dimensional absolutely continuous random vector X with joint PDF fX(⋅), the marginal PDF of Xi is found by integrating the joint PDF over the entire real line R with respect to all other variables: fXi(xi)=∫R⋯∫RfX1,…,Xk(x1,…,xk)dx1⋯dxi−1dxi+1⋯dxk.
In the bivariate case: fX(x)=∫RfX,Y(x,y)dy,fY(y)=∫RfX,Y(x,y)dx.
A crucial distinction is noted: If X and Y are jointly continuous, then X and Y are individually continuous. However, if X and Y are continuous, the vector (X,Y)′ is not necessarily jointly continuous 30.
Marginal PDF Example
If fX,Y(x,y)=(x+y)I(0,1)(x)I(0,1)(y), the marginal PDF for X over 0<x<1 is: fX(x)=∫01(x+y)dy⋅I(0,1)(x)=(xy+2y2)01⋅I(0,1)(x)=(x+21)I(0,1)(x) Similarly, for Y over 0<y<1: fY(y)=∫01(x+y)dx⋅I(0,1)(y)=(2x2+xy)01⋅I(0,1)(y)=(y+21)I(0,1)(y) 31.
3. Conditional distributions and stochastic independence
This section details the formal definitions and properties of conditional probability distributions for both discrete and continuous random variables, and subsequently explores the fundamental concept of stochastic independence between random variables.
3.1 Conditional distributions for discrete random variables
The conditional probability mass function (PMF) allows us to describe the distribution of one random variable given that another random variable has taken a specific value.
Definition of Conditional PMF (Discrete Case): If X and Y are jointly discrete random variables with joint PMF pX,Y(⋅,⋅), the conditional PMF of Y given X=x0, denoted pY∣X(y∣x0), is defined as: pY∣X(y∣x0)=P(Y=y∣X=x0)=pX(x0)pX,Y(x0,y) This is valid provided the marginal probability pX(x0)=P(X=x0)=0. Otherwise, it is undefined.
Similarly, the conditional PMF of X given Y=y0 is: pX∣Y(x∣y0)=P(X=x∣Y=y0)=pY(y0)pX,Y(x,y0) provided pY(y0)=0.
Remarks on Conditional PMF:
- This definition extends analogously to sub-vectors of a random vector. For example, the conditional PMF of X1 given X2=x20 is pX1∣X2(x1∣x20)=pX2(x20)pX1,X2(x1,x20).
- The resulting conditional PMF, pY∣X(⋅∣x0) or pX∣Y(⋅∣y0), satisfies all properties of a genuine PMF:
- pY∣X(y∣x0)≥0 for all y.
- ∑ypY∣X(y∣x0)=1 34.
Conditional CDF (Discrete Case): The conditional cumulative distribution function (CDF) of Y given X=x0 is defined using the conditional PMF: FY∣X(y∣x0)=P(Y≤y∣X=x0)=∑a≤ypY∣X(a∣x0) Similarly for FX∣Y(x∣y0). These conditional CDFs possess all properties of a valid CDF.
Tip: A conditional distribution is undefined if the probability of the conditioning event (the denominator in the definition) is zero, as conditioning on an impossible event is meaningless 35.
3.2 Conditional distributions for continuous random variables
The concept is analogous for jointly absolutely continuous random variables using probability density functions (PDFs).
Definition of Conditional PDF (Continuous Case): If X and Y are jointly continuous with joint PDF fX,Y(⋅,⋅), the conditional PDF of Y given X=x0, denoted fY∣X(y∣x0), is defined as: fY∣X(y∣x0)=fX(x0)fX,Y(x0,y) provided fX(x0)=0. Otherwise, it is undefined.
Similarly, the conditional PDF of X given Y=y0 is: fX∣Y(x∣y0)=fY(y0)fX,Y(x,y0) provided fY(y0)=0 37.
Remarks on Conditional PDF:
- This definition also extends to sub-vectors of continuous random vectors.
- The conditional PDF fY∣X(⋅∣x0) is a genuine PDF, satisfying:
- fY∣X(y∣x0)≥0 for all y.
- ∫RfY∣X(y∣x0)dy=1.
Conditional CDF (Continuous Case): The conditional CDF is found by integrating the conditional PDF: FY∣X(y∣x0)=∫−∞yfY∣X(y′∣x0)dy′ And similarly for FX∣Y(x∣y0).
Conditional CDF via Limits: For continuous variables, the conditional CDF FY∣X(y∣x0) is given a meaning through limits involving intervals: FY∣X(y∣x0)=P(Y≤y∣X=x0)=limh→0+P(Y≤y∣x0≤X≤x0+h) If the conditioning event is an interval, such as x1≤X≤x2, the CDF is calculated as: FY∣X(y∣x1≤X≤x2)=P(Y≤y∣x1≤X≤x2)=P(x1≤X≤x2)P(x1≤X≤x2,Y≤y) 38.
Example: If X and Y are independent, then fX,Y(x,y)=fX(x)fY(y). Using the definition fX,Y(x,y)=fY∣X(y∣x)fX(x), it follows that fY∣X(y∣x)=fY(y); the conditional density depends only on y, not on x.
3.3 Stochastic independence of random variables
Stochastic independence (often referred to simply as independence) is a fundamental property describing when the outcome of one random variable provides no information about the outcome of another.
Definition 20: Stochastic Independence: A set of random variables X=(X1,X2,…,Xk) is stochastically independent if and only if their joint CDF factors into the product of their marginal CDFs: FX1,X2,…,Xk(x1,x2,…,xk)=∏i=1kFXi(xi) for all (x1,x2,…,xk)∈Rk.
Factorization Criterion for Independence: If the joint and marginal density functions exist, independence can be verified using densities:
- Discrete Case: Independence holds if and only if the joint PMF factors: pX1,X2,…,Xk(x1,x2,…,xk)=∏i=1kpXi(xi)
- Continuous Case: Independence holds if and only if the joint PDF factors: fX1,X2,…,Xk(x1,x2,…,xk)=∏i=1kfXi(xi).
Relationship to Conditional Distributions: Independence is equivalent to the condition that the conditional distribution of one variable given another is equal to the unconditional distribution of that variable. For two variables, independence is equivalent to fY∣X(y∣x)=fY(y) (or pY∣X(y∣x)=pY(y) for discrete variables). A key test for dependence is showing that the conditional density/PMF explicitly depends on the conditioning variable.
Properties of Independence:
- If X1,X2,…,Xk are independent, then any sub-collection of these variables is also independent (e.g., if X1 through X10 are independent, then X1,X2,X6,X8 are independent).
- If X1,X2,…,Xk are independent, and Yi=gi(Xi) are functions of Xi respectively, then Y1,Y2,…,Yk are also independent (functions of independent random variables are independent).
Mutual Independence vs. Pairwise Independence:
- Mutual Independence: The definition provided above requires the joint distribution of the entire set to factorize.
- It is possible for random variables to be pairwise independent (every pair is independent) but not mutually independent (the joint distribution of the entire set does not factorize).
- However, mutually independent random variables are always pairwise independent 40.
Example: If X and Y are jointly continuous with fX,Y(x,y)=e−(x+y)I(0,∞)(x)I(0,∞)(y), then X and Y are independent because fX,Y(x,y)=[e−xI(0,∞)(x)]⋅[e−yI(0,∞)(y)]=fX(x)fY(y) 41.
4. Expectation, covariance, and conditional expectation for multiple random variables
This section extends the concepts of expectation, variance, and moment generation from univariate random variables to multivariate random vectors, introducing covariance, correlation, and the crucial framework of conditional expectation.
4.1 Expectation of functions of several random variables
The expectation operator is extended to vectors and functions of random vectors. A k-dimensional random vector is denoted as X=(X1,X2,…,Xk)′ 43.
4.1.1 Definition of vector expectation and function expectation
The expected value of a random vector X is the vector whose elements are the individual expectations of its components: E(X)=(E[X1,E[X2,…,E[Xk])′(3.1) The expectation of a function g(X) of the random vector X is calculated by integrating (or summing, for discrete variables) the function multiplied by the joint probability density function (PDF) fX(x) (or joint probability mass function (PMF) pX(x)) over the support Rk (or set A for discrete): E[g(X)]=∑Ag(x)pX(x),discrete case E[g(X)]=∫Rkg(x)fX(x)dx,continuous case(3.3)
Tip: For a continuous random vector, the expectation integral expands to k nested integrals, one for each variable: E[g(X)]=∫R⋯∫Rg(x1,…,xk)fX1,…,Xk(x1,…,xk)dx1⋯dxk 44.
4.1.2 Basic properties of expectation
Expectation exhibits linearity, which does not require any independence assumptions between the variables.
Result 1: Expectation of Linear Combinations For constants a1,…,am and real-valued functions gi(X) of a random vector X: E\left[ \sum_{i=1}^{m} a_i g_i(X) \right = \sum_{i=1}^{m} a_i E[g_i(X)] Particular cases include:
- E(X1±X2±⋯±Xk)=E(X1)±E(X2)±⋯±E(Xk) 47.
- E[aX+b=aE[X+b.
Result 2: Expectation of Products (Independence Required) If X1,X2,…,Xk are independent random variables, and gi(⋅) is a function of Xi alone, then: E\left[ \prod_{i=1}^{k} a_i g_i(X_i) \right = \prod_{i=1}^{k} a_i E[g_i(X_i)] A key implication is that if X and Y are independent: E[XY=E[XE[Y].
Note: Satisfying E[∏Xi=∏E[Xi] is a necessary but not sufficient condition for independence 48.
4.1.3 Covariance and Correlation Coefficient
These measures quantify the linear relationship between two random variables X and Y defined on the same probability space.
Definition 22: Covariance Cov[X,Y=E[(X−μX)(Y−μY)] where μX=E[X] and μY=E[Y]. The computation simplifies to the relationship involving raw moments 49: Cov[X,Y=E[XY−μXμY
Definition 23: Correlation Coefficient The correlation coefficient, ρX,Y, normalizes the covariance by the product of the standard deviations (σX=Var[X]): ρX,Y=σXσYCov[X,Y],provided σX>0 and σY>0.
Remarks on Covariance and Correlation:
- Covariance magnitude depends on the scale of X and Y; the correlation coefficient is a standardized, better measure of linear relationship.
- Zero covariance implies zero correlation, which is necessary but not sufficient for independence. Conversely, independence implies zero covariance 50.
- ρ(X,Y)=±1 if and only if Y is a linear function of X with probability 1.
4.1.4 General results for linear combinations
For a set of k random variables X1,…,Xk and constants a1,…,ak: Var(∑i=1kaiXi)=∑i=1kai2Var(Xi)+2∑i<jaiajCov(Xi,Xj) The covariance of two linear combinations is also defined: Cov(∑i=1kaiXi,∑j=1kbjYj)=∑i=1k∑j=1kaibjCov(Xi,Xj) 53.
Cauchy-Schwartz Inequality For random variables X and Y with finite second raw moments: E(∣XY∣)≤E[X2E[Y2] Equality holds if and only if Y is a linear function of X with probability 1. This inequality is used to show that ∣ρ(X,Y)∣≤1 54.
4.2 Conditional Expectation
Conditional expectation is the expectation of a random variable given the value of another random variable (or vector). For a bivariate case, the conditional expectation of g(X,Y) given X=x0 is defined based on the conditional PMF pY∣X(y∣x0) or PDF fY∣X(y∣x0) 55: E[g(X,Y)∣X=x0={∑∀yg(x0,y)pY∣X(y∣x0)∫Rg(x0,y)fY∣X(y∣x0)dydiscrete casecontinuous case The analogous definition holds for conditioning on Y=y0.
Special cases for conditional expectation/variance include:
- E[Y∣X=x0=E[Y∣X] evaluated at X=x0.
- Var[Y∣X=x0=E[Y2∣X=x0−[E(Y∣X=x0)]2 56.
If X and Y are independent, then E(X∣Y=y0)=E(X) (the unconditional mean) with probability 1 57.
4.2.1 Expectation by conditioning
The conditional expectation E[Y∣X] is itself a random variable dependent on X. The law of total expectation (or expectation by conditioning) relates unconditional expectation to conditional expectation 60.
Theorem 3: Law of Total Expectation For a bivariate random vector (X,Y)′ and a function g(⋅) of Y (or X): E[g(Y)]=EX[EY[g(Y)∣X]]orE[g(X)]=EY[EX[g(X)∣Y]] These results can be expanded using marginal distributions: E[g(Y)]={∑∀x0E[g(Y)∣X=x0pX(x0),∫RE[g(Y)∣X=xfX(x)dx,discrete casecontinuous case
Variance by Conditioning The law of total variance decomposes the total variance: Var[Y=EX[Var(Y∣X)]+VarX[E(Y∣X)] This states that the total variance is the sum of the expected conditional variance and the variance of the conditional means 61.
4.3 Joint moment generating functions and moments
The joint moment generating function (MGF) generalizes the MGF to multiple random variables and uniquely determines their joint distribution 64.
4.3.1 Definition of Joint MGF and Joint Moments
For a k-dimensional vector X=(X1,…,Xk)′, the joint MGF is defined as: mX1,…,Xk(t1,…,tk)=E[exp{∑i=1ktiXi}] The joint raw moment is E[X1r1X2r2⋯Xkrk], where ri≥0 are integers. The joint central moment is E[(X1−μX1)r1⋯(Xk−μXk)rk] 65.
For the bivariate case (X,Y)′, the joint central moment where r=s=1 is precisely the covariance Cov[X,Y].
Independence Condition using MGFs Random variables X1,…,Xk are independent if and only if their joint MGF is the product of their individual marginal MGFs: mX1,…,Xk(t1,…,tk)=∏i=1kmXi(ti)
4.3.2 Generation of Moments
Moments can be derived by differentiating the joint MGF 66.
Result 1: Joint Raw Moments The joint (r1,…,rk)-th raw moment is obtained by differentiating the joint MGF ri times with respect to ti for all i, and then setting all ti=0: E[X1r1⋯Xkrk]=∂t1r1⋯∂tkrk∂r1+⋯+rkmX1,…,Xk(t1,…,tk)t1=⋯=tk=0
Result 2: Marginal Raw Moments The r-th marginal raw moment of Xi, E[Xir], is obtained by differentiating the joint MGF r times with respect to ti and setting all tj=0 for j=1,…,k.
Joint central moments (like covariance) and marginal central moments (like marginal variance) are calculated using the relationship between raw and central moments. For example, Cov[X,Y=E[XY−E[X]E[Y] 67.
5. Distribution of functions of random variables and sampling distributions (part 1)
This section summarizes methods for deriving the distribution of functions of one or more random variables, focusing on the CDF, MGF, and Transformation techniques for Chapter 4.
5.1 Review: Distribution of a function of a single random variable
This review covers the techniques for finding the distribution of a univariate random variable Y=g(X), separated by whether X is discrete or continuous.
5.2.1 Discrete Case
If X is a discrete random variable with mass points {x1,x2,…} and PMF pX(⋅), then Y=g(X) is also discrete with mass points yi=g(xi). The PMF of Y is found by summing the probabilities of all X values that map to the same Y value: pY(yi)=P(Y=yi)=∑{xj:g(xj)=yi}pX(xj).
Tip: Note that g(⋅) does not need to be one-to-one; multiple xj's can map to the same yi, requiring summation 74.
5.2.2 Continuous Case: Methods
When X is continuous with PDF fX(⋅) and CDF FX(⋅), three methods are available for finding the distribution of Y=g(X).
Method 1: CDF Technique
This technique determines the CDF of Y, FY(y), by expressing the event {Y≤y} in terms of X: FY(y)=P(Y≤y)=P(X∈A),where A={x:g(x)≤y} 75. Once FY(y) is found, the PDF fY(y) is obtained by differentiation: fY(y)=dydFY(y). This method applies even if Y is not continuous.
Method 2: Transformation Technique
If g(⋅) is strictly monotone (increasing or decreasing) and differentiable, the PDF of Y is given by: fY(y)=fX[g−1(y)]dydg−1(y),where y=g(x) is defined. If g(⋅) is not one-to-one over the entire domain, the range of X must be decomposed into sub-ranges where g(⋅) is one-to-one, and the results summed (see generalization below). This method specifically finds the PDF, thus requiring Y to be continuous.
Example: If X∼Exp(λ=1), then fX(x)=e−xI(0,∞)(x). For Y=eX, the inverse is g−1(y)=lny, and dydlny=y1. Thus, fY(y)=fX(lny)y1=(y1)(y1)=y21I(1,∞)(y).
Method 3: MGF Technique
Assuming the MGF exists, mY(t) is found using the definition of expectation: mY(t)=E[exp{tY}]=E[exp{tg(X)}]=∫Rexp{tg(x)}fX(x)dx 76. If the resulting function mY(t) matches the MGF of a known distribution, then Y has that distribution.
Tip: For linear transformations like Y=σZ+μ where Z∼N(0,1), the MGF technique simplifies calculation by using the known MGF of Z, mZ(t)=et2/2 77.
5.3 Distribution of a function of several random variables
This section covers methods for finding the joint distribution of multiple transformed variables Y1,…,Yr from X1,…,Xk.
5.3.1 CDF Technique
For k random variables X1,…,Xk with joint CDF FX1,…,Xk, the joint CDF of transformed variables Y1=g1(X),…,Yk=gk(X) is: FY1,…,Yk(y1,…,yk)=P[g1(X)≤y1,…,gk(X)≤yk]. This requires evaluating a region defined by the inequalities in terms of the joint CDF of X. This method works even if the number of resulting variables r is less than k 79.
5.3.2 Distribution of Sum, Difference, Product, and Quotient
The transformation technique (Jacobian method, detailed below) is generally used for continuous variables, but specific results exist for common linear combinations.
Sum and Difference of Two Continuous Variables
If X and Y have joint PDF fX,Y(x,y), and Z=X+Y and V=X−Y, their marginal PDFs are given by convolution integrals: fZ(z)=∫RfX,Y(x,z−x)dx=∫RfX,Y(z−y,y)dy. fV(v)=∫RfX,Y(x,x−v)dx=∫RfX,Y(v+y,y)dy 80.
Convolution Formula (for Independent Variables): If X and Y are independent, the PDF of their sum Z=X+Y is: fZ(z)=∫RfY(z−x)fX(x)dx=∫RfX(z−y)fY(y)dy.
Example: If X,Y are independent and fX(x)=fY(x)=I(0,1)(x), then Z=X+Y has PDF fZ(z)=zI(0,1)(z)+(2−z)I[1,2)(z) 81.
Product and Quotient of Two Continuous Variables
If Z=XY and V=X/Y, their PDFs are: fZ(z)=∫R∣x∣−1fX,Y(x,z/x)dx=∫R∣y∣−1fX,Y(z/y,y)dy. fV(v)=∫R∣y∣fX,Y(vy,y)dy 82.
5.3.3 MGF Technique for Several Variables
If the joint MGF mY1,…,Yk(t1,…,tk) exists, it is derived from the definition: mY1,…,Yk(t1,…,tk)=E[exp{t1g1(X)+⋯+tkgk(X)}]. If the resulting function can be identified as the joint MGF of a known distribution, then (Y1,…,Yk) follows that distribution. This method is often less practical for k>1 due to the limited availability of known joint MGFs 83.
MGF of the Sum of Independent Variables: If X1,…,Xn are independent with existing MGFs mXi(t), the MGF of their sum Y=∑i=1nXi is the product of the individual MGFs: mY(t)=∏i=1nmXi(t).
If Xi are also identically distributed with common MGF mX(t), then mY(t)=[mX(t)]n. If the distribution of the sum belongs to the same parametric family, the distribution is called reproductive.
Remark: Any linear combination of independent Normal random variables is also Normal 84.
5.4 Method of Transformation (Jacobian Method)
5.4.1 Discrete Case
For k discrete variables X1,…,Xk with joint PMF pX, the joint PMF of Y1=g1(X),…,Yk=gk(X) is found by summing over all preimages in the support set H: pY1,…,Yk(y1,…,yk)=∑(x1,…,xk)′∈H, such that (y1,…,yk)=(g1(x),…,gk(x))′pX1,…,Xk(x1,…,xk) 85.
5.4.2 Continuous Case (Jacobian of Transformation)
If Y1=g1(X1,…,Xk),…,Yk=gk(X1,…,Xk) are uniquely invertible (i.e., Xi=gi−1(Y1,…,Yk)), and the functions have continuous partial derivatives, the joint PDF fY1,…,Yk(y) is found using the Jacobian determinant J of the inverse transformation: fY1,…,Yk(y)=∣J∣fX1,…,Xk(g1−1(y),…,gk−1(y))ID(y).
The Jacobian J is the determinant: J=∂Y1∂X1∂Y1∂X2⋮∂Y1∂Xk∂Y2∂X1∂Y2∂X2⋮∂Y2∂Xk⋯⋯⋱⋯∂Yk∂X1∂Yk∂X2⋮∂Yk∂Xk 86.
If only r<k transformed variables are desired, one can introduce k−r dummy variables (often chosen as some Xi's), find the joint PDF of all k variables, and then integrate out the dummy variables.
Example: For U=X/Y and V=X+Y, where X and Y have a joint PDF, the inverse functions are X=UV/(U+1) and Y=V/(U+1). The Jacobian is calculated from the partial derivatives of these inverse functions and multiplied by the original joint PDF evaluated at the inverse expressions 87.
5.5 Probability Integral Transform
If X is a random variable with a continuous CDF FX(x), the transformation U=FX(X) results in a random variable U uniformly distributed over the interval (0,1). Conversely, if U∼U(0,1), then X=FX−1(U) has the CDF FX(⋅).
Definition: The transformation Y=FX(X) is known as the Probability Integral Transform and is foundational in distribution-free (nonparametric) statistics 88.
6. Distribution of functions of random variables and sampling distributions (part 2)
This section summarizes key concepts in sampling theory, covering the definition of random samples, properties of sample moments, the Law of Large Numbers, the Central Limit Theorem, and the exact sampling distributions derived from normal populations: Chi-square, F, and Student's t.
6.1 Populations and samples
The central goal of inductive inference in statistics is to gain information about a target population by examining a portion of it, known as a sample.
Definitions related to sampling:
- Target population: The entire collection of elements about which information is sought 89.
- Random Sample: A set of random variables X1,X2,…,Xn is a random sample of size n from a population with density f(⋅) if their joint density factors into the product of their individual densities: fX1,…,Xn(x1,…,xn)=f(x1)f(x2)⋯f(xn) The individual Xi are independent and identically distributed (i.i.d.).
- Sampled population: The specific population from which the random sample X1,…,Xn was drawn 90.
- Distribution of the sample: Defined as the joint distribution of the random variables X1,X2,…,Xn. Note that this preserves the order of observation, unlike the distribution of a function of the sample elements (e.g., the sum) 91.
6.2 Statistic and sample moments
A statistic is a function of observable random variables (the sample observations) that does not contain any unknown parameters. Statistics are used to estimate unknown population parameters θ in the population density f(⋅;θ).
Sample Moments: If X1,X2,…,Xn is a random sample from a density f(⋅):
- The r-th sample moment about 0 is defined as: Mr′=n1∑i=1nXir. The sample mean is the first moment (r=1): Xn=Xˉ=n1∑i=1nXi 92.
- The r-th sample moment about the sample mean Xˉ is defined as: Mr=n1∑i=1n(Xi−Xˉ)r.
Properties of Sample Moments: If μr′=E[Xr] is the r-th population moment:
- The expected value of the r-th sample moment about 0 equals the r-th population moment (if it exists): E[Mr′=μr′.
- The variance of the r-th sample moment about 0 is: Var[Mr′=n1[μ2r′−(μr′)2].
Properties of the Sample Mean (Xˉ): If the population density has mean μ and finite variance σ2:
- E[Xˉ]=μ
- Var[Xˉ]=nσ2 95.
Sample Variance (S2): The sample variance is defined for n>1 as: Sn2=S2=n−11∑i=1n(Xi−Xˉ)2. It is an unbiased estimator of the population variance σ2: E[S2=σ2 94.
Tip: Understanding the distinction between sample moments (statistics based on a finite sample) and population moments (theoretical values based on the infinite population) is crucial for inference 93.
6.3 Law of Large Numbers and Central Limit Theorem
These theorems address the reliability of the sample mean Xˉ as an estimator for the population mean μ as the sample size n increases.
Weak Law of Large Numbers (WLLN): If a density f(⋅) has mean μ and finite variance σ2, and ϵ>0 and 0<δ<1 are specified, choosing n>δϵ2σ2 ensures that the probability that the sample mean Xˉn deviates from μ by less than ϵ is at least 1−δ: P\left[-\epsilon < \bar{X}_n - \mu < \epsilon \right \geq 1 - \delta. In essence, the WLLN guarantees that Xˉn converges in probability to μ 96.
Central Limit Theorem (CLT): Let Xˉn be the sample mean of a random sample from a density with mean μ and finite variance σ2. The standardized variable Zn approaches the standard normal distribution (N(0,1)) as n→∞: Zn=Var[Xˉn]Xˉn−E[Xˉn]=σ/nXˉn−μdN(0,1) as n→∞. The CLT is powerful because it dictates the asymptotic distribution of the sample mean regardless of the form of the original density, provided the variance is finite.
6.4 Sampling from the Normal Distribution
When the parent distribution is Normal, exact sampling distributions for functions of the sample can be derived analytically 97.
6.4.1 The Chi-square Distribution
The Chi-square distribution with k degrees of freedom (k∈Z+) has the density: fX(x)=Γ(k/2)1(21)k/2xk/2−1e−x/2I(0,∞)(x) 98.
Properties (if X∼χ2(k)):
- E[X=k
- Var[X=2k.
Key Theorems for Chi-square:
- If Xi∼N(μi,σi2) are normally and independently distributed, then U=∑i=1k(σiXi−μi)2 has a χ2(k) distribution 99.
- Corollary: If X1,…,Xn is a random sample from N(μ,σ2), then U=σ21∑i=1n(Xi−μ)2 has a χ2(n) distribution 100.
Independence and Degrees of Freedom: If Z1,…,Zn is a random sample from the standard normal distribution (N(0,1)), then:
- The sample mean Zˉ=n1∑Zi and the sum of squared deviations ∑i=1n(Zi−Zˉ)2 are independent part (ii).
- Consequently, ∑i=1n(Zi−Zˉ)2 has a χ2(n−1) distribution part (iii) 101.
Sample Variance in Normal Context: If S2 is the sample variance of a sample from N(μ,σ2): σ2(n−1)S2∼χ2(n−1). This term relates the statistic S2 to the unknown σ2. The degrees of freedom (n−1) represent the number of independent squared deviations remaining after estimating one parameter (μ) 102.
6.4.2 The F Distribution
The F distribution is defined as the distribution of the ratio of two independent chi-square random variables divided by their respective degrees of freedom. If U∼χ2(m) and V∼χ2(n) are independent, then X defined by: X=V/nU/m has an F distribution with m (numerator) and n (denominator) degrees of freedom, denoted F(m,n) 103.
Application to Sample Variances: If two independent random samples are drawn from normal populations, both assumed to have the same unknown variance σ2: ∑j=1n+1(Yj−Yˉ)2/n∑i=1m+1(Xi−Xˉ)2/m∼F(m,n). This forms the basis for testing the equality of two variances 104.
Properties (If X∼F(m,n)):
- E[X=n−2nfor n>2.
- If X∼F(m,n), then 1/X∼F(n,m).
Example: If F0.95(m,n) is the 95th percentile for F(m,n), then the 5th percentile for F(n,m) is F0.05′(n,m)=1/F0.95(m,n) 105.
6.4.3 Student’s t Distribution
The Student's t distribution with k degrees of freedom arises from the ratio of a standard normal variable to the square root of an independent chi-square variable divided by its degrees of freedom.
If Z∼N(0,1) and U∼χ2(k) are independent, then X defined by: X=U/kZ has a Student's t distribution with k degrees of freedom, t(k) 106.
Application to Sample Mean: If X1,…,Xn is a random sample from N(μ,σ2), the following statistic has a t distribution with n−1 degrees of freedom: T=σ21∑i=1n(Xi−Xˉ)2/(n−1)(Xˉ−μ)/(σ/n)=Sn(Xˉ−μ). This result relies on the independence between the sample mean (Xˉ) and the sample variance (S2) when sampling from a normal distribution.
Properties (If X∼t(k)):
- E[X=0if k>1
- Var[X=k−2kif k>2.
Study Note: The t-distribution approaches the standard normal distribution as the degrees of freedom (k) become large. The F-distribution simplifies to the square of the t-distribution when the denominator degrees of freedom (n) is very large (effectively infinity) 107.
Common mistakes to avoid
- Review all topics thoroughly before exams
- Pay attention to formulas and key definitions
- Practice with examples provided in each section
- Don't memorize without understanding the underlying concepts
© 2026 Maeve. All rights reserved. This content is protected by copyright.