Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the definite integral = 0 1 exp [ x cos ( x ) ] d x (a) Construct,implement an independent Monte Carlo sampling plan

image text in transcribed

Consider the definite integral

=01exp[xcos(x)]dx

(a) Construct,implement an independent Monte Carlo sampling plan using the uniform density () on [0, 1] and n = 106 independent samples for estimating . Report n, its standard error, and its relative error.

image text in transcribed
(b) Repeat part (a) using an alternative density function w(-) on [0, 1] that increases compu tational efciency. Keep in mind that variance reduction is likely if wot) > x) where h2(x) = exp[2x cos(:rrx)] is large; so a plot of the latter two functions and your candidate w(-) should help. I suggest that you focus on beta densities wtx) = Mx\"\"'(1 x)'1, x 6 (0,1), NOON!\" where or. 13 :a 0 and the Na) 5 fo 8"!\"\"1 Jr is the gamma function. Since for positive integers a, l"(a) = (a l)!, I suggest focusing on cases where one of the parameters a and is a positive real and the other is equal to 1. In those cases the respective c.d.f. can be inverted easily. Your write-up should include the importance-sampling density and the sampling algorithm from it

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Mathematical Analysis

Authors: Charles C Pugh

2nd Edition

3319177710, 9783319177717

More Books

Students also viewed these Mathematics questions

Question

1. To understand how to set goals in a communication process

Answered: 1 week ago