Salta al contenuto
Note per Studenti Stochastic Processes Report

Stochastic Processes

In questa pagina 7

Introduction

We have started the study of sequences of random variables, concentrating on the long term behavior of (Xn)(X_n) according to several criteria (in distribution, in probability, in mean, ...). From our point of view a sequence of random variables (Xn)(X_n) is a natural model of a discrete time signal with uncertain values. The objective of the last lectures is to introduce the theory of discrete time (and continuous time) uncertain signals and their transformations through linear time invariant (LTI) systems.

Definition (stochastic process, SP). A stochastic process is a family (Xs)s∈S(X_s)_{s\in S} of random variables Xs:(Ω,F,P)→Xfor all s∈S,X_s:(\Omega,\mathcal F,P)\to\mathcal X\quad\text{for all } s\in S, where S⊆RS\subseteq\mathbb R (continuous time) or S⊆ZS\subseteq\mathbb Z (discrete time), and X=R\mathcal X=\mathbb R (continuous values) or X⊂R\mathcal X\subset\mathbb R discrete. The index ss is interpreted as time.

Classification (with examples)

  1. S=ZS=\mathbb Z, X\mathcal X discrete. The typical example is a physical signal sampled and quantized. An even more basic example is a stream of bits (S=NS=\mathbb N, X={0,1}\mathcal X=\{0,1\}). The sketch on the page shows one possible trajectory: isolated points XnX_n at integer times nn, on a grid of discrete levels.
  2. S=ZS=\mathbb Z, X\mathcal X continuous. These are probabilistic versions of the usual discrete time signals (sketch: isolated points at integer times, with arbitrary real values).
  3. S=RS=\mathbb R, X\mathcal X discrete. Typically a monitoring signal (sketch: one trajectory switching between two levels, piecewise constant).
  4. S=RS=\mathbb R, X=R\mathcal X=\mathbb R. The probabilistic version of a continuous time signal (sketch: one continuous curve XtX_t).

Stochastic processes as maps

It is useful to interpret a stochastic process as a function of two variables, ss and ω\omega: Xs:S×Ω→X,(s,ω)⟼Xs(ω).X_s:S\times\Omega\to\mathcal X,\qquad(s,\omega)\longmapsto X_s(\omega). (The page sketches the sample space Ω\Omega with two outcomes ω1,ω2\omega_1,\omega_2, each mapped to a different trajectory in the plane with axes ss and X\mathcal X, here drawn for S=RS=\mathbb R, X=R\mathcal X=\mathbb R.)

  • For ωˉ\bar\omega fixed: (s,ωˉ)↦Xs(ωˉ)(s,\bar\omega)\mapsto X_s(\bar\omega) is a time signal.
  • For sˉ\bar s fixed: (sˉ,ω)↦Xsˉ(ω)(\bar s,\omega)\mapsto X_{\bar s}(\omega) is a random variable.

The function of time Xs(ωˉ)X_s(\bar\omega) is called a realization (or trajectory) of the process (Xs)(X_s).

Probabilistic characterization

(Xs)s∈S(X_s)_{s\in S} is a family of random variables. To give it a probabilistic description means to give the information needed to compute the probability of every event that can be defined in terms of the (Xs)s∈S(X_s)_{s\in S}. Examples:

  • E1≜[max⁡1≤n≤10∣Xn∣≤1]=⋂n=110[ ∣Xn∣≤1 ]E_1\triangleq\left[\max_{1\le n\le10}|X_n|\le1\right]=\bigcap_{n=1}^{10}[\,|X_n|\le1\,]: to compute P(E1)P(E_1) the knowledge of FX1,…,X10F_{X_1,\dots,X_{10}} is needed.
  • max⁡s∈SP(∣Xs∣≤1)\max_{s\in S}P(|X_s|\le1): to compute this quantity FXsF_{X_s} is needed for all s∈Ss\in S.
  • P(Xs1+Xs2+Xs3≤a)P(X_{s_1}+X_{s_2}+X_{s_3}\le a): to compute this probability FXs1Xs2Xs3F_{X_{s_1}X_{s_2}X_{s_3}} is needed.
  • E(Xs)E(X_s), var⁡(Xs)\operatorname{var}(X_s), E(Xs3)E(X_s^3), ...: to compute all of these parameters FXsF_{X_s} is needed.

In general the complete probabilistic description of a SP requires the knowledge (assignment) of the family of all finite dimensional distributions FXs1Xs2⋯Xsn(x1,x2,…,xn):Rn→[0,1]for all n≥1, s1,…,sn∈S, x1,…,xn∈R.F_{X_{s_1}X_{s_2}\cdots X_{s_n}}(x_1,x_2,\dots,x_n):\mathbb R^n\to[0,1]\qquad\text{for all } n\ge1,\ s_1,\dots,s_n\in S,\ x_1,\dots,x_n\in\mathbb R . The DFs must be assigned respecting all the marginalization constraints, e.g. FXs1(x1)=FXs1Xs2(x1,+∞), etc.F_{X_{s_1}}(x_1)=F_{X_{s_1}X_{s_2}}(x_1,+\infty),\ \text{etc.} It is very rare to have so much information about a SP. In practice much less information is available, as specified below.

