Here is a method callednbspaccept-reject samplingnbspfor


Here is a method called accept-reject sampling for drawing observa- tions from a distribution.

(a) Suppose that is some probability density function. Let be any other density and suppose that (xMg(x) for all x, where is a known constant. Consider the following algorithm: (step 1): Draw ∼ and ∼ Unif(01); (step 2): If ≤ (X)/(Mg(X)) set X, otherwise go back to step

1. (Keep repeating until you ?nally get an observation.) Show that the distribution of is f.

(b) Let be a standard Normal density and let g(x) = 1/(1 + x2) be the Cauchy density. Apply the method in (a) to draw 1,000 observations from the Normal distribution. Draw a histogram of the sample to verify that the sample appears to be Normal.

Request for Solution File

Ask an Expert for Answer!!
Basic Statistics: Here is a method callednbspaccept-reject samplingnbspfor
Reference No:- TGS01290667

Expected delivery within 24 Hours