Salta al contenuto
Note per Studenti Characteristic Functions Report

Characteristic Functions

In questa pagina 4

Introduction to analytical methods in probability theory

The Fourier transform is an important analytical tool also in probability theory. This comes as no surprise considering that the density of the sum of independent random variables is the convolution of the densities of the single random variables, and it is well known that the best way to compute a convolution is via Fourier transforms. Fourier transform techniques are also useful to compute the moments of random variables, i.e. E(Xk)E(X^k) for k∈Nk\in\mathbb{N}, and to study the convergence properties of a sequence of random variables (see Modes of Convergencea random sequence can converge pointwise (almost surely), in distribution, in probability or in the mean of order p; the notes define the last three, relate them (L2 implies L1 implies probability implies distribution), use Levy's theorem with characteristic functions, and show with counterexamples what convergence in distribution or in probability does not guarantee.Modes of Convergence →).

Definition (moments of XX). mk≜E(Xk)m_k\triangleq E(X^k), if it exists, k=0,1,2,…k=0,1,2,\dots. Note that m0=1m_0=1 always and m1=E(X)m_1=E(X).

Remark. The moments mkm_k, if they exist, provide information about XX. The more moments exist and are known, the better the knowledge about the behavior of XX.

Example: moments determine a discrete density

Consider a discrete random variable XX with alphabet X={x1,x2,…,xM}\mathcal{X}=\{x_1,x_2,\dots,x_M\} and density p‾=(p1,p2,…,pM)\underline p=(p_1,p_2,\dots,p_M), where pi=pX(xi)p_i=p_X(x_i). Let

mk=∑i=1Mxik pi(∗)m_k=\sum_{i=1}^M x_i^k\,p_i \qquad (*)

(the moments exist for all k≥0k\ge0). The moments m0,m1,…,mM−1m_0,m_1,\dots,m_{M-1} and the density p‾\underline p are connected by the equations (∗)(*), or in matrix form (m0=1m_0=1)

(11⋯1x1x2⋯xMx12x22⋯xM2⋮⋮⋮x1M−1x2M−1⋯xMM−1)(p1p2⋮pM)=(1m1⋮mM−1).\begin{pmatrix} 1&1&\cdots&1\\ x_1&x_2&\cdots&x_M\\ x_1^2&x_2^2&\cdots&x_M^2\\ \vdots&\vdots&&\vdots\\ x_1^{M-1}&x_2^{M-1}&\cdots&x_M^{M-1} \end{pmatrix} \begin{pmatrix}p_1\\p_2\\\vdots\\p_M\end{pmatrix} = \begin{pmatrix}1\\m_1\\\vdots\\m_{M-1}\end{pmatrix}.

The matrix is a Vandermonde matrix, invertible if x1,…,xMx_1,\dots,x_M are distinct. Conclusion: given the first M−1M-1 moments it is possible to determine the discrete density of size MM.

Remark (absolutely continuous case). With random variables with absolutely continuous DF (distribution function) the situation is more complicated. To determine fX(x)f_X(x) it is in general necessary to know all the moments mkm_k, k=1,2,…k=1,2,\dots; moreover there are examples of random variables that are not uniquely determined by their moments, i.e. even if the moments mkm_k exist for all kk and are known it might still be impossible to determine fXf_X.

Moment generating function (MGF)

The computation of the moments mk=E(Xk)m_k=E(X^k), k=1,2,…k=1,2,\dots, requires the evaluation of infinitely many integrals (continuous case) or series (discrete case),

mk=∫−∞+∞xkfX(x) dx,mk=∑ixik pX(xi).m_k=\int_{-\infty}^{+\infty}x^kf_X(x)\,dx,\qquad m_k=\sum_i x_i^k\,p_X(x_i).

On the other hand, for the exponential function of XX, from eX=∑k=0∞Xkk!e^X=\sum_{k=0}^\infty\frac{X^k}{k!} and taking the expected value on both sides,

E(eX)=∫exfX(x) dx=∑k=0∞E(Xk)k!.E(e^X)=\int e^xf_X(x)\,dx=\sum_{k=0}^\infty\frac{E(X^k)}{k!}.

The moments E(Xk)E(X^k) are all involved in the computation of the single integral E(eX)E(e^X). How is it possible to extract mk=E(Xk)m_k=E(X^k) from E(eX)E(e^X)?

Definition (MGF). MX:D→R,D⊂R,s↦MX(s)=E(esX),D={s∈R : E(esX) exists}.M_X:D\to\mathbb{R},\quad D\subset\mathbb{R},\qquad s\mapsto M_X(s)=E(e^{sX}),\qquad D=\{s\in\mathbb{R}\,:\,E(e^{sX})\text{ exists}\}.

Remarks.

  1. D≠∅D\neq\emptyset: indeed 0∈D0\in D always, since E(e0⋅X)=1E(e^{0\cdot X})=1.
  2. MX(s)=E(esX)=∫−∞+∞esxfX(x) dxM_X(s)=E(e^{sX})=\int_{-\infty}^{+\infty}e^{sx}f_X(x)\,dx is the bilateral Laplace transform of the density fX(x)f_X(x) limited to s∈Rs\in\mathbb{R}.

Lemma. If (−s0,s0)⊂D(-s_0,s_0)\subset D for some s0>0s_0>0, then all the moments mkm_k exist for k=1,2,…k=1,2,\dots; moreover

mk=E(Xk)=d(k)ds(k)MX(s)∣s=0.m_k=E(X^k)=\frac{d^{(k)}}{ds^{(k)}}M_X(s)\Big|_{s=0}.

Proof. The proof of the existence of all moments if the MGF exists in a neighborhood (−s0,s0)(-s_0,s_0) of the origin is omitted. As for the computation of the moments,

MX(s)=E(esX)=∫esxfX(x) dx=∫(∑k=0∞skxkk!)fX(x) dx=∑k=0∞[∫xkfX(x) dx]skk!=∑k=0∞mkk! sk.M_X(s)=E(e^{sX})=\int e^{sx}f_X(x)\,dx=\int\Big(\sum_{k=0}^\infty\frac{s^kx^k}{k!}\Big)f_X(x)\,dx=\sum_{k=0}^\infty\Big[\int x^kf_X(x)\,dx\Big]\frac{s^k}{k!}=\sum_{k=0}^\infty\frac{m_k}{k!}\,s^k .

Recall that for any power series g(s)=∑k=0∞akskg(s)=\sum_{k=0}^\infty a_ks^k, taking the nn-th derivative on both sides and evaluating at s=0s=0 gives g(n)(0)=n! ang^{(n)}(0)=n!\,a_n. Substituting into the expression of MX(s)M_X(s) one gets d(n)ds(n)MX(s)∣s=0=mn\frac{d^{(n)}}{ds^{(n)}}M_X(s)\big|_{s=0}=m_n. □\square

Example (binomial). Use the lemma to compute E(X)E(X) where X∼Bin(n,p)X\sim\text{Bin}(n,p). First the MGF:

MX(s)=E(esX)=∑k=0nesk(nk)pk(1−p)n−k=∑k=0n(nk)(pes)k(1−p)n−k=(pes+1−p)nM_X(s)=E(e^{sX})=\sum_{k=0}^n e^{sk}\binom nk p^k(1-p)^{n-k}=\sum_{k=0}^n\binom nk(pe^s)^k(1-p)^{n-k}=(pe^s+1-p)^n

(the MGF of the binomial). Then the derivative:

dMXds(s)∣s=0=n(pes+1−p)n−1 pes∣s=0=np=m1=E(X).\frac{dM_X}{ds}(s)\Big|_{s=0}=n(pe^s+1-p)^{n-1}\,pe^s\Big|_{s=0}=np=m_1=E(X).

The MGF can be defined also for discrete (Z\mathbb{Z}-valued) random variables as MX(s)=E(esX)=∑k=−∞+∞eskpX(k)M_X(s)=E(e^{sX})=\sum_{k=-\infty}^{+\infty}e^{sk}p_X(k).

Characteristic function (CF)

The CF is a slight variation on the concept of the MGF which is technically more manageable.

Definition (CF). φX:R→C,ω↦φX(ω)=E(ejωX).\varphi_X:\mathbb{R}\to\mathbb{C},\qquad \omega\mapsto\varphi_X(\omega)=E(e^{j\omega X}).

Remarks.

  1. The explicit definitions of the CF for discrete (Z\mathbb{Z}-valued) and absolutely continuous random variables are respectively

φX(ω)=∑k=−∞+∞ejωk pX(k),φX(ω)=∫−∞+∞ejωxfX(x) dx.\varphi_X(\omega)=\sum_{k=-\infty}^{+\infty}e^{j\omega k}\,p_X(k),\qquad \varphi_X(\omega)=\int_{-\infty}^{+\infty}e^{j\omega x}f_X(x)\,dx .

  1. The CF of an absolutely continuous random variable coincides with the Fourier transform of the density fX(x)f_X(x). If you are used to the definition of the Fourier transform F(fX(x))(ω)=∫e−jωxfX(x) dx\mathcal{F}(f_X(x))(\omega)=\int e^{-j\omega x}f_X(x)\,dx, do not be alarmed: it is a matter of conventions. In probability theory the formulas of the Fourier transform are

φX(ω)=∫−∞+∞ejωxfX(x) dx(Fourier transform),fX(x)=12π∫−∞+∞e−jωxφX(ω) dω(inversion).\varphi_X(\omega)=\int_{-\infty}^{+\infty}e^{j\omega x}f_X(x)\,dx\quad\text{(Fourier transform)},\qquad f_X(x)=\frac1{2\pi}\int_{-\infty}^{+\infty}e^{-j\omega x}\varphi_X(\omega)\,d\omega\quad\text{(inversion)}.

Properties of the CF

(a) Existence. φX(ω)\varphi_X(\omega) exists for all ω∈R\omega\in\mathbb{R}.

Proof. ∣φX(ω)∣=∣∫ejωxfX(x) dx∣≤∫∣ejωx∣fX(x) dx≤∫fX(x) dx=1\big\lvert\varphi_X(\omega)\big\rvert=\Big\lvert\int e^{j\omega x}f_X(x)\,dx\Big\rvert\le\int\big\lvert e^{j\omega x}\big\rvert f_X(x)\,dx\le\int f_X(x)\,dx=1 for all ω∈R\omega\in\mathbb{R}.

(b) φX(0)=E(ej0X)=1\varphi_X(0)=E(e^{j0X})=1 for all XX (trivial).

(c) Since fX(x)f_X(x) is real, the CF φX(ω)\varphi_X(\omega) is hermitian: φX(−ω)=φX(ω)‾\varphi_X(-\omega)=\overline{\varphi_X(\omega)}, a trivial property of Fourier transforms.

(c') If fX(x)f_X(x) is even then φX(ω)\varphi_X(\omega) is real and even.

(d) Theorem of moments. mk=E(Xk)=1jk d(k)dω(k)φX(ω)∣ω=0.m_k=E(X^k)=\frac1{j^k}\,\frac{d^{(k)}}{d\omega^{(k)}}\varphi_X(\omega)\Big|_{\omega=0}.

Proof. Imitate the proof for the MGF. In particular, since φX(ω)=E(ejωX)\varphi_X(\omega)=E(e^{j\omega X}),

ddωφX(ω)∣ω=0=E(jXejωX)∣ω=0=jE(X),d2dω2φX(ω)∣ω=0=E(−X2ejωX)∣ω=0=−E(X2),\frac{d}{d\omega}\varphi_X(\omega)\Big|_{\omega=0}=E(jXe^{j\omega X})\Big|_{\omega=0}=jE(X),\qquad \frac{d^2}{d\omega^2}\varphi_X(\omega)\Big|_{\omega=0}=E(-X^2e^{j\omega X})\Big|_{\omega=0}=-E(X^2),

and so on.

CF of affine transformations

Let Y=aX+bY=aX+b. Then

φY(ω)=E(ejω(aX+b))=ejωb E(ejωaX)=ejωb φX(aω).\varphi_Y(\omega)=E\big(e^{j\omega(aX+b)}\big)=e^{j\omega b}\,E(e^{j\omega aX})=e^{j\omega b}\,\varphi_X(a\omega).

WARNING. If Y=aX+bY=aX+b, avoid the stupid mistake φY(ω)=aφX(ω)+b\varphi_Y(\omega)=a\varphi_X(\omega)+b: the CF is not linear in this sense, the argument is rescaled and a phase factor appears.

CF of the sum of independent random variables

Let Z=X+YZ=X+Y where X,YX,Y are independent. Then

φZ(ω)=φX(ω) φY(ω).\varphi_Z(\omega)=\varphi_X(\omega)\,\varphi_Y(\omega).

Proof. This is a property of Fourier transforms (convolution becomes product) but also trivial to derive probabilistically: φZ(ω)=E(ejω(X+Y))=E(ejωXejωY)=E(ejωX)E(ejωY)=φX(ω)φY(ω)\varphi_Z(\omega)=E(e^{j\omega(X+Y)})=E(e^{j\omega X}e^{j\omega Y})=E(e^{j\omega X})E(e^{j\omega Y})=\varphi_X(\omega)\varphi_Y(\omega). □\square

Corollary. If X1,X2,…,XnX_1,X_2,\dots,X_n are independent then φX1+X2+⋯+Xn(ω)=∏i=1nφXi(ω)\varphi_{X_1+X_2+\dots+X_n}(\omega)=\prod_{i=1}^n\varphi_{X_i}(\omega).

Corollary. If X1,…,XnX_1,\dots,X_n are i.i.d. then φX1+⋯+Xn(ω)=[φX1(ω)]n\varphi_{X_1+\dots+X_n}(\omega)=[\varphi_{X_1}(\omega)]^n.

The CF characterizes the distribution

Remark. The CF characterizes the DF of a random variable in the sense that for any DF (discrete, absolutely continuous or mixed) there is a unique CF and vice versa. The proof is difficult. Note however that, contrary to DFs and densities that are easy to recognize, it is hard to recognize whether a given function is a CF.

Examples

Example 1. X∼b(p)X\sim b(p) (Bernoulli). Then φX(ω)=E(ejωX)=ejω0pX(0)+ejω1pX(1)=1−p+pejω\varphi_X(\omega)=E(e^{j\omega X})=e^{j\omega0}p_X(0)+e^{j\omega1}p_X(1)=1-p+pe^{j\omega}.

Example 2. X∼Bin(n,p)X\sim\text{Bin}(n,p). Then φX(ω)=∑k=0nejωk(nk)pk(1−p)n−k=(1−p+pejω)n\varphi_X(\omega)=\sum_{k=0}^n e^{j\omega k}\binom nkp^k(1-p)^{n-k}=(1-p+pe^{j\omega})^n.

Example 3. If X1,…,XnX_1,\dots,X_n are i.i.d. b(p)b(p), then X=∑i=1nXiX=\sum_{i=1}^nX_i has CF φX(ω)=[φX1(ω)]n=(1−p+pejω)n\varphi_X(\omega)=[\varphi_{X_1}(\omega)]^n=(1-p+pe^{j\omega})^n (Example 1). Comparing with Example 2 we have proved that the sum of nn i.i.d. b(p)b(p) random variables is a Bin(n,p)\text{Bin}(n,p) random variable.

Example 4. Let Z∼N(0,1)Z\sim N(0,1). Then

φZ(ω)=∫12πe−12z2ejωz dz=e−12ω2\varphi_Z(\omega)=\int\frac1{\sqrt{2\pi}}e^{-\frac12z^2}e^{j\omega z}\,dz=e^{-\frac12\omega^2}

(a classical example in Signals and Systems). Note: the page writes the exponent as −jωZ-j\omega Z; by the symmetry of the density the result is the same.

Example 5. Let X∼N(μ,σ2)X\sim N(\mu,\sigma^2). Then

φX(ω)=ejμωφZ(σω)=ejμω−12σ2ω2.\varphi_X(\omega)=e^{j\mu\omega}\varphi_Z(\sigma\omega)=e^{j\mu\omega-\frac12\sigma^2\omega^2}.

Proof. X=σZ+μX=\sigma Z+\mu where Z∼N(0,1)Z\sim N(0,1); now apply the rule for affine transformations.

Lemma (linear combinations of independent Gaussians). Linear combinations of independent gaussian random variables are gaussian.

Proof. Let X∼N(μX,σX2)X\sim N(\mu_X,\sigma_X^2), Y∼N(μY,σY2)Y\sim N(\mu_Y,\sigma_Y^2), X⊥YX\perp Y, and W=αX+βYW=\alpha X+\beta Y. Then

φW(ω)=E(ejωW)=E(ejωαXejωβY)=φX(αω) φY(βω)=ejμXαω−12σX2α2ω2  ejμYβω−12σY2β2ω2=ej(αμX+βμY)ω−12(α2σX2+β2σY2)ω2,\begin{aligned} \varphi_W(\omega)&=E(e^{j\omega W})=E(e^{j\omega\alpha X}e^{j\omega\beta Y})=\varphi_X(\alpha\omega)\,\varphi_Y(\beta\omega)\\ &=e^{j\mu_X\alpha\omega-\frac12\sigma_X^2\alpha^2\omega^2}\;e^{j\mu_Y\beta\omega-\frac12\sigma_Y^2\beta^2\omega^2} =e^{j(\alpha\mu_X+\beta\mu_Y)\omega-\frac12(\alpha^2\sigma_X^2+\beta^2\sigma_Y^2)\omega^2}, \end{aligned}

and the last function is the CF of the gaussian density N(αμX+βμY, α2σX2+β2σY2)N(\alpha\mu_X+\beta\mu_Y,\ \alpha^2\sigma_X^2+\beta^2\sigma_Y^2). □\square

Note: on the page the last exponent shows ω\omega instead of ω2\omega^2 in the final line, a slip; the preceding line fixes it.

Example 6 (sum of i.i.d. exponentials). Let Y=∑i=1nXiY=\sum_{i=1}^nX_i with Xi∼Exp(λ)X_i\sim\text{Exp}(\lambda) i.i.d. The page uses φXi(ω)=λλ−jω\varphi_{X_i}(\omega)=\frac{\lambda}{\lambda-j\omega} as the CF of Exp(λ)\text{Exp}(\lambda).

(a) By independence, φY(ω)=E(ejω∑iXi)=E(∏i=1nejωXi)=∏i=1nE(ejωXi)=(λλ−jω)n.\varphi_Y(\omega)=E\Big(e^{j\omega\sum_iX_i}\Big)=E\Big(\prod_{i=1}^ne^{j\omega X_i}\Big)=\prod_{i=1}^nE(e^{j\omega X_i})=\Big(\frac{\lambda}{\lambda-j\omega}\Big)^n .

(b) By the theorem of moments, E(Yk)=1jkd(k)dω(k)φY(ω)∣ω=0E(Y^k)=\frac1{j^k}\frac{d^{(k)}}{d\omega^{(k)}}\varphi_Y(\omega)\big|_{\omega=0}. With φY(ω)=λn(λ−jω)−n\varphi_Y(\omega)=\lambda^n(\lambda-j\omega)^{-n}:

E(Y)=1j ddω[λn(λ−jω)−n]ω=0=1jλn(−n)(λ−jω)−n−1(−j)∣ω=0=nλnλn+1=nλ,E(Y)=\frac1j\,\frac d{d\omega}\Big[\lambda^n(\lambda-j\omega)^{-n}\Big]_{\omega=0}=\frac1j\lambda^n(-n)(\lambda-j\omega)^{-n-1}(-j)\Big|_{\omega=0}=n\frac{\lambda^n}{\lambda^{n+1}}=\frac n\lambda,

which was trivial to compute directly from the additivity of EE. Moreover

E(Y2)=1j2d2dω2φY(ω)∣ω=0=1j2ddω[jnλn(λ−jω)−n−1]ω=0=−[jnλn(−n−1)(λ−jω)−n−2(−j)]ω=0=(n+1)nλ2,E(Y^2)=\frac1{j^2}\frac{d^2}{d\omega^2}\varphi_Y(\omega)\Big|_{\omega=0}=\frac1{j^2}\frac d{d\omega}\Big[jn\lambda^n(\lambda-j\omega)^{-n-1}\Big]_{\omega=0} =-\Big[jn\lambda^n(-n-1)(\lambda-j\omega)^{-n-2}(-j)\Big]_{\omega=0}=\frac{(n+1)n}{\lambda^2},

and therefore var(Y)=E(Y2)−(E(Y))2=(n+1)n−n2λ2=nλ2\text{var}(Y)=E(Y^2)-(E(Y))^2=\frac{(n+1)n-n^2}{\lambda^2}=\frac n{\lambda^2} (also trivial directly, from the additivity of the variance for independent random variables).

Example 7 (Poisson). Let X∼P(λ)X\sim\mathcal{P}(\lambda). Then

φX(ω)=E(ejωX)=∑k=0∞ejωke−λλkk!=e−λ∑k=0∞(λejω)kk!=e−λeλejω=eλ(ejω−1).\varphi_X(\omega)=E(e^{j\omega X})=\sum_{k=0}^\infty e^{j\omega k}e^{-\lambda}\frac{\lambda^k}{k!}=e^{-\lambda}\sum_{k=0}^\infty\frac{(\lambda e^{j\omega})^k}{k!}=e^{-\lambda}e^{\lambda e^{j\omega}}=e^{\lambda(e^{j\omega}-1)}.

Example 8 (sum of independent Poissons). Let X1,…,XnX_1,\dots,X_n be independent Poisson random variables, Xi∼P(λi)X_i\sim\mathcal{P}(\lambda_i), and Z=∑i=1nXiZ=\sum_{i=1}^nX_i. Clearly pZ=pX1∗pX2∗⋯∗pXnp_Z=p_{X_1}*p_{X_2}*\dots*p_{X_n}, but it is much easier to work with CFs:

φZ(ω)=E(ejω∑Xi)=∏i=1nφXi(ω)=eλ1(ejω−1)⋯eλn(ejω−1)=e(∑iλi)(ejω−1).\varphi_Z(\omega)=E(e^{j\omega\sum X_i})=\prod_{i=1}^n\varphi_{X_i}(\omega)=e^{\lambda_1(e^{j\omega}-1)}\cdots e^{\lambda_n(e^{j\omega}-1)}=e^{(\sum_i\lambda_i)(e^{j\omega}-1)} .

Therefore Z∼P(∑i=1nλi)Z\sim\mathcal{P}\big(\sum_{i=1}^n\lambda_i\big).

Multivariate characteristic function

It is possible, and useful, to define the characteristic function for random vectors. Mathematically this is equivalent to the multidimensional Fourier transform. Only the definition and some basic properties are needed for the time being.

Definition. Let X‾\underline X be an nn-dimensional random vector. The CF of X‾\underline X is

φX‾:Rn→C,ω‾=(ω1,ω2,…,ωn)↦φX‾(ω‾)=E(ejω‾TX‾).\varphi_{\underline X}:\mathbb{R}^n\to\mathbb{C},\qquad \underline\omega=(\omega_1,\omega_2,\dots,\omega_n)\mapsto\varphi_{\underline X}(\underline\omega)=E\big(e^{j\underline\omega^T\underline X}\big).

Remark. In the absolutely continuous case

φX‾(ω‾)=E(ej∑iωiXi)=∫ ⁣ ⁣∫ ⁣⋯ ⁣∫ej(ω1x1+ω2x2+⋯+ωnxn)fX‾(x1,…,xn) dx1⋯dxn.\varphi_{\underline X}(\underline\omega)=E\Big(e^{j\sum_i\omega_iX_i}\Big)=\int\!\!\int\!\cdots\!\int e^{j(\omega_1x_1+\omega_2x_2+\dots+\omega_nx_n)}f_{\underline X}(x_1,\dots,x_n)\,dx_1\cdots dx_n .

WARNING. This is not equal to ∏i=1nE(ejωiXi)=∏i=1nφXi(ωi)\prod_{i=1}^nE(e^{j\omega_iX_i})=\prod_{i=1}^n\varphi_{X_i}(\omega_i) unless the random variables (X1,…,Xn)(X_1,\dots,X_n) are independent.

The multivariate CF φX‾(ω‾)\varphi_{\underline X}(\underline\omega) is useful for the same reasons φX(ω)\varphi_X(\omega) is useful for scalar random variables. In particular φX‾(ω‾)\varphi_{\underline X}(\underline\omega) completely characterizes the DF of a random vector in the general case, i.e. in the discrete, absolutely continuous or mixed cases.

Properties

(a) Existence. φX‾(ω‾)\varphi_{\underline X}(\underline\omega) exists for all ω‾∈Rn\underline\omega\in\mathbb{R}^n, for all X‾\underline X: ∣φX‾(ω‾)∣=∣E(ejω‾TX‾)∣≤E(∣ejω‾TX‾∣)=1\big\lvert\varphi_{\underline X}(\underline\omega)\big\rvert=\big\lvert E(e^{j\underline\omega^T\underline X})\big\rvert\le E\big(\lvert e^{j\underline\omega^T\underline X}\rvert\big)=1.

(b) ∣φX‾(ω‾)∣≤φX‾(0‾)=1\big\lvert\varphi_{\underline X}(\underline\omega)\big\rvert\le\varphi_{\underline X}(\underline0)=1 (it follows from the proof of existence).

(c) Marginals. φXi(ωi)=E(ejωiXi)=φX‾(ω‾)∣ωj=0 for all j≠i\varphi_{X_i}(\omega_i)=E(e^{j\omega_iX_i})=\varphi_{\underline X}(\underline\omega)\big|_{\omega_j=0\ \text{for all}\ j\neq i}. Example: φX1(ω1)=φX1X2(ω1,0)\varphi_{X_1}(\omega_1)=\varphi_{X_1X_2}(\omega_1,0); the proof is trivial just inspecting the definition. This extends to more complicated marginals; example (n=4n=4): φX1X3(ω1,ω3)=φX1X2X3X4(ω1,0,ω3,0)\varphi_{X_1X_3}(\omega_1,\omega_3)=\varphi_{X_1X_2X_3X_4}(\omega_1,0,\omega_3,0).

(d) Moments (case n=2n=2 for notational compactness). Let V‾=(X,Y)T\underline V=(X,Y)^T, φXY(ω1,ω2)=E(ej(ω1X+ω2Y))\varphi_{XY}(\omega_1,\omega_2)=E\big(e^{j(\omega_1X+\omega_2Y)}\big). Then

E(Xk)=1jk∂(k)∂ω1(k)φXY(ω1,ω2)∣(ω1,ω2)=(0,0),E(Yk)=1jk∂(k)∂ω2(k)φXY(ω1,ω2)∣(0,0),E(X^k)=\frac1{j^k}\frac{\partial^{(k)}}{\partial\omega_1^{(k)}}\varphi_{XY}(\omega_1,\omega_2)\Big|_{(\omega_1,\omega_2)=(0,0)},\qquad E(Y^k)=\frac1{j^k}\frac{\partial^{(k)}}{\partial\omega_2^{(k)}}\varphi_{XY}(\omega_1,\omega_2)\Big|_{(0,0)},

E(XkYh)=1jk+h∂(k+h)∂ω1(k) ∂ω2(h)φXY(ω1,ω2)∣(0,0).E(X^kY^h)=\frac1{j^{k+h}}\frac{\partial^{(k+h)}}{\partial\omega_1^{(k)}\,\partial\omega_2^{(h)}}\varphi_{XY}(\omega_1,\omega_2)\Big|_{(0,0)} .

Proof. Imitate the proof of the moments theorem for random variables. The difficult part is to show that there exist as many partial derivatives of φX‾\varphi_{\underline X} as moments of X‾\underline X.

Example (correlation matrix). For V‾=(XY)\underline V=\binom XY the correlation matrix is

RV‾=E(V‾V‾T)=(E(V12)E(V1V2)E(V1V2)E(V22))=−(∂2∂ω12φV‾∂2∂ω1∂ω2φV‾∂2∂ω1∂ω2φV‾∂2∂ω22φV‾)(ω1,ω2)=(0,0).R_{\underline V}=E(\underline V\underline V^T)=\begin{pmatrix}E(V_1^2)&E(V_1V_2)\\E(V_1V_2)&E(V_2^2)\end{pmatrix} =-\begin{pmatrix}\frac{\partial^2}{\partial\omega_1^2}\varphi_{\underline V}&\frac{\partial^2}{\partial\omega_1\partial\omega_2}\varphi_{\underline V}\\[1mm]\frac{\partial^2}{\partial\omega_1\partial\omega_2}\varphi_{\underline V}&\frac{\partial^2}{\partial\omega_2^2}\varphi_{\underline V}\end{pmatrix}_{(\omega_1,\omega_2)=(0,0)} .

(e) CF and independence. Recall that (X1,…,Xn)(X_1,\dots,X_n) are independent iff (definition) their joint DF factorizes as FX1…Xn(x1,…,xn)=FX1(x1)⋯FXn(xn)F_{X_1\dots X_n}(x_1,\dots,x_n)=F_{X_1}(x_1)\cdots F_{X_n}(x_n).

Lemma. (X1,…,Xn)(X_1,\dots,X_n) are independent iff

φX‾(ω‾)=φX1…Xn(ω1,…,ωn)=φX1(ω1)⋯φXn(ωn).\varphi_{\underline X}(\underline\omega)=\varphi_{X_1\dots X_n}(\omega_1,\dots,\omega_n)=\varphi_{X_1}(\omega_1)\cdots\varphi_{X_n}(\omega_n).

Proof. If (X1,…,Xn)(X_1,\dots,X_n) are independent then φX‾(ω‾)=E(ej∑iωiXi)=∏iE(ejωiXi)=∏iφXi(ωi)\varphi_{\underline X}(\underline\omega)=E(e^{j\sum_i\omega_iX_i})=\prod_iE(e^{j\omega_iX_i})=\prod_i\varphi_{X_i}(\omega_i). The other direction is much harder to prove; the proof is omitted.

WARNING. If (X1,…,Xn)(X_1,\dots,X_n) are independent with scalar CFs φXi(ω)\varphi_{X_i}(\omega), one can define two functions: φ1(ω)=∏i=1nφXi(ω)\varphi_1(\omega)=\prod_{i=1}^n\varphi_{X_i}(\omega) and φ2(ω1,…,ωn)=∏i=1nφXi(ωi)\varphi_2(\omega_1,\dots,\omega_n)=\prod_{i=1}^n\varphi_{X_i}(\omega_i), where φ1(ω)=E(ejω(X1+⋯+Xn))\varphi_1(\omega)=E(e^{j\omega(X_1+\dots+X_n)}) is the CF of the scalar random variable S=∑iXiS=\sum_iX_i and φ2(ω1,…,ωn)=E(ej(ω1X1+⋯+ωnXn))\varphi_2(\omega_1,\dots,\omega_n)=E(e^{j(\omega_1X_1+\dots+\omega_nX_n)}) is the CF of the random vector X‾=(X1,…,Xn)T\underline X=(X_1,\dots,X_n)^T with independent components. They are different objects.

(f) Affine transformations of random vectors. Let Y‾=AX‾+b‾\underline Y=A\underline X+\underline b with Y‾∈Rm\underline Y\in\mathbb{R}^m, A∈Rm×nA\in\mathbb{R}^{m\times n}, X‾∈Rn\underline X\in\mathbb{R}^n, b‾∈Rm\underline b\in\mathbb{R}^m. The multivariate CF of Y‾\underline Y (with ω‾∈Rm\underline\omega\in\mathbb{R}^m) is

φY‾(ω‾)=E(ejω‾TY‾)=E(ejω‾T(AX‾+b‾))=ejω‾Tb‾ E(ejω‾TAX‾)=ejω‾Tb‾  φX‾(ATω‾),\varphi_{\underline Y}(\underline\omega)=E\big(e^{j\underline\omega^T\underline Y}\big)=E\big(e^{j\underline\omega^T(A\underline X+\underline b)}\big)=e^{j\underline\omega^T\underline b}\,E\big(e^{j\underline\omega^TA\underline X}\big)=e^{j\underline\omega^T\underline b}\;\varphi_{\underline X}(A^T\underline\omega),

where the two scalar factors can be exchanged, and ATω‾∈RnA^T\underline\omega\in\mathbb{R}^n as it should be to be an argument of φX‾\varphi_{\underline X}. This is the vector version of the scalar rule above and is used in Gaussian Random Vectorsa gaussian vector is defined as an affine transformation of a vector of i.i.d. standard normals, so it is identified by its mean vector and covariance matrix, has a density only when the covariance matrix is invertible, stays gaussian under affine maps, and has independent components exactly when they are uncorrelated.Gaussian Random Vectors →.

Versione ripasso

Moments. mk=E(Xk)m_k=E(X^k), m0=1m_0=1, m1=E(X)m_1=E(X). For a discrete XX with MM distinct values, m0,…,mM−1m_0,\dots,m_{M-1} determine p‾\underline p (Vandermonde matrix invertible). For continuous XX all moments are in general needed, and even all moments may not determine fXf_X.

MGF. MX(s)=E(esX)M_X(s)=E(e^{sX}) on D={s:E(esX) exists}D=\{s: E(e^{sX})\text{ exists}\}, 0∈D0\in D always; bilateral Laplace transform of fXf_X. If (−s0,s0)⊂D(-s_0,s_0)\subset D: all moments exist and mk=MX(k)(0)m_k=M_X^{(k)}(0) (from MX(s)=∑kmkk!skM_X(s)=\sum_k\frac{m_k}{k!}s^k and g(n)(0)=n!ang^{(n)}(0)=n!a_n). Binomial: MX(s)=(pes+1−p)nM_X(s)=(pe^s+1-p)^n, MX′(0)=npM_X'(0)=np.

CF. φX(ω)=E(ejωX)\varphi_X(\omega)=E(e^{j\omega X}), ω∈R\omega\in\mathbb{R}; discrete: ∑kejωkpX(k)\sum_ke^{j\omega k}p_X(k); continuous: ∫ejωxfX(x) dx\int e^{j\omega x}f_X(x)\,dx (Fourier transform, probabilistic convention); inversion fX(x)=12π∫e−jωxφX(ω) dωf_X(x)=\frac1{2\pi}\int e^{-j\omega x}\varphi_X(\omega)\,d\omega.

Properties.

  • Always exists: ∣φX(ω)∣≤1\lvert\varphi_X(\omega)\rvert\le1; φX(0)=1\varphi_X(0)=1.
  • Hermitian: φX(−ω)=φX(ω)‾\varphi_X(-\omega)=\overline{\varphi_X(\omega)}; fXf_X even ⇒\Rightarrow φX\varphi_X real and even.
  • Moments: E(Xk)=1jkφX(k)(0)E(X^k)=\frac1{j^k}\varphi_X^{(k)}(0) (so φX′(0)=jE(X)\varphi_X'(0)=jE(X), φX′′(0)=−E(X2)\varphi_X''(0)=-E(X^2)).
  • Affine: Y=aX+b⇒φY(ω)=ejωbφX(aω)Y=aX+b\Rightarrow\varphi_Y(\omega)=e^{j\omega b}\varphi_X(a\omega). Not aφX+ba\varphi_X+b.
  • Independent sum: φX+Y=φXφY\varphi_{X+Y}=\varphi_X\varphi_Y; nn independent: product; nn i.i.d.: [φX1]n[\varphi_{X_1}]^n.
  • Characterizes the distribution (unique CF for each DF and vice versa); hard to recognize whether a function is a CF.

Table of results.

  • Bernoulli b(p)b(p): 1−p+pejω1-p+pe^{j\omega}. Bin(n,p)\text{Bin}(n,p): (1−p+pejω)n(1-p+pe^{j\omega})^n, so the sum of nn i.i.d. b(p)b(p) is Bin(n,p)\text{Bin}(n,p).
  • N(0,1)N(0,1): e−12ω2e^{-\frac12\omega^2}. N(μ,σ2)N(\mu,\sigma^2): ejμω−12σ2ω2e^{j\mu\omega-\frac12\sigma^2\omega^2}.
  • Independent Gaussians: αX+βY∼N(αμX+βμY, α2σX2+β2σY2)\alpha X+\beta Y\sim N(\alpha\mu_X+\beta\mu_Y,\ \alpha^2\sigma_X^2+\beta^2\sigma_Y^2).
  • Exp(λ)\text{Exp}(\lambda): λλ−jω\frac\lambda{\lambda-j\omega}; sum of nn i.i.d.: (λλ−jω)n(\frac\lambda{\lambda-j\omega})^n, mean nλ\frac n\lambda, variance nλ2\frac n{\lambda^2} (via E(Y2)=(n+1)nλ2E(Y^2)=\frac{(n+1)n}{\lambda^2}).
  • P(λ)\mathcal{P}(\lambda): eλ(ejω−1)e^{\lambda(e^{j\omega}-1)}; independent P(λi)\mathcal{P}(\lambda_i) sum to P(∑λi)\mathcal{P}(\sum\lambda_i).

Multivariate CF. φX‾(ω‾)=E(ejω‾TX‾)\varphi_{\underline X}(\underline\omega)=E(e^{j\underline\omega^T\underline X}), ω‾∈Rn\underline\omega\in\mathbb{R}^n; exists always, ∣φX‾∣≤φX‾(0‾)=1\lvert\varphi_{\underline X}\rvert\le\varphi_{\underline X}(\underline0)=1; characterizes the joint DF.

  • Marginals: set the other ωj=0\omega_j=0, e.g. φX1(ω1)=φX1X2(ω1,0)\varphi_{X_1}(\omega_1)=\varphi_{X_1X_2}(\omega_1,0).
  • Moments: E(XkYh)=1jk+h∂ω1k∂ω2hφXY(0,0)E(X^kY^h)=\frac1{j^{k+h}}\partial_{\omega_1}^k\partial_{\omega_2}^h\varphi_{XY}(0,0); RV‾=−(Hessian of φV‾ at 0)R_{\underline V}=-\text{(Hessian of }\varphi_{\underline V}\text{ at }0).
  • Independence iff φX‾(ω‾)=∏iφXi(ωi)\varphi_{\underline X}(\underline\omega)=\prod_i\varphi_{X_i}(\omega_i) (the "if" direction is hard, proof omitted).
  • Affine: Y‾=AX‾+b‾⇒φY‾(ω‾)=ejω‾Tb‾φX‾(ATω‾)\underline Y=A\underline X+\underline b\Rightarrow\varphi_{\underline Y}(\underline\omega)=e^{j\underline\omega^T\underline b}\varphi_{\underline X}(A^T\underline\omega).

Typical mistakes. φaX+b=aφX+b\varphi_{aX+b}=a\varphi_X+b; using ∏iφXi(ωi)\prod_i\varphi_{X_i}(\omega_i) for the multivariate CF without independence; confusing ∏iφXi(ω)\prod_i\varphi_{X_i}(\omega) (CF of the scalar sum) with ∏iφXi(ωi)\prod_i\varphi_{X_i}(\omega_i) (CF of the vector); forgetting that φ\varphi is complex-valued while the MGF may fail to exist away from 00.

Teoria collegata