# Connexions

You are here: Home » Content » Random Processes: Mean and Variance

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

# Random Processes: Mean and Variance

Module by: Michael Haag. E-mail the author

Summary: (Blank Abstract)

Note: You are viewing an old version of this document. The latest version is available here.

In order to study the characteristics of a random process, let us look at some of the basic properties and operations of a random process. Below we will focus on the operations of the random signals that compose our random processes. We will denote our random process with XX and a random variable from a random process or signal by xx.

## Mean Value

Finding the average value of a set of random signals or random variables is probably the most fundamental concepts we use in evaluating random processes through any sort of statistical method. The mean of a random process is the average of all realizatins of that process. In order to find this average, we must look at a random signal over a range of time (possible values) and determine our average from this set of values. The mean, or average, of a discrete random process, xn xn , is given by the following equation:

m x n= μ x n=X-=EX=xfxd x m x n μ x n X E X x x f x
(1)
This equation may seem quite cluttered at first glance, but we want to introduce you to the various notations used to represent the mean of a random signal or process. Throughout texts and other readings, remember that these will all equal the same thing. The symbol, μ x n μ x n , and the X X with a bar over it are often used as a short-hand to represent an average, so you might see it in certain textbooks. The other important notation used is, EX E X , which represents the "expected value of X" or the mathematical expectation. This notation is very common and will appear again.

If the random variables, which make up our random process, are discrete or quantized values, such as in a binary process, then the integrals become summations over all the possiblve values of the random variable. In this case, our expected value becomes

Exn=xα Prxn=α E x n x α  Pr x n α
(2)
If we have two random signals or variables, their averages can reveal how the two signals interact. If the product of the two individual average of both signals do not equal the average of the product of the two signals, then the two signals are said to be linearly independent, also referred to as uncorrelated.

### Properties of the Mean

• The expected value of a constant, α α, is the constant:
Eα=α E α α
(3)
• Adding a constant, α α, to each term increases the expected value by that constant:
EX+α=EX+α E X α E X α
(4)
• Multiplying the random variable by a constant, α α, multiplies the expected value by that constant.
EαX=αEX E α X α E X
(5)
• The expected value of the sum of two or more random variables, is the sum of each individual expected value.
EX+Y=EX+EY E X Y E X E Y
(6)

## Mean-Square Value

If we look at the second moment of the term (we now look at x2 x 2 in the integral), then we will have the mean-square value of our random process. As you would exepct, this is written as

X2-=EX2=x2fxd x X 2 E X 2 x x 2 f x
(7)
This equation is also often referred to as the average power of a process or signal.

## Variance

Now that we have an idea about the average value or values that a random process takes, we are often interested in seeing just how spread out the different random values might be. To do this, we look at the variance which is a measure of this spread. The variance, often denoted by σ2 σ 2 , is written as follows:

σ2=VarX=EXEX2=xX-2fxd x σ 2 Var X E X E X 2 x x X 2 f x
(8)
Using the rules for the expected value, we can rewrite this formula as the following form, which is commonly seen:
σ2=X2-X-2=EX2EX2 σ 2 X 2 X 2 E X 2 E X 2
(9)

### Standard Deviation

Another common statisical tool is the standard deviation. Once you know how to calculate the variance, the standard deviation is simply the square root of the variance, or σ σ.

### Properties of Variance

• The variance of a constant, α α, equals zero:
Varα=σ(α)2=0 Var α α 0
(10)
• Adding a constant, α α, to a random variable does not affect the variance because the mean increases by the same value:
VarX+α=σ(X+α)2=σ(X)2 Var X α X α X
(11)
• Multiplying the random variable by a constant, α α, increases the variance by the square of the constant:
VarαX=σ(αX)2=α2σ(X)2 Var α X α X α 2 X
(12)
• The variance of the sum of two random variables only equals the sum of the variances if the variable are independent.
VarX+Y=σ(X+Y)2=σ(X)2+σ(Y)2 Var X Y X Y X Y
(13)
Otherwise, if the random variable are not independent, then we must also include the covariance of the product of the variables as follows:
VarX+Y=σ(X)2+2CovX,Y+σ(Y)2 Var X Y X 2 Cov X,Y Y
(14)

## Example

Let us now look at how some of the formulas and concepts above apply to a simple example. We will just look at a single, continuous random variable for this example, but the calculations and methods are the same for a random process. For this example, we will consider a random variable having the probability density function described below and shown in the following figure.

fx={110  if  10x200  otherwise   f x 1 10 10 x 20 0
(15)

First, we will use Equation 1 to solve for the mean value.

X-=1020x110d x =110x22| x =1020=110(20050)=15 X x 10 20 x 1 10 x 10 20 1 10 x 2 2 1 10 200 50 15
(16)
Using Equation 7 we can obtain the mean-sqaure value for the above density function.
X2-=1020x2110d x =110x33| x =1020=110(8000310003)=233.33 X 2 x 10 20 x 2 1 10 x 10 20 1 10 x 3 3 1 10 8000 3 1000 3 233.33
(17)
And finally, let us solve for the variance of this function.
σ2=X2-X-2=233.33152=8.33 σ 2 X 2 X 2 233.33 15 2 8.33
(18)

## Content actions

### Give feedback:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks