Code and Results for Chapter 4:
Introduction:
These are results and code for the
problems and examples found in Chapter 4 of this famous book.
Various Figures and Problems:
- prob_4_2.m (random variables via discrete accpetance rejection)
- disc_acc_rej.m (implements discrete acceptance rejection)
- prob_4_3.m (random variables via inverse transformation)
- disc_inv_tranf.m (random variables via discrete inverse transformation)
- prob_4_7.m (run Rubinstein's acceptance rejection method)
- rubinstein_beta.m (Rubinstein's procedure for generating beta random variables)
- prob_4_8.m (acceptance rejection for beta random variables)
- prob_4_9.m (plot a histogram of beta random variables)
John Weatherwax
Last modified: Sun May 15 08:46:34 EDT 2005