01.04.2015 Views

Sequence Comparison.pdf

Sequence Comparison.pdf

Sequence Comparison.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

184 B Elementary Probability Theory<br />

Table B.1 Means and variances of major probability distributions.<br />

Distribution Parameters Mean Variance<br />

Bernoulli p p p(1 − p)<br />

Binomial p,n np np(1 − p)<br />

Geometric p p/1 − p p/(1 − p) 2<br />

Poisson λ λ λ<br />

Uniform [a,b] (a + b)/2 (b − a) 2 /12<br />

Exponential λ 1/λ 1/λ 2<br />

Normal µ, σ 2 µ σ 2<br />

µ X = dG(t)<br />

dt<br />

∣<br />

∣<br />

t=1<br />

(B.23)<br />

If X is a discrete random variable with range I and g is a function on I, then g(X)<br />

is also a discrete random variable. The expected value of g(X) is written E(g(X))<br />

and defined as<br />

E(g(X)) = ∑ g(x)Pr[X = x].<br />

x∈I<br />

(B.24)<br />

Similarly, for a continuous random variable Y having density function f Y , its<br />

mean is defined as<br />

∫ ∞<br />

µ Y = yf Y (y)d(y).<br />

(B.25)<br />

−∞<br />

If g is a function, the expected value of g(Y ) is defined as<br />

∫ ∞<br />

E(g(Y )) = g(y) f Y (y)d(y).<br />

−∞<br />

(B.26)<br />

The means of random variables with a distribution described in Sections B.3 and<br />

B.4 are listed in Table B.1.<br />

Let X 1 ,X 2 ,...,X n be random variables having the same range I. Then, for any<br />

constants a 1 ,a 2 ,...,a n ,<br />

E(<br />

n<br />

∑<br />

i=1<br />

a i X i )=<br />

n<br />

∑<br />

i=1<br />

a i E(X i ).<br />

(B.27)<br />

This is called the linearity property of the mean.<br />

For any positive integer, E(X m ) is called the rth moment of a random variable X<br />

provided that the sum exists.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!