Unit 5 - Notes
ECE180
Unit 5: Stochastic Processes
1. The Stochastic Process Concept
A Stochastic Process (or Random Process) is a mathematical model used to describe systems that evolve probabilistically over time. Unlike a single random variable which maps an outcome to a number, a stochastic process maps an outcome to a function of time.
1.1 Definition
Let be the sample space of a random experiment. For every outcome , we assign a function of time . The family of all such functions is called a stochastic process, denoted as .
1.2 Interpretations of
Depending on which variables are fixed, represents different things:
- fixed, fixed: A single number (a specific value at a specific time).
- fixed, variable: A Random Variable (the state of the process at time ).
- variable, fixed: A Sample Path or Realization (a single deterministic waveform).
- variable, variable: The Stochastic Process itself.
2. Classification of Processes
Stochastic processes are classified based on the nature of the time parameter () and the random variable values ().
2.1 Continuous vs. Discrete
- Continuous-Time, Continuous-State: is continuous, and can take any value in a continuous range. (e.g., Thermal noise voltage).
- Discrete-Time, Continuous-State: exists only at integers (), but is continuous. Also called a Random Sequence. (e.g., Sampled speech signal).
- Continuous-Time, Discrete-State: is continuous, but assumes discrete values. (e.g., A random telegraph signal).
- Discrete-Time, Discrete-State: Both time and amplitude are discrete. (e.g., Outcome of a coin toss sequence).
2.2 Deterministic and Nondeterministic Processes
- Deterministic Process: A process is deterministic if future values of any sample function can be predicted exactly from past values.
- Example: , where and are constants and is a random variable. Once a realization occurs (fixing ), the entire future is known.
- Nondeterministic (Random) Process: A process where future values cannot be exactly predicted from observed past values. There is always inherent uncertainty.
- Example: Background static noise in a radio receiver.
3. Distribution and Density Functions
Since a stochastic process is a family of random variables, it is characterized by probability distribution functions (CDFs) and probability density functions (PDFs).
3.1 First-Order Distribution
For a specific time , is a random variable.
- CDF:
- PDF:
3.2 Second-Order Distribution
For two specific times and :
- Joint CDF:
- Joint PDF:
3.3 Nth-Order Distribution
Ideally, a process is fully described by its -th order joint PDF for any and any set of times .
3.4 Statistical Independence
Two processes and are statistically independent if the joint distribution of any group of random variables from and factorizes into the product of their marginal distributions.
- Simplest case (First order independence):
4. Stationarity
Stationarity refers to the time-invariance of the statistical properties of a process.
4.1 Strict-Sense Stationarity (SSS)
A process is SSS if its statistical properties are invariant to a shift in the time origin.
for any time shift .
- Consequence: The first-order PDF is independent of time (), implying the mean and variance are constants.
4.2 Wide-Sense Stationarity (WSS)
SSS is difficult to prove in practice. WSS is a weaker, more practical condition based only on the first two moments. A process is WSS if:
- Constant Mean: The expected value is constant for all .
- Autocorrelation depends only on time difference: The autocorrelation function depends only on .
Note: All SSS processes are WSS (provided second moments exist), but not all WSS processes are SSS. Gaussian processes are the exception where WSS implies SSS.
5. Ergodicity
Ergodicity deals with the relationship between Ensemble Averages (statistical expectations) and Time Averages.
5.1 Concept
In many physical measurements, we cannot observe the infinite ensemble of a process. We only observe one sample path over time. A process is Ergodic if time averages of a single sample path converge to the corresponding ensemble averages as the observation time goes to infinity.
5.2 Mean-Ergodic Processes
A process is mean-ergodic if the time average equals the ensemble mean.
- Time Average:
- Ergodic Condition:
For WSS processes, a sufficient condition for mean ergodicity is related to the autocovariance :
Generally simplified: If as , the process is often mean-ergodic.
6. Correlation and Covariance Functions
These functions measure the dependence between values of the process at different times.
6.1 Autocorrelation Function ()
Describes the correlation of a process with itself at two different times and .
Properties for WSS Processes ():
- Maximum at Origin: .
- Even Symmetry: .
- Average Power: (Mean Square Value).
- Periodicity: If is periodic, is periodic with the same period.
6.2 Autocovariance Function ()
Measures the correlation of the centered process (mean removed).
- Relationship: .
- For WSS: .
- Variance: .
6.3 Cross-Correlation Function ()
Describes the correlation between two different processes and .
If jointly WSS, .
Properties:
- Symmetry: .
- Bounds: .
- Orthogonality: If for all , processes are orthogonal.
- Uncorrelated: If (implying ), processes are uncorrelated.
7. Power Spectrum (Power Spectral Density - PSD)
The PSD describes how the power of a random process is distributed across frequency.
7.1 Definition
For a WSS process , the Power Spectral Density is the Fourier Transform of the Autocorrelation function.
7.2 Properties of Power Spectrum
- Real and Non-negative: for all .
- Even Function: (for real-valued processes).
- Total Average Power: The area under the PSD curve represents the total average power of the process.
- Power in a Band: The power within frequency band to is given by integrating over that band.
7.3 Relationship between Power Spectrum and Autocorrelation (Wiener-Khinchin Theorem)
The PSD and the Autocorrelation function form a Fourier Transform pair:
- Forward:
- Inverse:
This is a fundamental theorem linking the time-domain statistics (correlation) to frequency-domain characteristics (spectrum).
8. Cross-Power Density Spectrum
The Cross-PSD describes the power spectral relationship (interaction) between two processes and .
8.1 Definition
The Cross-Power Spectrum is the Fourier Transform of the Cross-correlation function .
8.2 Properties of Cross-Power Spectrum
- Complex Valued: Unlike Auto-PSD, is generally complex.
- Conjugate Symmetry: (where denotes complex conjugate).
- Orthogonal Processes: If and are orthogonal, .
- Uncorrelated Processes: If and are uncorrelated with non-zero means, .
8.3 Relationship between Cross-Power Spectrum and Cross-Correlation
They form a Fourier Transform pair:
This relationship allows the analysis of how frequency components of one process relate to the frequency components of another process.