Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

In Example 2c we simulated the absolute value of a unit normal by using the rejection procedure on exponential random variables with rate 1. This raises the question of whether we could obtain a more efficient algorithm by using a different exponential density—that is, we could use the density g(x) = λe−λx. Show that the mean number of iterations needed in the rejection scheme is minimized when λ = 1.

Short Answer

Expert verified

Writef(x)g(x)and findcUsing the differentiation, and prove cis minimal if any only if λ=1which is explained below.

Step by step solution

01

Given Information

We have given the exponential density

g(x)=λe-λx.

02

Simplify

Using the rejection method

f(x)=22πe-x22

and

g(x)=λe-λx

which implies

f(x)g(x)=1λ3πexp-x2-2λx2=1λ2πexp-x2-2λz+λ22+λ22=eλ22λ2πexp-(x-λ)22eλλ222π

So, we can take

c=eλ22λ2π

Now, provingchas minimal value when λ=1.By, differentiation, we have

dcdλ=2πeλ22(λ2-1)λ2

So, we notice that dcdλ=0if and only λ=±1.Hence, we have proved that cis minimal forλ=1, so it takes the minimum time(on average) to obtain the accepting value.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free