Docsity

Monte Carlo Methods and Probability Distributions, Assignments of Mathematical Statistics

Toggle sidebar
bg1
STAT/MATH 309 DISCUSSION 11
TA: Jingjiang(Jack) Peng
Office: 1275 MSC, 1300 Universtiy Avenue
Phone: 262-1577
Office Hour: 11:30-1:30 p.m. Tuesday or by appoitment
Websit: www.stat.wisc.edu/∼peng
1 Monte Carlo Approximation
•An unkown quantity can be approximately computed using a Monte Carlo approx-
imation, whereby independent replications of a random experiment are averaged to
estimate the quantity
•Monte Carlo approximations can be used to approximate complicated sums, integrals,
and sampling distributions, all by choosing the random experiment appropriately
2 Normal Distribution Theory
•Suppose Xi∼N(µi, σ2
i) for i= 1,2,...,n and that they are independent random
variables. Let Y= (PiaiXi) + b, then Y∼N((Piaiµi) + b, Pia2
iσ2
i)
•Two linear combinations of the same collection of independent normal random variables
are independent if and only if their covariance equals 0
•The chi-squared distribution with n degree of freedom is the distribution corresponding
to a sum of squares of n i.i.d standard normal random variables. It has mean n. It is
equal to the Gamma(n/2,1/2) distribution
•If X∼N(0,1), Y ∼χ2(n), and let Z=X
√Y/n , then Z∼tn
•If X∼χ2
m, Y ∼χ2
n, X and Y are independent, Let Z=X/m
Y/n , then Z∼Fm,n
3 Simple Random Walk
•A simple random walk is a sequence {Xn}of random variables, with X0= 1 and
P(Xn+1 =Xn+ 1) = p= 1 −P(Xn+1 =Xn−1)
•It follows that P(Xn=a+k) = n
(n+k)/2pn+k
2qn−k
2for k=−n, −n+ 2,...,n, and
E(Xn) = a+n(2p−1)
•if 0 < a < c, then the gambler’s ruin probability of reaching c before 0 is equal to a/c
if p=1/2, otherwise to 1−(q
p)a
1−(q
p)c
1
pf2

Partial preview of the text

Download Monte Carlo Methods and Probability Distributions and more Assignments Mathematical Statistics in PDF only on Docsity!

STAT/MATH 309 DISCUSSION 11

TA: Jingjiang(Jack) Peng Office: 1275 MSC, 1300 Universtiy Avenue E-mail: [email protected] Phone: 262- Office Hour: 11:30-1:30 p.m. Tuesday or by appoitment Websit: www.stat.wisc.edu/∼ peng

1 Monte Carlo Approximation

  • An unkown quantity can be approximately computed using a Monte Carlo approx- imation, whereby independent replications of a random experiment are averaged to estimate the quantity
  • Monte Carlo approximations can be used to approximate complicated sums, integrals, and sampling distributions, all by choosing the random experiment appropriately

2 Normal Distribution Theory

  • Suppose Xi ∼ N(μi, σ^2 i ) for i = 1, 2 ,... , n and that they are independent random variables. Let Y = (

i aiXi) +^ b, then^ Y^ ∼^ N((

i aiμi) +^ b,^

i a

2 i σ 2 i )

  • Two linear combinations of the same collection of independent normal random variables are independent if and only if their covariance equals 0
  • The chi-squared distribution with n degree of freedom is the distribution corresponding to a sum of squares of n i.i.d standard normal random variables. It has mean n. It is equal to the Gamma(n/2,1/2) distribution
  • If X ∼ N(0, 1), Y ∼ χ^2 (n), and let Z = √X Y /n , then Z ∼ tn
  • If X ∼ χ^2 m, Y ∼ χ^2 n, X and Y are independent, Let Z = X/m Y /n , then Z ∼ Fm,n

3 Simple Random Walk

  • A simple random walk is a sequence {Xn} of random variables, with X 0 = 1 and P (Xn+1 = Xn + 1) = p = 1 − P (Xn+1 = Xn − 1)
  • It follows that P (Xn = a + k) =

( (^) n (n+k)/ 2

p

n+k (^2) q n−k (^2) for k = −n, −n + 2,... , n, and E(Xn) = a + n(2p − 1)

  • if 0 < a < c, then the gambler’s ruin probability of reaching c before 0 is equal to a/c if p=1/2, otherwise to

1 −( q p )a 1 −( q p )c

  • The probability P (τ 0 < ∞) that the walk will ever hit 0 is given by

P (τ 0 < ∞) =

1 p ≤ 1 / 2 (q/p)a^ p > 1 / 2

4 Examples

1(4.6.1): Let X 1 ∼ N(3, 22 ), X 2 ∼ N(− 8 , 52 ) be independent. Let U = X 1 − 5 X 2 , V = − 6 X 1 + CX 2 , where C is a constant. (a) What are the distributions of U and V. (b) What value of C makes U and V independent.

2:(4.6.10)): Let X ∼ N(0, 1), and let P (Y = 1) = P (Y = −1) = 1/2, Assume X and Y are independent. Let Z = XY. (a) Prove that Z ∼ N(0, 1) (b) Prove that Cov(X,Z)= (c) Are X and Z are independent?

3:(11.1.7)Suppose you start with $10, and repeartedly bet $2(instead of $1), having prob- ability p of winning each time. Suppose your goal is $100. i.e. you keep on betting until you either lose all your money or reach $ (a) What is the probability that you will reach $100 before losing all your money? (b) Suppose p=0.4, compute the numerical value of (a) (c) Compare the probabilities in part (a) with the corresponding probabilities if you bet just $1 each time (d) Repeat part (b) for the case where you bet $10 each time