Question: Using the accept-reject algorithm, generate observations from the binomial distribution as target distribution and the uniform distribution as proposal distribution. Reverse the roles and carry
Using the "accept-reject" algorithm, generate observations from the binomial distribution as target distribution and the uniform distribution as proposal distribution. Reverse the roles and carry out the same simulation and note the differences.
Note-
F(x) = PDF of binomial distribution
g(x)= pdf of uniform distribution.
need to find f(x)/g(x) and then that will be used to find observations.
Above question is complete.
Step by Step Solution
There are 3 Steps involved in it
To solve the problem of generating observations using the acceptreject algorithm well break the problem into two main parts first we generate binomial ... View full answer
Get step-by-step solutions from verified subject matter experts
