Top Banner
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section 5.1
11

Lectures prepared by: Elchanan Mossel Yelena Shvets

Jan 26, 2016

Download

Documents

Wei

Lectures prepared by: Elchanan Mossel Yelena Shvets. B. D. B. P((X,Y) 2 B) =. D. Uniform distribution in an area. Y. Sample space is D. Outcomes are points in D with random coordinates (X,Y). ). X. Area(. A. Area(. ). Probability of each subset is equal to its relative area. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lectures prepared by: Elchanan Mossel Yelena Shvets

Lectures prepared by:Elchanan MosselYelena Shvets

Introduction to probability

Stat 134 FAll 2005

Berkeley

Follows Jim Pitman’s book:

ProbabilitySection 5.1

Page 2: Lectures prepared by: Elchanan Mossel Yelena Shvets

Uniform distribution in an area

A

B

D

P((X,Y) 2 B) =

•Sample space is D.

•Outcomes are points in D with random coordinates (X,Y).

•Probability of each subset is equal to its relative area.

DB

Y

X Area( )

Area( )

Page 3: Lectures prepared by: Elchanan Mossel Yelena Shvets

Joint DistributionsSuppose that X»Unif(0,a), Y»Unif(0,b) and X and Y are independent.

Claim: Then the random pair (X,Y) is uniformly distributed in the rectangle ([0,a]£ [0,b]).

Proof: P((X,Y)2A£B)) = P(X2A & Y2B)

= P(X2A) P(Y2B) (by ind.) =length(A)/a £

length(B)/b = area(A£B)/(ab).) P((X,Y) 2 C) = Area(C)/ab for finite union of rectangles.) P((X,Y) 2 C) = Area(C)/ab for all C.

(X2A,Y2B)(Y2B)

(X2A)

b

a00

Page 4: Lectures prepared by: Elchanan Mossel Yelena Shvets

Joint DistributionsClaim: Conversely if (X,Y)»Unif ([0,a]£ [0,b]) then X and Y are independent.

Proof: P(X2A & Y2B) = P((X,Y)2A£B)) = area(A£B)/(ab) = length(A)/a £ length(B)/b = P(X2A) P(Y2B)

(X2A,Y2B)(Y2B)

(X2A)

Question: If you know X=x, what can you say about the distribution of

Y? X+Y? X-Y? X*Y?

Question: Is the rectangle the only shape for which X & Y are independent?

Page 5: Lectures prepared by: Elchanan Mossel Yelena Shvets

Joint DistributionsExample: (X,Y) » Unif([-3,3]£ [-3,3])Find P(4X2+ 9Y2· 36 & 40X2+ 90Y2 ¸ 36).

Area(A+B)= *3*2 = 6

Area(B) = 0.6

Area(A)= 5.4 .

P(A) = 5.4 / 36

3

3

A

B

2

Page 6: Lectures prepared by: Elchanan Mossel Yelena Shvets

Rendezvous at a Coffee Shop

Question: A boy and a girl frequent the same coffee shop. Each arrives at a random time between 5 and 6 pm, independently of the other, and stays for 10 minutes. What’s the chance that they would meet?

Solution: Let X = her arrival time Y = his arrival time. Then (X,Y)»Unif([0,1]£ [0,1]). They meet if |X-Y| · 1/6.P[|X-Y| · 1/6] = 1 –(5/6)2

1

10

0

|X-Y| · 1/6

A

Page 7: Lectures prepared by: Elchanan Mossel Yelena Shvets

Uniform Distribution over Volume

Claim: If U1, U2,…,Un are independent variables such that Ui»Unif(0,1), then (U1, U2,…,Un) » Unif([0,1]£ [0,1] £ … £ [0,1] ).

Example:A random point in a unit cube [0,1]£ [0,1] £ [0,1] is obtained by three calls to a pseudo random number generator (Rnd1, Rnd2, Rnd3).

Question: What is the chance that the point is inside a sphere of radius 1/3 centered at (½,½,½)?

1

10

0

1

Solution: The chance is equal to the volume of the ball:

4/3 (1/3)3 =4/81.

Page 8: Lectures prepared by: Elchanan Mossel Yelena Shvets

Multi-dimensional integration

Exercises:

Page 9: Lectures prepared by: Elchanan Mossel Yelena Shvets

Multi-dimensional integration

Exercises:

Page 10: Lectures prepared by: Elchanan Mossel Yelena Shvets

Multi-dimensional integration

Exercises:

Page 11: Lectures prepared by: Elchanan Mossel Yelena Shvets

Multi-dimensional integration

Exercises: