Question: Prob 1. An unnormalized distribution P (x) is given as P() exp-122 23) +2exp(-, -8338, and pr (z) = 0 outside this range. We will

 Prob 1. An unnormalized distribution P" (x) is given as P()

Prob 1. An unnormalized distribution P" (x) is given as P() exp-122 23) +2exp(-, -8338, and pr (z) = 0 outside this range. We will use discretization to generate random samples. (a) Discretize the range into 10 values, generate 50000 samples to estimate Ellog(12X] b) Discretize the range into 100 values, generate 50000 samples to estimate Elog(12 X] (c) Discretize the range into 1000 values, generate 50000 samples to estimate E log(12+X Include your source code and the estimated values in your submision. Prob 1. An unnormalized distribution P" (x) is given as P() exp-122 23) +2exp(-, -8338, and pr (z) = 0 outside this range. We will use discretization to generate random samples. (a) Discretize the range into 10 values, generate 50000 samples to estimate Ellog(12X] b) Discretize the range into 100 values, generate 50000 samples to estimate Elog(12 X] (c) Discretize the range into 1000 values, generate 50000 samples to estimate E log(12+X Include your source code and the estimated values in your submision

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!