Value of information analysis has been proposed as an alternative to the standard hypothesis testing approach , which is based on type I and type II errors , in determining sample sizes for randomized clinical trials .