This preview shows page 1. Sign up to view the full content.
Unformatted text preview: CHALLENGE 16.5. In this program, z is a sample from a uniform distribution on [0,1] and y is a sample from the desired distribution. z = rand(1); if (z < .6) then y = 0; else y = 1; end...
View Full Document
This note was uploaded on 01/21/2012 for the course MAP 3302 taught by Professor Dr.robin during the Fall '11 term at University of Florida.
- Fall '11