Rejection Sampling, Monte Carlo, Sampling Methods, Probability Distributions, Statistics.
original form: Source: Author It is important to note that when the sample is rejected we discard it and repeat the process i.e. get another sample from the proposal function get a random number (u) between 0 & Cg(x) from a uniform distribution function check if u ≤ f(x); if true accept it else