title: Trying to set an item aside 70% of the time if 2 conditions are met in a SAS computer adaptive test simulation
body: <p>I am trying to adapt a computer adaptive test simulation to allow items to be set aside if the item difficulty is greater than .5 and the pocket that the item will go into for the time being is not full, but only 70% of the time.  If the item difficulty is less than .5 and the pocket is not full then the item will go into the pocket 50% of the time.  I am programming this in SAS and having a hard time finding how to do this only 70-50% of the time if the conditions are met.  </p>