Parameters of a stochastic process

The following functions of ss represent the most basic information about the behavior in time (s)(s) of a SP (Xs)(X_s).

  • Mean (function): mX(s)≜E(Xs)m_X(s)\triangleq E(X_s).
  • Average power or statistical power (function): MX(s)≜E(Xs2)M_X(s)\triangleq E(X_s^2).
  • Variance (function): σX2(s)≜E((Xs−mX(s))2)\sigma_X^2(s)\triangleq E\big((X_s-m_X(s))^2\big). (The page writes the symbol as σX(s)\sigma_X(s); it is the variance, as the later formulas confirm, e.g. σX2(n)=var⁡(Xn)\sigma_X^2(n)=\operatorname{var}(X_n).)

Note that mX(s)m_X(s), MX(s)M_X(s) and σX2(s)\sigma_X^2(s) can all be computed knowing FXsF_{X_s} for all s∈Ss\in S.

  • Autocorrelation (function): rX(s1,s2)≜E(Xs1Xs2)r_X(s_1,s_2)\triangleq E(X_{s_1}X_{s_2}).
  • Autocovariance (function): KX(s1,s2)≜E((Xs1−mX(s1))(Xs2−mX(s2)))K_X(s_1,s_2)\triangleq E\big((X_{s_1}-m_X(s_1))(X_{s_2}-m_X(s_2))\big).

rX(s1,s2)r_X(s_1,s_2) and KX(s1,s2)K_X(s_1,s_2) can be computed from the knowledge of FXs1Xs2F_{X_{s_1}X_{s_2}} for all s1,s2∈Ss_1,s_2\in S.

Remark. rX(s,s)=MX(s),KX(s,s)=σX2(s).r_X(s,s)=M_X(s),\qquad K_X(s,s)=\sigma_X^2(s).

Lemma. If MX(s)<∞M_X(s)<\infty for all s∈Ss\in S, then all the parameters mX(s)m_X(s), σX2(s)\sigma_X^2(s), rX(s1,s2)r_X(s_1,s_2), KX(s1,s2)K_X(s_1,s_2) exist for all s,s1,s2s,s_1,s_2.

Proof. By the Cauchy-Schwarz inequality, mX(s)=E(Xs)=E(Xs⋅1)≤E(Xs2) E(12)=MX(s),m_X(s)=E(X_s)=E(X_s\cdot1)\le\sqrt{E(X_s^2)\,E(1^2)}=\sqrt{M_X(s)}, σX2(s)=MX(s)−mX2(s),\sigma_X^2(s)=M_X(s)-m_X^2(s), rX(s1,s2)=E(Xs1Xs2)≤E(Xs12)E(Xs22)=MX(s1)MX(s2).r_X(s_1,s_2)=E(X_{s_1}X_{s_2})\le\sqrt{E(X_{s_1}^2)E(X_{s_2}^2)}=\sqrt{M_X(s_1)M_X(s_2)}. The covariance KXK_X then exists because it is a combination of rXr_X and mXm_X. □\square

Remark. MX(s)<∞M_X(s)<\infty does not imply, for example, that E(Xs3)E(X_s^3) exists.

Second order processes

A second order process is a SP (Xs)(X_s) for which all the parameters mX(s)m_X(s), MX(s)M_X(s), σX2(s)\sigma_X^2(s), rX(s1,s2)r_X(s_1,s_2) and KX(s1,s2)K_X(s_1,s_2) exist. A sufficient condition for a SP to be second order is that MX(s)<∞M_X(s)<\infty for all ss.

The description of a second order process is usually limited to its mean function mX(s)m_X(s) and autocorrelation function rX(s1,s2)r_X(s_1,s_2). These two functions contain all the information needed to compute the parameters of the random vectors X‾=(Xs1,…,Xsn)T\underline X=(X_{s_1},\dots,X_{s_n})^T for all n∈Nn\in\mathbb N, s1,…,sn∈Rs_1,\dots,s_n\in\mathbb R. E.g. E(X‾)=(mX(s1)⋮mX(sn)),RX‾=E(X‾ X‾T)=(rX(s1,s1)⋯rX(s1,sn)⋮⋮rX(sn,s1)⋯rX(sn,sn)).E(\underline X)=\begin{pmatrix}m_X(s_1)\\ \vdots\\ m_X(s_n)\end{pmatrix},\qquad R_{\underline X}=E(\underline X\,\underline X^T)=\begin{pmatrix}r_X(s_1,s_1)&\cdots&r_X(s_1,s_n)\\ \vdots&&\vdots\\ r_X(s_n,s_1)&\cdots&r_X(s_n,s_n)\end{pmatrix}.

For weak stationarity (the most important special case) see Weakly Stationary Processesa second order process is weakly stationary when its mean is constant and its autocorrelation depends only on the time difference; this note gives the equivalent conditions, consequences, symmetry of the autocorrelation, an example and the Toeplitz structure of covariance matrices.Weakly Stationary Processes →.

Gaussian stochastic processes

