Consider the problem of generating a random sample Iron, a specified distribution on a single variable. You can assume that a random number generator is available that returns a random number uniformly distributed between 0 and 1.
b. Now suppose we want to generate N samples of X, where N > k. Explain how to do this with an expected runtime per sample that is constant (i.e., independent of k).
c. Now consider a continuous-valued variable with a parameterized distribution (e.g., Gaussian). How can samples be generated from such a distribution?

  • CreatedFebruary 14, 2011
  • Files Included
Post your question