Multiple Random Variables
An \(n\)-dimensional random vector is a function from a sample space \(S\) into \(\mathbb{R}^n\), \(n\)-dimensional Euclidean space.
Let \((X,Y)\) be a discrete bivariate random vector. Then the function \(f(x,y)\) from \(\mathbb{R}^2\) into \(\mathbb{R}\) defined by \(f(x,y)=P(X=x,Y=y)\) is called the joint probability mass function or joint pmf of \((X,Y)\).
Theorem 4.1.6 Let \((X,Y)\) be a discrete bivariate random vector with joint pmf \(f_{X,Y}(x,y)\). Then the marginal pmfs of \(X\) and \(Y\), \(f_X(x)=P(X=x)\) and \(f_Y(y)=P(Y=y)\), are given by
A function \(f(x,y)\) from \(\mathbb{R}^2\) into \(\mathbb{R}\) is called a joint probability density function or joint pdf of the continuous bivariate random vector \((X,Y)\) if for every set \(A\subset \mathbb{R}^2\),
the expected value of \(g(X,Y)\) is defined to be
the marginal probability density functions of \(X\) and \(Y\) are defined to be
Let \((X,Y)\) be a discrete bivariate random vector with joint pmf \(f(x,y)\) and marginal pmfs \(f_X(x)\) and \(f_Y(y)\). For any \(x\) such that \(P(X=x)= f_X(x)>0\), the conditional pmf of \(Y\) given that \(X=x\) is the function of \(y\) denoted by \(f(y|x)\) and defined by
For any \(y\) such that \(P(Y=y)= f_Y(y)>0\), the conditional pmf of \(X\) given that \(Y=y\) is the function of \(x\) denoted by \(f(x|y)\) and defined by
For continuous random variables, the conditional pdf is same as above.
If \(g(Y)\) is a function of \(Y\), then the conditional expected value of \(g(Y)\) given that \(X=x\) is denoted by \(\mathrm{E}[g(Y)|x]\) and given by
The variance of the probability distribution described by \(f(y|x)\) is called the conditional variance of \(Y\) given \(X=x\), we have
Let \((X,Y)\) be a bivariate random vector with joint pdf or pmf \(f(x,y)\) and marginal pdfs or pmfs \(f_X(x)\) and \(f_Y(y)\). Then \(X\) and \(Y\) are called independent random variables if for all \(x\in \mathbb{R}\) and \(y\in \mathbb{R}\), we have
Lemma 4.2.7 Let \((X,Y)\) be a bivariate random vector with joint pdf or pmf \(f(x,y)\) and marginal pdfs or pmfs \(f_X(x)\) and \(f_Y(y)\). Then \(X\) and \(Y\) are independent iff there exist functions \(g(x)\) and \(h(y)\) such that, for every \(x\in \mathbb{R}\) and \(y\in \mathbb{R}\),
Theorem 4.2.10 Let \(X\) and \(Y\) be independent random variables.
-
For any \(A\subset \mathbb{R}\) and \(B\subset \mathbb{R}\), \(P(X\in A, Y\in B) = P(X\in A)P(Y\in B)\) that is, the events \(\left\{X\in A\right\}\) and \(\left\{Y\in B\right\}\) are independent events.
-
Let \(g(x)\) be a function only of \(x\) and let \(h(y)\) be a function only of \(y\). Then
- The moment generating function of \(Z=X+Y\) is given by
For example, if \(X\sim n(\mu,\sigma^2)\) and \(Y\sim n(\gamma,\tau^2)\) be independent, then \(Z=X+Y\sim n(\mu+\gamma,\sigma^2+\tau^2)\). If \(X\sim \text{Poisson}(\theta)\) and \(Y\sim \text{Poisson}(\lambda)\) be independent, then \(Z=X+Y\sim \text{Poisson}(\theta+\lambda)\).
Let \((X,Y)\) be a bivariate random vector with a known probability distribution. Now cansider a new bivariate random vector \((U,V)\) defined by \(U=g_1(X,Y)\) and \(V=g_2(X,Y)\), where \(g_1(x,y)\) and \(g_2(x,y)\) are some specified functions. Then the joint pdf of \((U,V)\) is given by
Theorem 4.3.5 Let \(X\) and \(Y\) be independent random variables. Let \(g(x)\) be a function only of \(x\) and let \(h(y)\) be a function only of \(y\). Then the random variables \(U=g(X)\) and \(V=h(Y)\) are independent.
Theorem 4.4.3 If \(X\) and \(Y\) are any two random variables, then
A random variable \(X\) is said to have a mixture distribution if the distribution of \(X\) depends on a quantity that also has a distribution.
Conditional variance identity: For any two random variables \(X\) and \(Y\),
provided that the expectations exist.
We use notation \(\mu_X=\mathrm{E}X\), \(\sigma_X^2=\mathrm{Var}X\).
The covariance of \(X\) and \(Y\) is the number defined by
The correlation of \(X\) and \(Y\) is the number defined by
The value \(\rho_{XY}\) is also called the correlation coefficient.
Theorem 4.5.3
Theorem 4.5.5 If \(X\) and \(Y\) are independent, then \(\mathrm{Cov}(X,Y)=0\) and \(\rho_{XY}=0\).
Theorem 4.5.6 If \(X\) and \(Y\) are random variables and \(a\) and \(b\) are constants, then
If \(X\) and \(Y\) are independent, then
Theorem 4.5.7 For any random variables \(X\) and \(Y\),
-
\(-1\le \rho_{XY} \le 1\)
-
\(|\rho_{XY}|=1\) iff there exist constants \(a\) and \(b\) such that \(P(Y=aX+b)=1\). If \(\rho_{XY}=1\), then \(a>0\); if \(\rho_{XY}=-1\), then \(a<0\).
Let \(-\infty<\mu_X,\mu_Y<\infty\), \(0<\sigma_X,0<\sigma_Y\), and \(-1<\rho<1\). The bivariate normal pdf is given by
-
The marginal distributions of \(X\) is \(n(\mu_X,\sigma_X^2)\).
-
The marginal distributions of \(Y\) is \(n(\mu_Y,\sigma_Y^2)\).
-
The correlation between \(X\) and \(Y\) is \(\rho_{XY}=\rho\).
-
For any constants \(a\) and \(b\), the distribution of \(aX+bY\) is \(n(a\mu_X+b\mu_Y,a^2\sigma_X^2+b^2\sigma_Y^2+2ab\rho\sigma_X\sigma_Y)\).
The random vector \(\bm{X}=(X_1,\cdots,X_n)\) has a sample space that is a subset of \(\mathbb{R}^n\). If \((X_1,\cdots,X_n)\) is a discrete random vector, then the joint pmf of \((X_1,\cdots,X_n)\) is the function defined by \(f(\bm{x})=f(x_1,\cdots,x_n)=P(X_1=x_1,\cdots,X_n=x_n)\). Then for any \(A\subset \mathbb{R}^n\),
If \((X_1,\cdots,X_n)\) is a continuous random vector, then the joint pdf of \((X_1,\cdots,X_n)\) is the function defined by \(f(\bm{x})=f(x_1,\cdots,x_n)\) that satisfies,
Let \(g(\bm{x})=g(x_1,\cdots,x_n)\) be a real-valued function defined on the sample space of \(\bm{X}\). Then \(g(\bm{X})\) is a random variable and the expected value of \(g(\bm{X})\) is
The marginal distribution of \((X_1,\cdots,X_k)\) is given by the pdf or pmf
or
The conditional pdf or pmf of \((X_{k+1},\cdots,X_n)\) given \((X_1,\cdots,X_k)=(x_1,\cdots,x_k)\) is defined by
Let \(n\) and \(m\) be positive integers and let \(p_1,\cdots,p_n\) be numbers satisfying \(0\le p_i\le 1\) and \(\sum_{i=1}^{n} p_i=1\). Then the random vector \((X_1,\cdots,X_n)\) has a multinomial distribution with m trials and cell probabilities \(p_1,\cdots,p_n\) if the joint pmf of \((X_1,\cdots,X_n)\) is
Let \(\bm{X}_1,\cdots,\bm{X}_n\) be random vectors with joint pdf or pmf \(f(\bm{x}_1,\cdots,\bm{x}_n)\). Let \(f_{\bm{X}}(\bm{x})\) denote the marginal pdf or pmf of \(\bm{X}_i\). Then \(\bm{X}_1,\cdots,\bm{X}_n\) are called mutually independent random vectors if for every \((\bm{x}_1,\cdots,\bm{x}_n)\),
If the \(\bm{X}_i\) are all one-dimensional, then the \(\bm{X}_i\) are called mutually independent random vectors. Then
For \(Z=\bm{X}_1+\cdots+\bm{X}_n\), the mgf of \(Z\) is given by
Theorem 4.6.11 Let \(\bm{X}_1,\cdots,\bm{X}_n\) be random vectors. Then \(\bm{X}_1,\cdots,\bm{X}_n\) are mutually independent iff there exist functions \(g_i(\bm{x}_i)\) such that, the joint pdf or pmf of \((\bm{X}_1,\cdots,\bm{X}_n)\) can be written as
Theorem 4.6.12 Let \(\bm{X}_1,\cdots,\bm{X}_n\) be mutually independent random vectors. Let \(g_i(\bm{x}_i)\) be a function only of \(\bm{x}_i\). Then the random variables \(U_i=g_i(\bm{X}_i)\) are mutually independent.
Let \((X_1,\cdots,X_n)\) be a random vector with pdf \(f_{\bm{X}}(x_1,\cdots,x_n)\). Consider \(U_i=g_i(X_1,\cdots,X_n)\), we have the following representation of the joint pdf of \((U_1,\cdots,U_n)\):
Young For \(a,b,p,q>0\) such that \(\frac{1}{p}+\frac{1}{q}=1\), we have
Holder Let \(X\) and \(Y\) be random variables and let \(p,q>0\) such that \(\frac{1}{p}+\frac{1}{q}=1\). Then
Minkowski Let \(X\) and \(Y\) be random variables and let \(1\le p < \infty\). Then
A function \(g(x)\) is convex if \(g(\lambda x+(1-\lambda)y)\le \lambda g(x) + (1-\lambda)g(y)\) for all \(x,y\) and \(0\le \lambda \le 1\). A function \(g(x)\) is concave if \(-g(x)\) is convex.
Jensen For any random variable \(X\) and any convex function \(g(x)\), we have
Covariance Inequality Let \(X\) be any random variable and \(g(x)\) and \(h(x)\) any functions such that \(\mathrm{E}g(X), \mathrm{E}h(X), \mathrm{E}(g(X)h(X))\) exist. Then
- If \(g(x)\) is nondeceasing funcction and \(h(x)\) is a nonincreasing function, then
- If \(g(x)\) and \(h(x)\) are either both nondecreasing or both nonincreasing, then