A process (Xs)(X_s) such that all the vectors W‾≜(Xs1,Xs2,…,Xsn)\underline W\triangleq(X_{s_1},X_{s_2},\dots,X_{s_n}) (for all n≥1n\ge1 and all s1,s2,…,sns_1,s_2,\dots,s_n) are Gaussian is called a Gaussian SP.

If this is the case, then XsX_s is a Gaussian random variable for all s∈Ss\in S and MX(s)=E(Xs2)<∞M_X(s)=E(X_s^2)<\infty for all s∈Ss\in S. A Gaussian process is therefore automatically a second order process.

Notice that for a Gaussian SP the joint DF of each vector W‾\underline W is completely specified by its multivariate CF φW‾(ω1,ω2,…,ωn)=e jω‾Tμ‾W‾−12ω‾TΣW‾ω‾,\varphi_{\underline W}(\omega_1,\omega_2,\dots,\omega_n)=e^{\,j\underline\omega^T\underline\mu_{\underline W}-\frac12\underline\omega^T\Sigma_{\underline W}\underline\omega}, where μ‾W‾=(mX(s1),…,mX(sn))T,ΣW‾=(KX(s1,s1)⋯KX(s1,sn)⋮⋮KX(sn,s1)⋯KX(sn,sn)).\underline\mu_{\underline W}=\big(m_X(s_1),\dots,m_X(s_n)\big)^T,\qquad\Sigma_{\underline W}=\begin{pmatrix}K_X(s_1,s_1)&\cdots&K_X(s_1,s_n)\\ \vdots&&\vdots\\ K_X(s_n,s_1)&\cdots&K_X(s_n,s_n)\end{pmatrix}. So for a Gaussian process the mean function and the autocovariance function (equivalently mean and autocorrelation) are a complete probabilistic description.

Versione ripasso

Definition. SP == family (Xs)s∈S(X_s)_{s\in S} of random variables Xs:(Ω,F,P)→XX_s:(\Omega,\mathcal F,P)\to\mathcal X; S⊆RS\subseteq\mathbb R continuous time, S⊆ZS\subseteq\mathbb Z discrete time; X\mathcal X continuous or discrete. Four types: (SS discrete/continuous) ×\times (X\mathcal X discrete/continuous).

Two-variable view. Xs(ω)X_s(\omega): fixed ωˉ\bar\omega gives a time signal (a realization), fixed sˉ\bar s gives a random variable.

Full description. All finite dimensional distributions FXs1⋯XsnF_{X_{s_1}\cdots X_{s_n}}, consistent under marginalization (e.g. FXs1(x1)=FXs1Xs2(x1,+∞)F_{X_{s_1}}(x_1)=F_{X_{s_1}X_{s_2}}(x_1,+\infty)). Rarely available.

Parameters.

  • mean mX(s)=E(Xs)m_X(s)=E(X_s); average power MX(s)=E(Xs2)M_X(s)=E(X_s^2); variance σX2(s)=MX(s)−mX2(s)\sigma_X^2(s)=M_X(s)-m_X^2(s);
  • autocorrelation rX(s1,s2)=E(Xs1Xs2)r_X(s_1,s_2)=E(X_{s_1}X_{s_2}); autocovariance KX(s1,s2)=rX(s1,s2)−mX(s1)mX(s2)K_X(s_1,s_2)=r_X(s_1,s_2)-m_X(s_1)m_X(s_2);
  • rX(s,s)=MX(s)r_X(s,s)=M_X(s), KX(s,s)=σX2(s)K_X(s,s)=\sigma_X^2(s).

Lemma. MX(s)<∞ ∀s⇒M_X(s)<\infty\ \forall s\Rightarrow all parameters exist (Cauchy-Schwarz: ∣mX∣≤MX|m_X|\le\sqrt{M_X}, ∣rX(s1,s2)∣≤MX(s1)MX(s2)|r_X(s_1,s_2)|\le\sqrt{M_X(s_1)M_X(s_2)}). Does not give E(Xs3)E(X_s^3).

Second order process: all parameters exist; described by mX(s)m_X(s) and rX(s1,s2)r_X(s_1,s_2), which give mean vector and correlation matrix R=E(X‾X‾T)=[rX(si,sj)]R=E(\underline X\underline X^T)=[r_X(s_i,s_j)] of every (Xs1,…,Xsn)(X_{s_1},\dots,X_{s_n}).

Gaussian SP. All (Xs1,…,Xsn)(X_{s_1},\dots,X_{s_n}) Gaussian; automatically second order. CF φW‾(ω‾)=ejω‾Tμ‾−12ω‾TΣω‾\varphi_{\underline W}(\underline\omega)=e^{j\underline\omega^T\underline\mu-\frac12\underline\omega^T\Sigma\underline\omega} with μ‾=(mX(si))\underline\mu=(m_X(s_i)), Σ=[KX(si,sj)]\Sigma=[K_X(s_i,s_j)]: mean and autocovariance determine everything.

Typical mistakes. Confusing rXr_X (no mean subtracted) with KXK_X; thinking MX<∞M_X<\infty gives higher moments; forgetting that a full description needs all finite dimensional DFs, not just the marginals FXsF_{X_s}.

Teoria collegata