
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Fall 2008 Severance
Due 24 October
This assignment is to implement and study several of the algorithms for generating random variates discussed in lecture.
Uniform (formula)
Gaussian (formula)
Exponential (inverse)
Beta (rejection)
Erlang (convolution)
Note that the parameters defining each distribution are dynamic.
a. Create suitable frequency distribution tables and their corresponding histograms of the empirical probability density functions. Note the example given in lecture!
b. Include the theoretical density functions on each graph so as to “eye-ball” a suitable correlation between theory and practice.
c. Calculate the -value for each distribution; conclude whether or not there is a sufficiently close fit.
Note that a positive answer to part (2c) isn’t necessarily a good thing. A proper “study” should show where and under what conditions things do not work too!