
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due date: September 19, 2008 (Friday), before class
Problem 6.3 on page 178, Parts (a) (c) (d). (Note: Part (b) has been assigned as Problem 3 in Homework 1.)
Compare different envelope functions in importance sampling.
(a) Run the importance sampling code in
6_3_1.R
Fill in the rows in table below using the results. Envelope IS Estimate Effective Sample Size Standardized IS Estimate abs(Normal(0,1)) Unif(0,1000) abs(Cauchy(0,1)) (b) Add a column to your table for the estimate given by SIR (resample size of 1000). Also compute the standard Monte Carlo estimate of E(sqrt(x)) with a sample size of 10000. (c) Add columns to your table and fill in the standard errors for: the IS estimate (equation 6.32), the standardized IS estimate (equation 6.34), the standard MC estimate, and the SIR estimate (s.e. taken to be the sample variance of the final SIR sample, divided by 1000). (d) Discuss your findings in a-c.