April 2014 CT6 q8

Discussion in 'CT6' started by Adithyan, Jul 28, 2016.

  1. Adithyan

    Adithyan Very Active Member

    I want to understand why we keep generating values from U(0,1) distribution to obtain values of y until we obtain Y m. We don't use these random numbers anywhere right.
     
  2. Adithyan

    Adithyan Very Active Member

    Can't we simply say repeat the loop m times as the way it is said in (iii) of April2012 q 10
     
  3. John Lee

    John Lee ActEd Tutor Staff Member

    I can't see this in the examiners solutions or the ASET so feeling a bit stupid. But looping is a valid way of generating lots of values in an algorithm.
     

Share This Page