Statistical inference of adaptive randomized clinical trials for personalized medicine