Docsity

Probability Theory Project: Distributions, Expected Values, and Distinguishing Sequences -, Study Guides, Projects, Research of Probability and Statistics

Toggle sidebar
bg1
Theory of Probability: The Pro ject
Experimental part
Investigate how the shuffle function works on a digital music player. (All the details are up
to you.)
Theoretical part
Problem 1. Let Vbe a random variable uniformly distributed on the unit sphere. That
is, Vis the random variable taking values on the surface of the unit ball and the probability
that Vtakes the value in a particular region on the surface is proportional to the area of
that region. In the Cartesian coordinates, we have V= (X, Y, Z ), where X, Y, Z are random
variables and X2+Y2+Z2= 1.
(a) Find the distribution of X.
(b) Find the joint distribution of Xand Y.
(c) Use computer to generate a thousand points that are random, independent, and uniform
on the unit sphere, and print the resulting picture.
Problem 2. Let U1, U2, . . . be independent random variables, all having the same distri-
bution F, and let x > 0 be a real number. Define the random variable N(x) as the smallest
value of nsuch that Pn
k=1 Uk> x. Find the expected value of N(x), when the distribution F
is
(1) Uniform on (0, L), L > 0;
(2) Exponential with parameter λ > 0;
(3) Gamma distribution with parameters αand λ;
(4) Beta distribution with parameters p, q;
(5) Normal distribution with mean µand variance σ.
For each distribution, start by getting an approximate graph of the function y=N(x) using
Monte-Carlo simulations. Then see if you can get a closed-form analytic expression for N(x).
Problem 3. Describe a procedure for distinguishing a randomly generated sequence of
zeroes and ones from a cooked-up one.
Problem 4. Here, you can establish the connection between two famous equalities:
1
√2πZ∞
−∞
e−x2/2dx = 1
and π
2=2·2·4·4·6·6· · · 2n·2n· · ·
1·3·3·5·7· · · (2n−1)(2n+ 1) · · ·
;
the second is known as the Wallis formula. If you know one equality, you can easily derive
the other. The key relation is
Z√n
0µ1−
x2
nn
dx =√nZπ/2
0
cos2n+1 t dt.
Your task is to fill in the details.
1

Partial preview of the text

Download Probability Theory Project: Distributions, Expected Values, and Distinguishing Sequences - and more Study Guides, Projects, Research Probability and Statistics in PDF only on Docsity!

Theory of Probability: The Project

Experimental part

Investigate how the shuffle function works on a digital music player. (All the details are up to you.)

Theoretical part

Problem 1. Let V be a random variable uniformly distributed on the unit sphere. That is, V is the random variable taking values on the surface of the unit ball and the probability that V takes the value in a particular region on the surface is proportional to the area of that region. In the Cartesian coordinates, we have V = (X, Y, Z), where X, Y, Z are random variables and X^2 + Y 2 + Z^2 = 1. (a) Find the distribution of X. (b) Find the joint distribution of X and Y. (c) Use computer to generate a thousand points that are random, independent, and uniform on the unit sphere, and print the resulting picture.

Problem 2. Let U 1 , U 2 ,... be independent random variables, all having the same distri- bution F , and let x > 0 be a real number. Define the random variable N (x) as the smallest value of n such that

∑n k=1 Uk^ > x. Find the expected value of^ N^ (x), when the distribution^ F is

(1) Uniform on (0, L), L > 0; (2) Exponential with parameter λ > 0; (3) Gamma distribution with parameters α and λ; (4) Beta distribution with parameters p, q; (5) Normal distribution with mean μ and variance σ. For each distribution, start by getting an approximate graph of the function y = N (x) using Monte-Carlo simulations. Then see if you can get a closed-form analytic expression for N (x).

Problem 3. Describe a procedure for distinguishing a randomly generated sequence of zeroes and ones from a cooked-up one.

Problem 4. Here, you can establish the connection between two famous equalities: 1 √ 2 π

−∞

e−x (^2) / 2 dx = 1

and π 2

2 · 2 · 4 · 4 · 6 · 6 · · · 2 n · 2 n · · · 1 · 3 · 3 · 5 · 7 · · · (2n − 1)(2n + 1) · · ·

the second is known as the Wallis formula. If you know one equality, you can easily derive the other. The key relation is ∫ √n

0

x^2 n

)n dx =

n

∫ (^) π/ 2

0

cos^2 n+1^ t dt.

Your task is to fill in the details.

1