6. Generate a random variable X from the semicircular density 2 f(x) = πR2 √R²x², -R < x < R. Take the proposal distribution to be uniform over [-R, R], that is, take g(x) = 1/(2R) with -RxR and choose C as small as possible such that Cg(x) > f(x).

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter10: Sequences, Series, And Probability
Section10.8: Probability
Problem 20E
icon
Related questions
Question

(a) Show that C = 4/π.
(b) Construct the Neumann method, find the expected number of trials (per one acceptance), and find the computational cost (efficiency).

6. Generate a random variable X from the semicircular density
2
f(x) =
=
-
R² – x², -R< x < R.
πR²
Take the proposal distribution to be uniform over [-R, R], that is, take g(x)
-R< x < R and choose C as small as possible such that Cg(x) > f(x).
=
1/(2R) with
Transcribed Image Text:6. Generate a random variable X from the semicircular density 2 f(x) = = - R² – x², -R< x < R. πR² Take the proposal distribution to be uniform over [-R, R], that is, take g(x) -R< x < R and choose C as small as possible such that Cg(x) > f(x). = 1/(2R) with
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 19 images

Blurred answer
Similar questions
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,