Docsity

Computer Assignment for Math 5040 - Fall 2002, Assignments of Mathematics

Toggle sidebar
bg1
Computer Assignment 1
Math 5040 โ€“ Fall 2002
Due: Wednesday Sept. 4
The goal of this assignment is to familiarize yourself with using a computer for simu-
lating random variables.
1. Simulate 100 exponential random variables, using the inverse distribution function
method. What proportion are below 1? What proportion are above 2? Calculate
(exactly) the probability that an exponential random variable is less than 1. Also
calculate the probability that it is greater than 2.
2. Simulate 100 standard normal random variables, using the rejection method. What
proportion are between โˆ’1 and 1?
1

Partial preview of the text

Download Computer Assignment for Math 5040 - Fall 2002 and more Assignments Mathematics in PDF only on Docsity!

Computer Assignment 1

Math 5040 โ€“ Fall 2002 Due: Wednesday Sept. 4

The goal of this assignment is to familiarize yourself with using a computer for simu- lating random variables.

  1. Simulate 100 exponential random variables, using the inverse distribution function method. What proportion are below 1? What proportion are above 2? Calculate (exactly) the probability that an exponential random variable is less than 1. Also calculate the probability that it is greater than 2.
  2. Simulate 100 standard normal random variables, using the rejection method. What proportion are between โˆ’1 and 1?