Simulations of clinical trials using certain Bayesian adaptive methods