chapter 8 probability and random variables

13
Chapter 8 Probability and Random variables 1 Ya Bao F. G. Stremler, Introduction to Communication Systems 3/e

Upload: saeran

Post on 08-Feb-2016

76 views

Category:

Documents


4 download

DESCRIPTION

Chapter 8 Probability and Random variables. F. G. Stremler , Introduction to Communication Systems 3/e. Probability All possible outcomes (A 1 to A N ) are included Joint probability Conditional probability. Bayes ’ theorem - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter 8  Probability and Random variables

Chapter 8 Probability and Random variables

1

Ya Bao

F. G. Stremler, Introduction to Communication Systems 3/e

Page 2: Chapter 8  Probability and Random variables

Ya Bao 2

• Probability • All possible outcomes (A1 to AN) are included

• Joint probability

• Conditional probability

NNAP A

N lim)(

1)(1

N

iiAP

NNABP AB

N lim)(

)()(

/)|(

APABP

NNNN

NNABP

A

AB

A

AB )()(

/)|(

BPABP

NNNN

NNBAP

B

AB

B

AB

)()|()()|()( BPBAPAPABPABP

Page 3: Chapter 8  Probability and Random variables

Ya Bao 3

• Bayes’ theorem

• Random 2/52 playing cards. After looking at the first card, P(2nd is heart)=? if 1st is or isn’t heart

A: a heart on the 1st; B: a heart on the 2nd; C: no heart on the 1st

P(B|A) = 12/51; P(B|C) = 13|51• Probability of two mutually exclusive events

P(A+B)=P(A)+P(B)• If the events are not mutually exclusive

P(A+B)=P(A)+P(B)-P(AB)

)()|()()|(

APBAPBPABP

Page 4: Chapter 8  Probability and Random variables

Ya Bao 4

Random variables• A real valued random variable is a real-value

function defined on the events of the probability system.

• Cumulative distribution function (CDF) of x is

• Properties of F(a)• Nondecreasing, • 0≤F(a)≤1,

)(lim)()(nanaxPaF x

n

1)(0)(

FF

Page 5: Chapter 8  Probability and Random variables

Ya Bao 5

Probability density function (PDF)

xadaadFxf |)()(

Properties of PDF

.0)( xf

1)()(

Fdxxf

aXPdxaf x )(

)()( axPaF

Page 6: Chapter 8  Probability and Random variables

Tutorial Q.2 • Consider the experiment that consists in the rolling of two

honest dice. The random variable X is assigned to the sum of the numbers showing up to the two dice. Determine and plot the cumulative distribution function (CDF) and the probability distribution function (pdf) of X.

Ya Bao 6

Page 7: Chapter 8  Probability and Random variables

Ya Bao 7

Page 8: Chapter 8  Probability and Random variables

Ya Bao 8

Discrete and continuous distributions• Discrete: random variable has M discrete values

CDF or F(a) was discontinuous as a increase.Digital communicationsPDF

CDF

events discretely ofnumber theisM

)()()(1

M

iii xxxPxf

MLax

xPaF

L

L

ii

, that suchinteger largest theis L

)()(1

Page 9: Chapter 8  Probability and Random variables

Ya Bao 9

• Continuous distributions: if a random variable is allowed to take on any value in some interval.

CDF and PDF would be continuous functions.

Analogue communications, noise.• Expected value of a discretely distributed random

variable

)()()]([1

i

M

ii xPxhxhy

Normalized average power

P = i

yi2 p(yi)

Page 10: Chapter 8  Probability and Random variables

exampleA discrete random signal, y(t), can take one of the

four predefined voltage levels, y1 = 0.5 V, y2 = 0.4 V, y3 = 0.2 V, and y4 = 0.1 V. Assume that these levels occur with probabilities, p(y1) = 0.2, p(y2) = 0.3, p(y3) = 0.1, and p(y4) = 0.4.

Calculate the average power delivered by y(t) into a 100Ω resistive load.

Ya Bao 10

The normalized average power, P, is given by:

P = i

yi2 p(yi)

i.e. (0.5)2 0.2 + (0.4)2 0.3 + (0.2)2 0.1 + (0.1)2 0.4 = 0.106/100 W = 1.06 mW

Page 11: Chapter 8  Probability and Random variables

Ya Bao 11

Important distributions• Binomial : discrete

• Poisson: discrete

Page 12: Chapter 8  Probability and Random variables

• Uniform: continuous, a random variable that is equally likely to take on any value within a given range.

• Gaussian (normal): continuous• Normalised Gaussian pdf having zero mean and

unit variance

• Sinusoidal: continuous

Ya Bao 12

2/2

21)( xexp

Page 13: Chapter 8  Probability and Random variables

13