Engineering Analysis/Expectation and Entropy
From Wikibooks, the open-content textbooks collection
Contents |
[edit] Expectation
The expectation operator of a random variable is defined as:
This operator is very useful, and we can use it to derive the moments of the random variable.
[edit] Moments
A moment is a value that contains some information about the random variable. The n-moment of a random variable is defined as:
[edit] Mean
The mean value, or the "average value" of a random variable is defined as the first moment of the random variable:
We will use the greek letter μ to denote the mean of a random variable.
[edit] Central Moments
A central moment is similar to a moment, but it is also dependant on the mean of the random variable:
The first central moment is always zero.
[edit] Variance
The variance of a random variable is defined as the second central moment:
- E[(x − μX)2] = σ2
The square-root of the variance, σ, is known as the standard-deviation of the random variable
[edit] Mean and Variance
the mean and variance of a random variable can be related by:
- σ2 = μ2 + E[x2]
This is an important function, and we will use it later.
[edit] Entropy
the entropy of a random variable X is defined as:
![E[x] = \int_{-\infty}^\infty x f_X(x)dx](http://upload.wikimedia.org/math/e/0/d/e0d385a4944a53ce24f7777d715bd375.png)
![E[x^n] = \int_{-\infty}^\infty x^n f_X(x)dx](http://upload.wikimedia.org/math/c/e/8/ce8121ae3dda645abbc5f298e806be93.png)
![E[x] = \mu_X = \int_{-\infty}^\infty x f_X(x)dx](http://upload.wikimedia.org/math/6/c/1/6c1cdd4901be028376f12b19c462e6ca.png)
![E[(x - \mu_X)^n] = \int_{-\infty}^\infty (x - \mu_X)^n f_X(x)dx](http://upload.wikimedia.org/math/a/7/4/a74c8a53541776a46c814248f67dc204.png)
![H[X]= E \left[ \frac{1}{p(X)} \right]](http://upload.wikimedia.org/math/3/0/3/303d68bee8035afdd65e878ef85f4785.png)