Lecture 7 - Basic Sampling#

Objectives#

  • Generate pseudo-random numbers between two integers.

  • Generate uniform random numbers.

  • Generate samples from a Categorical distribution.

  • Generate samples from a continuous random variable with a known cumulative distribution function.