Some Models of Random Processes

Bernoulli RP - Poisson RP - Markov RP

Functions that depend on time as well as on one or more random variables serve as models for signals that convey information in various situations. Because of this, it is necessary in many design studies to develop mathematical and computational models of these processes. This allows us to develop tractable analytical problems and to pursue simulation studies of system performance. Such studies span the majority of subdisciplines within Electrical and Computer engineering ranging from the design of automatic control systems to the design of server networks in advanced computer systems.

Our goal for the next few weeks will be study three processes; the Bernoulli Random Process, the Poisson Random Process and the Markov Random Process. If time permits, we will also look at the simulation of the Gaussian or normal random process although we will focus on this process more extensively as we study the next chapter of the textbook.

The Bernoulli Random Process

The Bernoulli Random Process (a.k.a. Binary White Noise) provides a relatively simple introduction to our current topic and we shall use it to "wet our appetite" for the complexities to follow. This type of model is utilized to represent certain types of data in telecommunication systems such as Pulse Code Modulated signals where the transition betwween pulses occurs as discrete, uniformly spaced time intervals.

This random process falls into the class of discrete random sequences. The member functions of the random process, X(nT) assume only one of two values, typically +1 or -1. The probability of +1 is denoted as p, and the probability if -1 is denoted as q=1-p. (i.e. P(1)=p, P(-1)=1-p) When p=q=0.5, the process is known as binary white noise.

From a computational perspective it is easy to model. If we can generate a uniformly distributed random variable, then we can "switch" a random signal between +1 or -1 according to the magnitude of the uniform RV. If the RV is less than q, we make the signal values -1, if it is greater than q, we make the signal value +1.

The MATLAB code below (available on the ftp site as bernproc.m) accomplishes this task.


 

%
% A Bernoulli Process Model
%

clear all;close all;clc

% Set up uniform random variable

t=[0:1:20];
x1=rand(21,1);

% Define probabilities for the Bernoulli Random Process

p=.4;q=1-p;

% Model the process

x2=x1-q;
x3=sign(x2);

% Plot the results

figure
subplot(311);stem(t,x1);grid
subplot(312);stem(t,x2);grid
subplot(313);stairs(t,x3);grid;axis([0 20 -1.5 1.5])

 


The first trace here shows a uniformly distributed random variable over the interval [0,1]. The second trace shows a shifted version of this data so that P(X<0)=q and the P(X>0)=p.

The third trace is a member function of the Bernoulli random process with p=0.4 in this case. This means that, if we generate many more member functions for the process and sample the functions at any time t = t1, then the probability that the value of the member functions is +1 will be 0.4, and the probability that the value of the member functions will be -1 is 0.6. If we select a different time t = t2, this will still be the case. Since we would expect this to be true for all t1 and t2, the random process here is stationary. Note that we can generate another realization of this process simply by running the m-file again. The randomness of the simulation is developed by using the unfrm random number generator in MATLAB.

Go back?


The Poisson Random Process

The Poisson Random Variable

The Poisson random variable is one example of a discrete random variable. The random variable takes on integer values greater than or equal to zero. It is related to several other random variables such as the binomial RV and the m-Erlang RV.

Essentially, the Poisson RV models experiments or events for which there are only two possible outcomes. We can think of this in terms of the success or failure of a particular outcome, or in terms of the occurence of a distinct event or the lack thereof. The Poisson probability distribution, the probability density function and the cumulative probability distribution functions are then expressed as,

Modeling the pdf in MATLAB is a relatively straightforward task. We simply select a range of integer values for X beginning with x=0, set the variable parameter, alpha, to some positive real value, and then calculate the discrete probabilities for each value of X. The following m-file (available on ftp as poisrv.m) models the pdf and the cumulative proability density function.



Mean and Variance of the Poisson RV

The mean and variance of the Poisson random variable are determined in the usual way. The expectation operation involves an infinite sum, similar to that encountered in the corresponding calculations with the geometric RV we examined earlier. The essential results are,


The Poisson Random Process

Basic Ideas

The Poisson random process, as you might expect, is related to the Poisson random variable. It is typically used to models situations in which we expect a finite number of occurences of a particular event within some specified time interval. The practical examples described in the text include an analysis of a data communication problem for a PC or workstation, and an analysis of a telecommunication problem involving a packet transmission system. We will pursue these problems as our next homework assignment.

Definition

A Poisson Random Process, X(t), can de defined as follows. Let X(t) be the number of events in the time interval [0,t] for t > 0. Let i denote the number of events in the interval (the Poisson RV) and X(0) = 0. The number of calls in the interval [0,t] is described by a Poisson probability density function. We let the process be memoryless so that it does not matter when t begins or when we beging to count the number of events.

Derivation

The use of the Poisson pdf to represent problems of this type is based on the following mathematical arguments.

 

Modeling the process in MATLAB

What do we need to specify?

Example 5.16. Providing some numbers to work with.

How do we construct the model?

How should we interpret the results?

Some questions for you to ponder


Go back?


The Markov Random Process