Adaptive design theory and implementation using SAS and R. (©2008)