28.11.2014 Views

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SOLUTIONS MANUAL for Stochastic Modeling: Analysis and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

11<br />

16. Let U be a r<strong>and</strong>om variable having the uni<strong>for</strong>m distribution of [0, 1].<br />

Let V =1− U. Then<br />

Pr{V ≤ a} = Pr{1 − U ≤ a}<br />

= Pr{U ≥ 1 − a} = a, 0 ≤ a ≤ 1.<br />

There<strong>for</strong>e, V <strong>and</strong> U are both uni<strong>for</strong>mly distributed on [0, 1].<br />

There<strong>for</strong>e, Y = − ln(1 − U)/λ = − ln(V )/λ <strong>and</strong> Y = − ln(U)/λ must have the same<br />

distribution.<br />

17. (a) U = F (Y )= a−α<br />

β−α<br />

There<strong>for</strong>e, Y =(β − α)U + α<br />

algorithm uni<strong>for</strong>m<br />

1. U ← r<strong>and</strong>om()<br />

2. Y ← (β − α)U + α<br />

3. return Y<br />

For α =0,β=4<br />

U Y<br />

0.1 0.4<br />

0.5 2.0<br />

0.9 3.6<br />

(b) U = F (Y )=1− e −(Y/β)α<br />

There<strong>for</strong>e,<br />

algorithm Weibull<br />

1. U ← r<strong>and</strong>om()<br />

2. Y ← β(− ln(1 − U)) 1/α<br />

3. return Y<br />

For α =1/2, β=1<br />

U Y<br />

0.1 0.011<br />

0.5 0.480<br />

0.9 5.302<br />

1 − U = e −(Y/β)α<br />

ln(1 − U) = −(Y/β) α<br />

Y = β(− ln(1 − U)) 1/α

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

Saved successfully!

Ooh no, something went wrong!