
#2




It's actually an (a,b,0) multi decrements simulation. Since this is based off a poisson, the appropriate lambda is just lambda=5. then just plug this into s=ln(1u)/lambda where u is the uniform random number. The formula is on the first part of the ADAPT formula sheet if you have that
__________________
CAS Exams: VEE: OC: 
Thread Tools  
Display Modes  

